[Plugin] Lines to tubes

[Plugin] Lines to tubes

Postby Didier Bur » Sun Aug 31, 2008 10:17 pm

Hi all,
Here is an update of my former script "line2cyl.rb".
Intended to create renderable wire frame models.
Some bug fixes and enhancements:
- Make group of all tubes or not,
- Each tube is a group or not,
- Paint tubes with a material,
- Quick doc included.

Have fun,

09.12.08: french version available

Please get the latest version from the PluginStore

Download

26
Last edited by Didier Bur on Fri Sep 12, 2008 8:42 pm, edited 1 time in total.
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur 
 

Re: [Plugin] Lines to tubes

Postby pilou » Sun Aug 31, 2008 10:25 pm

A new "hit" for sure 8-)
PS In french "Hit" = tube :mrgreen:
0
Last edited by pilou on Sun Aug 31, 2008 11:39 pm, edited 1 time in total.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Lines to tubes

Postby johnsenior1973 » Sun Aug 31, 2008 10:28 pm

Thanks a lot for this great new plugin.

One thing though, the PDF says that the tool can be selected in the Tools menu. That wasn't the case for me. It was in the Plugins menu.

EDIT: I was wrong. I was using the Lines2Cylinders ruby from the Plugins. I cannot find the Line2Tube ruby at all.
0

johnsenior1973 
 

Re: [Plugin] Lines to tubes

Postby solo » Sun Aug 31, 2008 10:53 pm

Thanks mate, works great.

0
www.solos-art.com

I'm a social vegan, I avoid meet.
User avatar
solo 
Global Moderator
 

Re: [Plugin] Lines to tubes

Postby pilou » Mon Sep 01, 2008 12:10 am

I cannot find the Line2Tube ruby at all.

Menu Tool/ Convert arcs, circles, curves, lines to cylinders ;)
dome.jpg
1
Last edited by pilou on Mon Sep 01, 2008 12:19 am, edited 1 time in total.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Lines to tubes

Postby utiler » Mon Sep 01, 2008 12:18 am

thank didier, just what i need this week.....!!!!
0
purpose/expression/purpose/....
User avatar
utiler 
Top SketchUcator
 

Re: [Plugin] Lines to tubes

Postby johnsenior1973 » Mon Sep 01, 2008 12:51 am

Pilou wrote:
I cannot find the Line2Tube ruby at all.

Menu Tool/ Convert arcs, circles, curves, lines to cylinders
0

johnsenior1973 
 

Re: [Plugin] Lines to tubes

Postby pilou » Mon Sep 01, 2008 1:11 am

I don't know what I can say more :roll:
Maybe for any reason the plug is not installed in the good place?
what_can_isay.jpg
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Lines to tubes

Postby boofredlay » Mon Sep 01, 2008 2:16 am

Didier, I am getting the same result as johnsenior1973.
I have placed the ruby in the Plugins folder but does not show up in the Tools menu.


Lines2_2.jpg

Lines2_1.jpg
0
User avatar
boofredlay 
Global Moderator
 

Re: [Plugin] Lines to tubes

Postby CameronVan » Mon Sep 01, 2008 2:20 am

It is not showing up for me either.
0

CameronVan 
 

Re: [Plugin] Lines to tubes

Postby utiler » Mon Sep 01, 2008 2:40 am

look under plugins..... [to the left of HELP!!!!] :roflmao: :roflmao: :roflmao:

sorry, had a little moment there...
0
purpose/expression/purpose/....
User avatar
utiler 
Top SketchUcator
 

Re: [Plugin] Lines to tubes

Postby boofredlay » Mon Sep 01, 2008 2:51 am

Is that where it shows up for you because it is not there for me?

Lines2_3.jpg

Furthermore the pdf file Didier attached said it would be located under Tools, not Plugins.


Edit:
Here is part of the pdf just in case you did not read it.
Lines2_4.jpg

And yes... I restarted SU.
0
User avatar
boofredlay 
Global Moderator
 

Re: [Plugin] Lines to tubes

Postby utiler » Mon Sep 01, 2008 5:04 am

You'r right Boo, Tools is where it is.....


now have a little moment at my expense!!!
0
purpose/expression/purpose/....
User avatar
utiler 
Top SketchUcator
 

Re: [Plugin] Lines to tubes

Postby Chris Fullmer » Mon Sep 01, 2008 5:59 am

It was listed just fine for me on Vista 64bit in the tools menu. Great plugin!

Here's a helix, triple helix, double helix, something that isn't a helix, but sort of close, then another 10x helix or something. I'm sure most of those names are wrong, so just look at the picture :)

Chris
3
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Lines to tubes

Postby pilou » Mon Sep 01, 2008 8:12 am

for the problems, maybe you must disable the old "line2cyl.rb"? ;)
maybe...
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Lines to tubes

Postby gaucho » Mon Sep 01, 2008 9:16 am

Thanks didier!
It works great!

I've already used... :)

One single possible request... would be possible to modify so we could extrude along square shapes as well?
So in Solo's image above for example, i could quickly build beans, columns.. etc etc.. all square?

Thanks again!

PS: i've just donwloaded your all in one file... i'm feeling it'll take me ages to check them all...
0
"eat well, stay fit, die anyway..."

gaucho 
 

Re: [Plugin] Lines to tubes

Postby sepo » Mon Sep 01, 2008 12:07 pm

for the problems, maybe you must disable the old "line2cyl.rb"?
maybe...


for me it works with old tool....

Thanks Didier for a very usefull plugin... I was wondering if there is way to clean up intersection...
0

sepo 
 

Re: [Plugin] Lines to tubes

Postby urgen » Mon Sep 01, 2008 12:17 pm

...thanks,Didier!...I expected it for a long time! ;) :D
0
--pupil forever...------
User avatar
urgen 
 

Re: [Plugin] Lines to tubes

Postby rv1974 » Mon Sep 01, 2008 12:30 pm

Very nice Didier, thanks
Additionally may be you could:
1/ add a rotation parameter (when precision is 4 one would get square section (rotation 45))
2/now I weld lines to get continuous result. Any chance to get it automatically?
3/conjunctions?
0

rv1974 
 

Re: [Plugin] Lines to tubes

Postby urgen » Mon Sep 01, 2008 1:32 pm

Pilou wrote:for the problems, maybe you must disable the old "line2cyl.rb"? ;)
maybe...

...yes! "line2cyl.rb" should be deleted :D
...Didier, please restore this function in "projection_extension.rb" ;)
0
--pupil forever...------
User avatar
urgen 
 

Re: [Plugin] Lines to tubes

Postby johnsenior1973 » Mon Sep 01, 2008 2:04 pm

Deleting the lines2cyl ruby did sort out the problem.
0

johnsenior1973 
 

Re: [Plugin] Lines to tubes

Postby Didier Bur » Mon Sep 01, 2008 4:54 pm

Hi all,
Sorry for the inconvenience of the "not showing plugin" problem. My fault. You must delete old "line2cyl.rb" of your plugins folder OR I must correct the name of the plugin in the code (I forgot to change it). If line2cyl is loaded first, SU doesn't create another menu item in the tools menu for the new version.

would be possible to modify so we could extrude along square shapes as well?

Use a precision of 4 and you'll get square section prisms.(RTFM)
please restore this function in "projection_extension.rb

Does this make sense ? This function has nothing to do with projection IMHO...
I was wondering if there is way to clean up intersection...

The script can't do it (I mean, quite difficult to code). A workaround is to draw as much curves as you can, and select "Yes" in the "follow-me on curves" option. But it cannot clean intersections on T or Y or X branching edges.
Maybe next version will do it ?
1
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur 
 

Re: [Plugin] Lines to tubes

Postby Frederik » Mon Sep 01, 2008 7:53 pm

THANKS A LOT, Didier..!!
0
Cheers
Kim Frederik
User avatar
Frederik 
Thea Render Support
Thea Render Support
 

Re: [Plugin] Lines to tubes

Postby dylan » Mon Sep 01, 2008 8:14 pm

Thanks Didier.

Could this be adapted to use a semi-circle with thickness? I am thinking of use for ridge tiles on a roof.
0

dylan 
 

Re: [Plugin] Lines to tubes

Postby urgen » Mon Sep 01, 2008 10:24 pm

Dylan wrote:Could this be adapted to use a semi-circle with thickness? I am thinking of use for ridge tiles on a roof.

...HA!...good idea,Dylan! ;) :D
0
--pupil forever...------
User avatar
urgen 
 

Re: [Plugin] Lines to tubes

Postby ely862me » Tue Sep 02, 2008 12:45 am

:thumb: :ecstatic:
Another piece of....what????...let*s say Pandora*s box!!
This will help me to make tubular chassis instead of what i was making before.
;)
Thank you Mr. Didier!!

Elisei
0
Elisei (sketchupper)
____________________________________________________________
Before no life was done on Earth it was THE LIFE ITSELF...GOD
Come and See EliseiDesign
User avatar
ely862me 
Top SketchUcator
 

Re: [Plugin] Lines to tubes

Postby utiler » Tue Sep 02, 2008 2:05 am

sepo wrote:
for the problems, maybe you must disable the old "line2cyl.rb"?
maybe...


for me it works with old tool....

Thanks Didier for a very usefull plugin... I was wondering if there is way to clean up intersection...


Ditto Sepo, I found the same thing...
0
purpose/expression/purpose/....
User avatar
utiler 
Top SketchUcator
 

Re: [Plugin] Lines to tubes

Postby 2myChaGrin » Tue Sep 02, 2008 2:22 am

Thanks so much Didier! You just made my life so much easier!
0

2myChaGrin 
 

Re: [Plugin] Lines to tubes

Postby boofredlay » Tue Sep 02, 2008 2:42 pm

Pilou wrote:for the problems, maybe you must disable the old "line2cyl.rb"? ;)
maybe...

I did not have a chance to look at this until now on my work machine. I had line2cyl.rb here as well. I installed Lines to tubes and got the same results... not showing up. So I then tried as you suggested Pilou, deleting line2cyl.rb and now it is showing up.
Thanks. :thumb:
0
User avatar
boofredlay 
Global Moderator
 

Re: [Plugin] Lines to tubes

Postby Marian » Tue Sep 02, 2008 4:49 pm

i think there should also be an option to make not round tubes but square hexagonal triangular ones.
2
User avatar
Marian 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

cron

Who is online

Users browsing this forum: layercero and 18 guests

Visit our sponsors: