sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Close Gaps Script

    Scheduled Pinned Locked Moved Plugins
    8 Posts 8 Posters 2.2k Views 8 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.
    • A Offline
      andyviv
      last edited by

      Hi Everyone

      Does anyone know if there is a ruby script available that joins two end points that are not touching to create a face?

      Basically I have a large plan with hundreds of roads on it, however all along the roads there are gaps in the lines which need joining. This will be a very long task to do by hand so I wondered if there was a script that joins lines together? Not sure if I've explained myself very well there!

      Any help would be really appreciated.

      Cheers

      Andy

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        Search Smustard.com for 'close': which returns 2 scripts that will help, priced reasonably at $20 each...
        Also search 'faces' >> 'MakeFaces' - this one is free but needs the gaps 'healing' first...

        TIG

        1 Reply Last reply Reply Quote 0
        • pilouP Offline
          pilou
          last edited by

          If you have just one segment missing there is Weld plug who close the gap
          but as you must answer at the question do you want "close the curve" and "do you want make a surface" that is not so speedy 😄

          Frenchy Pilou
          Is beautiful that please without concept!
          My Little site :)

          1 Reply Last reply Reply Quote 0
          • C Offline
            CodyV1
            last edited by

            I typicaly weld the segments and then use skin to close it, then soften/ smooth the result. All those plugins are found on the visable on the plugins thread.

            Be There

            http://www.facebook.com/#!/profile.php?id=100000814922209

            1 Reply Last reply Reply Quote 0
            • M Offline
              mac1
              last edited by

              There is also a repair_broken_lines rb but have not used but, maybe a candidate for you. Sorry don't have the url

              1 Reply Last reply Reply Quote 0
              • Didier BurD Offline
                Didier Bur
                last edited by

                URL here: http://rhin.crai.archi.fr/RubyLibraryDepot/plugin_details.php?id=334

                DB

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

                  It takes time to write a scipt like this and there is not much incentive to re-write it since it already exists.

                  I prefer to use label stray lines plugin from smustard. It puts a text label on every line end that does not meet up with another line (therefore it is a broekn line). Then I go through and manually connect them all. Its much more time intensive, but it is a free alternative. And I like having control of how the line ends get connected.

                  Chris

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

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    Regular Polygon
                    last edited by

                    I don't think that repair_broken_lines.rb will close gaps. It looks like it just replaces collinear connected edges with a single edge.

                    Sounds like an interesting problem. I'm surprised that there isn't a free script to solve it.

                    My SketchUp Plugins

                    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