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

    [Plugin] Select Lines by Length (Updated March 9th, 2009)

    Scheduled Pinned Locked Moved Plugins
    20 Posts 11 Posters 33.0k Views 11 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.
    • Chris FullmerC Offline
      Chris Fullmer
      last edited by Chris Fullmer

      Descrtiption: This script selects all lines of a specified length.
      Usage: You can start with a single line selected and this tool will select all other edges in the model of the same length. OR you can have nothing selected and it will prompt you to supply a length. The length is automatically in the default model units or you can specify ( 12", 2', 10cm, 110mm, etc).

      [flash=651,613:3jcg1p2h]http://www.chrisfullmer.com/forums/Select_Edges_by_Length.swf[/flash:3jcg1p2h]

      v1.1 - Changed where it loads itself.

      Chris


      v1.1

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

      1 Reply Last reply Reply Quote 0
      • P Offline
        Panga
        last edited by

        Nice script Chris, That'll hepl me a lot.

        Thanks.

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

          I also coded something similar this night reusing the code form "Select all with same orientation" (SAWSO) It's should be simple to integrate the functionality to select more than one line, Chris.

          azuby

          *error initus :: Blocks | CurrentDate | d/Code | extensionmanager | FFlipper | HideEdges | MeasuredArea | ModelHistory | PluginsHelp | PronButton | SAWSO | SCP | SU²CATT

          Bad English? PM me, correct me. :smile:**

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

            True, it wouldn't be that much more code to make it so it allowed for multiple starting lines being selected. Just a single line was the request, but if multiple lines is desired, I could expand it.

            Chris

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

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

              Tricky ☀
              Maybe that be possible to choose something like this

              13 <= length < 20 ?

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

              1 Reply Last reply Reply Quote 0
              • D Offline
                Dee256
                last edited by

                Thanks, Chris! It's stuff save my worktime! Thanks Thanks Thanks!!! 😍

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sigue2000
                  last edited by

                  That's a great script Chris!

                  Thank you.
                  It should save me a lot of clicks in the future.

                  What?

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

                    It's a pity that works not for a line "grouped" or a line "component"! 😉

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

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

                      If I want all lines of a selection? (not the faces ! )
                      Can you add something for that? ☀

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

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

                        @unknownuser said:

                        If I want all lines of a selection? (not the faces ! )
                        Can you add something for that? ☀

                        301 Moved Permanently

                        favicon

                        (www.sketchucation.com)

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

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

                          Thx I had another one by Matt666
                          Selection manager
                          I will try yours also! ☀

                          Yours seems more cozy! 😎
                          Even it's a toy! 😉 😄
                          Adopted! 😎

                          But if Chris can make something like ">length wished" that will be terrific! 💚
                          Like >0
                          or

                          0 & < 12

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

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

                            I might not get to it right away, but adding a selection length range would be easy enoug to do. Thanks for the suggestion.

                            Chris

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

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

                              Cool! ☀

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

                              1 Reply Last reply Reply Quote 0
                              • simon le bonS Offline
                                simon le bon
                                last edited by

                                Heyhey! Chris,

                                Clever idea, wonderfull tool. Many thanks, just continue this way, cause we need such tools 👍 😛 😄 😄 simon

                                1 Reply Last reply Reply Quote 0
                                • EarthMoverE Offline
                                  EarthMover
                                  last edited by

                                  Chris,

                                  Would it be possible to also have a script that would select faces all of the same surface area?

                                  3D Artist at Clearstory 3D Imaging
                                  Guide Tool at Winning With Sketchup
                                  Content Creator at Skapeup

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

                                    Yeah, thats a good idea. I'll see if I can get that implemented. I have 2 others also in progress right now. Hopefully I'll get a chance to finish some of these up today. Thanks for the suggestion,

                                    Chris

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

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      publied
                                      last edited by

                                      chris,
                                      another very interesting plugin from you! nice job. thank you so much.
                                      /paolo

                                      hire me@ http://www.publied.it !

                                      1 Reply Last reply Reply Quote 0
                                      • bagateloB Offline
                                        bagatelo
                                        last edited by

                                        Very good plugin. Is possible to make plugin work only in selection?

                                        While the cat's away, the mice will play

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

                                          I suppose I could. The idea would be to select geometry first, then run the plugin and then when you click, lines only get added if you have cliked on something that is selected? Is that what you mean?

                                          Chris

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

                                          1 Reply Last reply Reply Quote 0
                                          • bagateloB Offline
                                            bagatelo
                                            last edited by

                                            Yes!!!

                                            While the cat's away, the mice will play

                                            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