sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Ruby to connect lines and make face?

    Scheduled Pinned Locked Moved Developers' Forum
    4 Posts 3 Posters 3.2k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • brodieB Offline
      brodie
      last edited by

      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

      steelblue http://www.steelbluellc.com

      1 Reply Last reply Reply Quote 0
      • brodieB Offline
        brodie
        last edited by

        PERFECT!

        thanks a ton πŸ˜„

        -Brodie

        steelblue http://www.steelbluellc.com

        1 Reply Last reply Reply Quote 0
        • Chris FullmerC Offline
          Chris Fullmer
          last edited by

          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/CloseOpens

          Then 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 πŸ˜„

          Lately you've been tan, suspicious for the winter.
          All my Plugins I've written

          1 Reply Last reply Reply Quote 0
          • L Offline
            learntotango
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement