• Login
sketchucation logo sketchucation
  • Login
โ„น๏ธ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[REQUEST] select lines by axis [Plugin]

Scheduled Pinned Locked Moved Plugins
3 Posts 2 Posters 678 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.
  • B Offline
    baldaman
    last edited by baldaman 3 Mar 2010, 09:38

    I have a huge wireframe structural model with a lot of layers according to a lot of different sections and I want to organize it a bit. I would like to be able to select all lines aligned on y axe (=difference in x=0) for exemple.
    Please help dear RUBY MASTERS!


    Clipboard02.png

    1 Reply Last reply Reply Quote 0
    • T Offline
      TIG Moderator
      last edited by 3 Mar 2010, 10:09

      This does what you want.

      To use select lines and type highlightlinesbyaxis 'x' in the Ruby console.

      All lines aligned to that axis are highlighted.

      You can use 'x', 'y' and 'z' as the axis argument,

      but if no argument is given it defaults to 'x'.Put into Plugins folder...

      TIG

      1 Reply Last reply Reply Quote 0
      • B Offline
        baldaman
        last edited by 3 Mar 2010, 10:22

        TIG you made my day!!!
        It works perfectly, it will save me hours of work!
        ๐Ÿ˜ ๐Ÿ˜ ๐Ÿ˜ ๐Ÿ˜
        Thank you very much!

        PS: This code could be integrated in Thomthom's classic "selection toys"

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

        Advertisement