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

    Convert dashed lines to regular lines

    Scheduled Pinned Locked Moved Developers' Forum
    12 Posts 3 Posters 1.4k 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.
    • T Offline
      todd burch
      last edited by

      Kenny, you can SHOW HIDDEN GEOMETRY, select the whole fence line and UNHIDE the hidden portions. Then, you can use repair_broken_lines.rb to join it all back together.

      Todd

      1 Reply Last reply Reply Quote 0
      • K Offline
        Kenny
        last edited by

        Thanks for the ideas but I've tried both scripts and neither works. Attached is an extract of the dashed line I'm talking about.

        Kenny


        dashed line example.skp

        http://www.townscapesolutions.co.uk/

        1 Reply Last reply Reply Quote 0
        • T Offline
          todd burch
          last edited by

          Oh, it's a dashed line not made by the DashedLines script. In that case, running CloseOpens is what you want. You'll get one extraneous line at the end, but otherwise, you'll be good to go.

          Todd


          dashed%20line%20example.skp

          1 Reply Last reply Reply Quote 0
          • K Offline
            Kenny
            last edited by

            Thanks for the reply Todd. I don't know what I'm doing wrong but when I run CloseOpens only one or two lines join, the majority refuse to join together. I've tried it with and without the option of saving. I also have 'progress bar' installed and it doesn't show either.

            Kenny

            http://www.townscapesolutions.co.uk/

            1 Reply Last reply Reply Quote 0
            • T Offline
              todd burch
              last edited by

              I suspect your dashed line is part of a larger model. In that case, are you only selecting those lines which make up the dashed lines or are you running it against your whole model? Can you send me the model?

              1 Reply Last reply Reply Quote 0
              • K Offline
                Kenny
                last edited by

                Todd, Yes it is part of a larger model but I'm not sure what difference that would make. I've tried running the script on all the dashed lines in the whole model but still no success.

                I've attached the model here. One file is my working model, the other is the original survey. You'll see the original survey has the dashed line as a block. Before importing it into my working file I saved it as a 2D DWG to ensure it was flattened. I also deleted the small lines running at right angles between the dashes.

                Thanks

                Kenny


                Dashed line models.zip

                http://www.townscapesolutions.co.uk/

                1 Reply Last reply Reply Quote 0
                • T Offline
                  todd burch
                  last edited by

                  Seems to work perfect for me. Can you do a short "tutorial", showing (with still captures and naratives) the steps you are taking?

                  Todd

                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    Kenny
                    last edited by

                    Thanks for your patience on this Todd. On closer examination, when I run it, it will join 2 lines together, but only 2 whether I select 2 lines or 200. My steps are as follows:

                    1. Select all the required lines
                    2. Go to plug ins and select Close Opens
                    3. Answer yes or no to saving it (makes no difference)
                    4. Click Ok

                    It will then join 2 dashed lines only and that's it. I've also tried it on my laptop with the same result. I've also attached screen captures of the above steps

                    Kenny


                    Close Opens Screen capture.zip

                    http://www.townscapesolutions.co.uk/

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      todd burch
                      last edited by

                      Wow. Can you capture the summary dialog box that tells how many lines were drawn?

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        todd burch
                        last edited by

                        I just imported the .dwg file. The "dasd lines" are coming in as components. Try this - select everything, right click, and Explode. Then, try close opens as you did before.

                        Todd

                        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