Ruby to connect lines and make face?
-
I'm sure there's a ruby that does this but I'm not sure which one it is.
I'm importing an AutoCad drawing so I've got a bunch of lines but no faces. I'm looking for something that would essentially take all of those connected lines and make faces from them.
Thanks,
-Brodie
-
PERFECT!
thanks a ton
-Brodie
-
Autocad imports can be more difficult than that though. A great script also on Smustard is intersect overlaps. Because you'll find that most cad lines overlap. they don't actually intersect the lines they hit. Normally that is not too helpful in SU. Todd also made close opens which closes all lines that nearly connect but do not. This is a huge problem in autocad imports due to the way SU imports autocad curves as segmented lines. Also important is extend close lines. and delete short lines. and stray lines. All of these are incredibly useful rubies for importing autocad, as they each deal with separate issues of what often happens on autcad imports.
So look at this link:
http://www.smustard.com/script/CloseOpensThen scroll down and towards the bottom it lists links to all the scripts that are part of the Autocad import series. Good luck,
Chris
EIT: I thought I should add that I don't necessarily use all these scripts. I personally use the free version of stray lines and I use a script similar to intersect overlaps that runs in autocad. And then I do a TON of hand work to find all lines that aren't closed correctly. I probably should just get some of Todd's scripts
-
Using the "K" button will help you view hidden lines quickly. This can help GREATLY with connecting faces. Also it helps you snap components that get confused with the zoom.
Advertisement