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

    [REQUEST] select lines by axis [Plugin]

    Scheduled Pinned Locked Moved Plugins
    3 Posts 2 Posters 678 Views 2 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.
    • B Offline
      baldaman
      last edited by baldaman

      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
      • TIGT Offline
        TIG Moderator
        last edited by

        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

          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
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement