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

[Plugin] Pivot Around Axis

Scheduled Pinned Locked Moved Plugins
32 Posts 15 Posters 25.6k Views 15 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.
  • T Offline
    thomthom
    last edited by thomthom 20 May 2010, 21:14

    Overview
    Quickly wrote a tool to rotate components around their axis.

    Access
    Tools -> Pivot around Axis
    (Supports ThomThom's Menu)

    Usage

    • Select an Component
    • Activate the tool
    • Click an axis and drag up/down to rotate about that axis

    Link Preview Image
    SketchUp Plugins | PluginStore | SketchUcation

    SketchUp Plugin and Extension Store by SketchUcation provides free downloads of hundreds of SketchUp extensions and plugins

    favicon

    (sketchucation.com)


    Cookieware.png

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

    1 Reply Last reply Reply Quote 0
    • J Offline
      Jim
      last edited by 20 May 2010, 21:22

      Awesome, Thomas! Simple to use and extremely useful for positioning. (Thinking positionable figures and lego.)

      Hi

      1 Reply Last reply Reply Quote 0
      • T Offline
        thomthom
        last edited by 20 May 2010, 21:38

        I'm not happy about the controls, up and down. I want the position of the cursor in 3D space to affect the rotation.
        But it's one for later, this one was a quicky.

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

        1 Reply Last reply Reply Quote 0
        • H Offline
          honoluludesktop
          last edited by 20 May 2010, 22:36

          Thomas, Nice. Having wrote a very limited "point a component" plugin (limited to pointing the zaxis), I am amazed at what you consider a "quickie". Thanks!!!

          1 Reply Last reply Reply Quote 0
          • R Offline
            Rich O Brien Moderator
            last edited by 20 May 2010, 22:45

            Thanks Thom 👍

            Very useful

            At this rate you turn into.........

            http://brokenman.files.wordpress.com/2008/07/cookiemonster.jpg

            Download the free D'oh Book for SketchUp 📖

            1 Reply Last reply Reply Quote 0
            • P Offline
              pilou
              last edited by 20 May 2010, 23:53

              So add a move, & scale function and you will have an universal manipulator 😉 👍

              No possible to adapt the mouse movement after the axe clicked with the arrow keys?

              Frenchy Pilou
              Is beautiful that please without concept!
              My Little site :)

              1 Reply Last reply Reply Quote 0
              • M Offline
                mitcorb
                last edited by 21 May 2010, 01:42

                Yeah--what Pilou says--universal manipulator.

                I take the slow, deliberate approach in my aimless wandering.

                1 Reply Last reply Reply Quote 0
                • C Offline
                  Chris Fullmer
                  last edited by 21 May 2010, 02:34

                  I started that plugin once, but ended stopping because I don't like to use the universal tool. Is that something that people all really want? Thom is on his way there with this one!

                  Chris

                  Lately you've been tan, suspicious for the winter.
                  All my Plugins I've written

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bagatelo
                    last edited by 21 May 2010, 02:43

                    Why we cannot enter number for rotation by keyboard?
                    The files above make me very happy too, because I set
                    keyboard keys... but "Pivot Around Axis" may be useful.


                    rot1.rb


                    rot45.rb

                    While the cat's away, the mice will play

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      thomthom
                      last edited by 21 May 2010, 06:33

                      @unknownuser said:

                      So add a move, & scale function and you will have an universal manipulator 😉 👍

                      This plugin does that: http://forums.sketchucation.com/viewtopic.php?f=323&t=20346
                      But it does not default to the component axis unfortunately. (which was what I needed)

                      @unknownuser said:

                      No possible to adapt the mouse movement after the axe clicked with the arrow keys?

                      Good idea.

                      @bagatelo said:

                      Why we cannot enter number for rotation by keyboard?

                      Another good idea.

                      I might just come back to this plugin and improve it. Though currently VertexEdit is my top priority. This pivot plugin was one I needed at the office.

                      @chris fullmer said:

                      I started that plugin once, but ended stopping because I don't like to use the universal tool. Is that something that people all really want?

                      Me for instance. 😄 I like universal gizmos. They are present in many 3d modelling packages.
                      But the object of this plugin was to manipulate components while anchored to their axis, something I really miss in SU.

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

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        thomthom
                        last edited by 21 May 2010, 07:21

                        I wanted to test what happened if I tried to pivot a 2d cutout component...

                        pivot2d.png

                        SU just accepted it. And the face it was stuck to appeared to deform as well, without any edges appearing.

                        But of course when you run Fix Problems: 😉
                        pivotfix.png

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

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          snowflake
                          last edited by 21 May 2010, 12:09

                          Nice work, mate.
                          All those cookies, you might seriously consider a dental plan coverage.

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            thomthom
                            last edited by 21 May 2010, 12:21

                            @snowflake said:

                            Nice work, mate.
                            All those cookies, you might seriously consider a dental plan coverage.

                            No need! This book is all I need:
                            http://ecx.images-amazon.com/images/I/51ysLwPesOL._SS500_.jpg

                            Besides, virtual cookies are low on sugar. 😞

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

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              Jim
                              last edited by 21 May 2010, 12:37

                              It's just very natural to want to enter the exact angle in the VCB after rotating the component.

                              Hi

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                thomthom
                                last edited by 21 May 2010, 12:43

                                Yup. I added a couple of things today, like being able to rotate groups. And click on other instances to adjust another object without existing the tool. Will hook up the VCB shortly.

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

                                1 Reply Last reply Reply Quote 0
                                • H Offline
                                  hsjzyangbin
                                  last edited by 21 May 2010, 20:14

                                  It'S pity it Can not enter values

                                  1 Reply Last reply Reply Quote 0
                                  • B Offline
                                    bagatelo
                                    last edited by 22 May 2010, 17:01

                                    I was thinking about a new possibility for this tool. It would be like this: we selected the object, we activated the tool, and they appear in the screen a circular menu around the object with possibilities of we can rotate the object in predefine angles , as for instance, in 45 degrees. In the image example, only the dog house is geometry, the rest is the menu. For rotate the object, we chose desired arrow.


                                    circulos.jpg

                                    While the cat's away, the mice will play

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      thomthom
                                      last edited by 24 Jul 2010, 18:05

                                      Have you installed "ThomThom's Menu" ? If you did - then the location is different than the default Tools menu.

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

                                      1 Reply Last reply Reply Quote 0
                                      • A Offline
                                        alfort
                                        last edited by 24 Jul 2010, 18:10

                                        I new to installing plug-ins to sketchup. I've installed your script into the plugins folder but nothing is showing up in the tools menu after restarting sketchup. I'm using SU 7.1.

                                        1 Reply Last reply Reply Quote 0
                                        • jason_marantoJ Offline
                                          jason_maranto
                                          last edited by 12 Jan 2011, 00:01

                                          Thank-you -- fits a need I've had perfectly.

                                          Best,
                                          Jason.

                                          I create video tutorial series about several 2D & 3D graphics programs.

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

                                          Advertisement