sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    [Plugin] XRay Toolbar

    Scheduled Pinned Locked Moved Plugins
    10 Posts 4 Posters 15.3k Views 4 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.
    • daikuD Offline
      daiku
      last edited by

      Another simple little Ruby I wrote but use every day. This one is just a small 2-button toolbar that Toggles Xray and Toggles Perspective view. Icons could use some work, but here it is. Place all three files in your plugins directory. CB.


      XRAYToolbar.rb


      xray.png


      perspective.png

      Clark Bremer
      http://www.northernlightstimberframing.com

      1 Reply Last reply Reply Quote 0
      • W Offline
        watkins
        last edited by

        Dear Clark,

        Could you explain why you find this script useful? The X-ray view already exists as a button on a tool bar, and most people work in perspective view as a matter of course, so....

        Have I missed something?

        Kind regards,
        Bob

        1 Reply Last reply Reply Quote 0
        • R Offline
          remus
          last edited by

          I can imagine being able to turn xray on/off using a single button would be quite useful if you dont use any of the other view options (wireframe, shaded etc.) just so you can try and keep a bit of screen space available.

          http://remusrendering.wordpress.com/

          1 Reply Last reply Reply Quote 0
          • W Offline
            watkins
            last edited by

            Dear Remus,

            Sounds plausible, but I use the other views too and so I tend to have that tool-bar up and running. Just curious, that's all.

            Regards,
            Bob

            1 Reply Last reply Reply Quote 0
            • daikuD Offline
              daiku
              last edited by

              Hi Bob. Maybe it's just specific to the type of work I do. I model complicated structures with mortise and tenon joinery (timber framing). So its very useful to be able to quickly turn xray on and off and peek inside the timbers to see the joinery without changing any other style settings. CB.

              Clark Bremer
              http://www.northernlightstimberframing.com

              1 Reply Last reply Reply Quote 0
              • W Offline
                watkins
                last edited by

                Dear Clark,

                I am always peaking inside things and so I might give it a go. I am already using your rot90 tool. Very useful! I like the way it rotates a component/group about a central axis rather than a corner. I also enjoyed playing with the script so that I could rotate any angle I liked, which brings me neatly to my next question. Do you think you could modify the script so that one could enter the rotation angle in a pop-up window. The default could be 90, which is your rotation of choice.

                Kind regards,
                Bob

                1 Reply Last reply Reply Quote 0
                • daikuD Offline
                  daiku
                  last edited by

                  Bob:

                  While this could certailny be done, I think it would take away from the utility of the thing: A single keystroke to rotate. I think others have already written the utility you're taliking about (mover.rb?), plus, the built-in roate tool lets you type the angle into the VCB. Someone has already sent me a modified version that supplies 3 commands to rotate 90 around any of the three axes. I've urged him to post it. CB.

                  Clark Bremer
                  http://www.northernlightstimberframing.com

                  1 Reply Last reply Reply Quote 0
                  • W Offline
                    watkins
                    last edited by

                    Dear Clark,

                    You are probably right. Simple is often best.
                    Thanks for replying.

                    Regards,
                    Bob

                    1 Reply Last reply Reply Quote 0
                    • Dave RD Offline
                      Dave R
                      last edited by

                      Clark, this is a good idea for a script. I can see it being very useful when drawing joinery as you and I do. Since your plugin wasn't available when I first wanted a quick way to switch back and forth, I set a keyboard shortcut (I used Q) to toggle X-ray view on and off.

                      Etaoin Shrdlu

                      %

                      (THERE'S NO PLACE LIKE)

                      G28 X0.0 Y0.0 Z0.0

                      M30

                      %

                      1 Reply Last reply Reply Quote 0
                      • daikuD Offline
                        daiku
                        last edited by

                        @dave r said:

                        Clark, this is a good idea for a script. I can see it being very useful when drawing joinery as you and I do. Since your plugin wasn't available when I first wanted a quick way to switch back and forth, I set a keyboard shortcut (I used Q) to toggle X-ray view on and off.

                        You know, that's an even better solution. I actually developed this at the request of a student, but the shortcut key is the way to go. Sincere thanks for pointing out the obvious! CB.

                        Clark Bremer
                        http://www.northernlightstimberframing.com

                        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