sketchucation logo sketchucation
    • Login
    ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

    [Plugin Request] - Simplfy & Weld All

    Scheduled Pinned Locked Moved Plugins
    11 Posts 4 Posters 947 Views
    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.
    • H Offline
      haynesc
      last edited by

      Hi all ...

      could somebody write a script that would weld all connected contours lines in the model at once ...

      also would i be possible to incorporate a simplify feature with it aswell?

      thanks
      chris

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

        Somewhere out there on the forums I wrote some code [I think for EarthMover?] that selects lines 'by same Z'.
        By using that you could quickly select the contour lines and the Weld them ?

        TIG

        1 Reply Last reply Reply Quote 0
        • H Offline
          haynesc
          last edited by

          tig ...

          thats not what im proposing / requesting ...

          my workflow to drape a terrain from 3d cad ...

          import cad data, purge layers, triple click first contour and weld ... repeat upteen times for each contour so they are all welded ... run simplify contours on the new welded 'curves' ...

          Run From Contours in Sandbox ... wait and pray ...

          i would like a script that would be able to weld all the contours simultaneously .. rather than what i have to do atm which is to weld each contour based on z value separately which takes a long time to do ...

          is this possible?

          chris

          1 Reply Last reply Reply Quote 0
          • A Offline
            autarchos
            last edited by

            i use that same workflow, and it's frustrating and time consuming, i agree. if there is a way to combine weld and thomthom's 'simplify curve' function from his 'edge tools' script that would be awesome.

            my only worry is that it would overload SU most times. I have enough trouble making terrain 'from contours' - it will often take hours if it works at all. similarly, welding a long contour line has caused SU to crash on me - i can't imagine what welding 100s of contour lines would do. i do work on an urban/neighborhood scale though, so perhaps on a site-scale things would be less troublesome.

            1 Reply Last reply Reply Quote 0
            • thomthomT Offline
              thomthom
              last edited by

              @haynesc said:

              Hi all ...

              could somebody write a script that would weld all connected contours lines in the model at once ...

              also would i be possible to incorporate a simplify feature with it aswell?

              thanks
              chris

              Sounds like what Simplify Curves does in my Edge Tools plugin: http://forums.sketchucation.com/viewtopic.php?f=323&t=24593

              Thomas Thomassen — SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

              1 Reply Last reply Reply Quote 0
              • thomthomT Offline
                thomthom
                last edited by

                @autarchos said:

                i use that same workflow, and it's frustrating and time consuming, i agree. if there is a way to combine weld and thomthom's 'simplify curve' function from his 'edge tools' script that would be awesome.

                Simplify Curves should weld the resulting simplified curves... Do you experience otherwise?

                Thomas Thomassen — SketchUp Monkey & Coding addict
                List of my plugins and link to the CookieWare fund

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

                  If you have a 3D surface then simply use my MakeContours Tool to add contours in a separate group that slice through the 3D surface as desired...
                  I'm not clear how you intend using this or why you want to weld lines you've already used to make a surface ??

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • thomthomT Offline
                    thomthom
                    last edited by

                    I believe he's referring to contour lines which is not yet used to create terrain data, and that he'd like to weld the available connected sets and simplify them.

                    Thomas Thomassen — SketchUp Monkey & Coding addict
                    List of my plugins and link to the CookieWare fund

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      autarchos
                      last edited by

                      embarrassingly, i haven't used simplify curves yet, i just knew it existed... but if it welds & simplifies curves, then it's a real work of genius! if it works with all contours at once, then it appears haynesc's problem is solved.

                      1 Reply Last reply Reply Quote 0
                      • thomthomT Offline
                        thomthom
                        last edited by

                        I wrote it to deal with imported CAD data for site surveys where the contours where all to detailed and caused too dense terrain mesh.

                        It takes all the connected sets of edges it can find in the selection and run a simply algorithm on them before welding the resulting curve.

                        Note, if a series of edges branches out or connects to faces it won't be treated.

                        Thomas Thomassen — SketchUp Monkey & Coding addict
                        List of my plugins and link to the CookieWare fund

                        1 Reply Last reply Reply Quote 0
                        • H Offline
                          haynesc
                          last edited by

                          I shall check this out tomorrow and report back, thanks and I too work in larger scale design work ... masterplanning

                          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