• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

[Ruby idea] Click scale

Scheduled Pinned Locked Moved Plugins
7 Posts 2 Posters 313 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.
  • R Offline
    rv1974
    last edited by rv1974 23 Aug 2012, 10:11

    First off about the problem itself:
    Very often using the built-in scale tool (especially with long thin objects)one needs to zoom really close to find the exact grip to scale; then make excessive scrolling out to see the destination(reference) point. It's very irritating!
    So here comes the concept:

    1. with preselected object(s) one hits the shortcut, and types Z for non uniform scale in Z direction (X and Y for other directions respectively).
      Note: a) the plugin should use the item's axes, not the current UCS.
      b) no modal windows, the script runs in background.
      c) some respected ruby writers say it's impossible to make temporal override for the X,Y,Z keys. But I've seen it in Thomthom's
      Vertex tools, if the memory serves me right. So I really don't know what to think about this
      2. Then 2 clicks: the first one (say on the object itself), the 2nd one- the destination point. That's it.
      (Alternatively clicking with SHIFT key would produce the uniform scale)
      Edit: In case of Z scaling for instance: Clicking on the upper portion of the object would result non-uniformal scaling in the upwarddirection. The object's insert point would stay untouched. Clicking on the lower portion would scale downward and etc.
      Edit2: It should be an 'external' tool. I mean no need to enter the 'edit item' mode to choose the edge.

    What do you think?

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 23 Aug 2012, 10:15

      @rv1974 said:

      c) some respected ruby writers say it's impossible to make temporal override for the X,Y,Z keys. But I've seen it in Thomthom's Vertex tools, if the memory serves me right. So I really don't know what to think about this

      Not quite the same. I made Vertex Move activate the native Move tool if the user isn't in vertex mode. That means the user can re-assign the shortcut key for native Move to Vertex Move and it'll work seamlessly. But not that the user has to remap the shortcuts for this to work.

      But there really is no automated way to intercept keys that is used in shortcuts.

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

      1 Reply Last reply Reply Quote 0
      • R Offline
        rv1974
        last edited by 23 Aug 2012, 10:23

        I see. Maybe as workaround the user could initially click on the corresponding edge (it shold be hilighted in the awesome Fredo's style) to
        choose the desired direction.

        1 Reply Last reply Reply Quote 0
        • T Offline
          thomthom
          last edited by 23 Aug 2012, 10:31

          Or, I make the Gizmo from Vertex Tools 1.1 standalone....

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

          1 Reply Last reply Reply Quote 0
          • R Offline
            rv1974
            last edited by 23 Aug 2012, 10:37

            ☀ Sounds too good to be true.
            P.S. I've added some editing in the topic start.

            1 Reply Last reply Reply Quote 0
            • R Offline
              rv1974
              last edited by 23 Aug 2012, 11:14

              @thomthom said:

              Or, I make the Gizmo from Vertex Tools 1.1 standalone....

              What exactly do you mean? Would it be an independent tool or part of the Vertex tools pack?
              I'd prefer the first option because I need it for commponent\group scaling not for the vertex\polygon modifying.

              1 Reply Last reply Reply Quote 0
              • T Offline
                thomthom
                last edited by 23 Aug 2012, 11:42

                Yes, independent from Vertex Tools.

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

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

                Advertisement