sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    [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

      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
      • thomthomT Offline
        thomthom
        last edited by

        @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

          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
          • thomthomT Offline
            thomthom
            last edited by

            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

              β˜€ 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

                @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
                • thomthomT Offline
                  thomthom
                  last edited by

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

                  Advertisement