[REQ] wire lines to tubes
-
Hi guys,
would be possible to do in ruby script, something to generate from a wire mesh... like single lines, a tube mesh? or even square extrude elements... (maybe options to choose from)
I know there's something like it in the 3DS...
Any volunteer?
Thanks in advance!


-
I've uploaded two images to ilustrate the issue!
Thanks!
-
You could try using the technique described in the attached tutorial, ive found it to work quite well for things like that.
-
Thanks for your reply remus.
I think it is a little bit more complex as in this case the mesh is not in a single plane, it's a curve canopy and my experiences with FFD never came up with a good precision in the end...
-
Hi,
Maybe you could use line2cyl.rb ?
Selectionable tube diameter and tube precision, but no intersections between cylinders
Here roughly applied on a basic terrain mesh.

-
Didier,
Would it be a difficult thing to modify this script so that it will paint the cylinders to a color, namely black. I use this script quite a bit as a means to show lines to a render engine. I usually convert sketchup lines to 1/8" cylinders (usually for brick borders around curves or anywhere I want to stylize the final output) and I usually have to go back and paint each cylinder black. This can become a chore with a few hundred separated lines (cylinders) that are 1/8" thick. Something along these lines would be good as a "render line" ruby (if cylinders didn't create so many extra polygons!
-
I use 'pipe along path' which gives you an option to set the number of segments for your cylinders. I often use just 4 or 5 if they are for something which isn't close to the camera.
-
Hi all,
Here is an update of line2cyl.rb:
http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=12354
Selectable material, grouping, follow-me when possible, and some other enhancements.
Regards,
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginAdvertisement