sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    Mac User? | Join the Rayscaper Beta for Mac Learn More

    [Plugin] Rotate 90 around [X, Y, Z] axis

    Scheduled Pinned Locked Moved Plugins
    49 Posts 28 Posters 65.5k Views 28 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
      Teezer
      last edited by

      Clark,

      Thanks for this! Sometimes the simplest things are the handiest. πŸ’š

      I'm also used to having a 15-degree rotation in other graphics programs, so I cloned your 90 to a 15, and it works a treat. πŸ‘

      Real life is just another website, albeit a rather boring one.

      1 Reply Last reply
      Reply Quote 0
      • philemP
        philem
        last edited by

        @teezer said:

        Clark,

        Thanks for this! Sometimes the simplest things are the handiest. πŸ’š

        I'm also used to having a 15-degree rotation in other graphics programs, so I cloned your 90 to a 15, and it works a treat. πŸ‘

        Please excuse me for being a bit thick. I like the look of this plugin and the option to make other rotation angles.
        I downloaded it, put it in the Plugins folder, but, when I open Sketchup , draw a simple item, when I look in the Plugins menu I can't find it.( I also checked the other menu's)
        What have I missed?

        Just do it, it might be fun.

        1 Reply Last reply
        Reply Quote 0
        • BurkhardB
          Burkhard
          last edited by

          You missed the contextmenu there. 🀣

          http://www.ia-plus.de

          1 Reply Last reply
          Reply Quote 0
          • S
            Stu
            last edited by

            select your component, context click and you will see the command.

            Clark, thanks a lot for this!!

            There is actually a rotate command in Jim's fantastic Mover.rb, trouble is I cant get it to work with Vista.

            Stu

            http://www.landesign.com.au

            1 Reply Last reply
            Reply Quote 0
            • H
              HFM
              last edited by

              Haha, this is fantastic... I was just going to post a question asking for someone to make such a thing! This is gonna be most helpful for placing windows

              Thanx! πŸ‘

              1 Reply Last reply
              Reply Quote 0
              • philemP
                philem
                last edited by

                @stu said:

                select your component, context click and you will see the command.

                Clark, thanks a lot for this!!

                There is actually a rotate command in Jim's fantastic Mover.rb, trouble is I cant get it to work with Vista.

                Stu

                Hi Stu,
                I made the entity I drew a component, R clicked and the command was there, but it didn't work, that is assuming that the Z axis is the blue one and basically goes "up". I then imported a component from the Components folder same thing: The command is there but doesn't work. What have I done wrong?

                Just do it, it might be fun.

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

                  Do you have one and only one component or group selected? Does the ruby console spit out any messages? Yes, the blue axis is "up". It should spin around that axis (spins parallel to the ground plane). CB.

                  Clark Bremer
                  http://www.northernlightstimberframing.com

                  1 Reply Last reply
                  Reply Quote 0
                  • boofredlayB
                    boofredlay
                    last edited by

                    Nice, thanks.

                    http://www.coroflot.com/boofredlay

                    1 Reply Last reply
                    Reply Quote 0
                    • R
                      rhankc
                      last edited by

                      Carl,
                      Good work! I really appreciate this tool. Thanks and Have a great day.

                      Hank

                      1 Reply Last reply
                      Reply Quote 0
                      • philemP
                        philem
                        last edited by

                        @daiku said:

                        Do you have one and only one component or group selected? Does the ruby console spit out any messages? Yes, the blue axis is "up". It should spin around that axis (spins parallel to the ground plane). CB.

                        Yes I had only 1 component selected.
                        I just reopened Sketchup
                        Selected Bryce
                        R Clicked and selected "Rotate 90 around Z" nothing happened.
                        I then deleted Bryce, drew a rectacngle, pulled it into a shape, turned it into a component,
                        R Clicked and selected "Rotate 90 around Z" still nothing happened.

                        any and all help is very much appreciated always πŸ˜„

                        Just do it, it might be fun.

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

                          Dear Philip,

                          I noticed something similar when I first tried the script. I created a cube and used the script, and nothing "apparently" happened. The cube is a nice, 4-fold axially symmetric object and looks the same when rotated 90 degrees. Try something with a feature, like a notch, to make your object asymmetric about its Z-axis.

                          Kind regards,
                          Bob

                          1 Reply Last reply
                          Reply Quote 0
                          • BurkhardB
                            Burkhard
                            last edited by

                            Bryce is by default " always face camera" So it is not the best choice. πŸ˜‰

                            http://www.ia-plus.de

                            1 Reply Last reply
                            Reply Quote 0
                            • H
                              HFM
                              last edited by

                              okay, very nice script... but could you please also make it work on X and Y axis? And make it so that you can select a shortcut for the tools?

                              Tried to edit it myself but my knowledge of ruby is lacking 🀣
                              [did get the 15 degrees to work though πŸ˜„ ]

                              1 Reply Last reply
                              Reply Quote 0
                              • J
                                Jim
                                last edited by

                                @hfm said:

                                okay, very nice script... but could you please also make it work on X and Y axis? And make it so that you can select a shortcut for the tools?

                                Tried to edit it myself but my knowledge of ruby is lacking 🀣
                                [did get the 15 degrees to work though πŸ˜„ ]

                                I always wanted to make a rotator that is sensitive to the view. For example, it would rotate the selection around the axis that is closest to the axis from the camera to the target. If you wanted ro rotate around the Z, you could select the entities, go to Top view and press the shortcut. If you wanted to rotate around the Y axis, select the entities, go to the Front view and use the same shortcut.

                                What do you think?

                                Hi

                                1 Reply Last reply
                                Reply Quote 0
                                • philemP
                                  philem
                                  last edited by

                                  @watkins said:

                                  Dear Philip,

                                  I noticed something similar when I first tried the script. I created a cube and used the script, and nothing "apparently" happened. The cube is a nice, 4-fold axially symmetric object and looks the same when rotated 90 degrees. Try something with a feature, like a notch, to make your object asymmetric about its Z-axis.

                                  Kind regards,
                                  Bob

                                  I didn't realise that fact about Bryce..but still no joy,

                                  I still can't get it to work, I have drawn an object with a notch and a cut out etc. just to be sure,(attached) I even made sure the Z axis went though the part but still can't get it to work. I have even removed the plugin, restarted Sketchup, closed it down, copied the plugin back in again still no luck.. 😞

                                  http://i307.photobucket.com/albums/nn310/pipp44/rotateproblem1.jpg

                                  Just do it, it might be fun.

                                  1 Reply Last reply
                                  Reply Quote 0
                                  • H
                                    HFM
                                    last edited by

                                    @jim said:

                                    @hfm said:

                                    okay, very nice script... but could you please also make it work on X and Y axis? And make it so that you can select a shortcut for the tools?

                                    Tried to edit it myself but my knowledge of ruby is lacking 🀣
                                    [did get the 15 degrees to work though πŸ˜„ ]

                                    I always wanted to make a rotator that is sensitive to the view. For example, it would rotate the selection around the axis that is closest to the axis from the camera to the target. If you wanted ro rotate around the Z, you could select the entities, go to Top view and press the shortcut. If you wanted to rotate around the Y axis, select the entities, go to the Front view and use the same shortcut.

                                    What do you think?

                                    Cool, but I thought of an easier version [at least I think it's easier]

                                    Rotation 15 degrees on X axis under NUM1 shortcut
                                    Rotation 15 degrees on Y axis under NUM2 shortcut
                                    Rotation 15 degrees on Z axis under NUM3 shortcut

                                    off course all rotations are from center of the component or group

                                    now, tell me what do you think πŸ˜‰

                                    [maybe a modification of you fantastic mover? πŸ˜„ ❓ ]

                                    PS. Philem don't forget to create a component of your model or group it, or it won't work.

                                    1 Reply Last reply
                                    Reply Quote 0
                                    • philemP
                                      philem
                                      last edited by

                                      @hfm said:

                                      @jim said:

                                      @hfm said:

                                      okay, very nice script... but could you please also make it work on X and Y axis? And make it so that you can select a shortcut for the tools?

                                      Tried to edit it myself but my knowledge of ruby is lacking 🀣
                                      [did get the 15 degrees to work though πŸ˜„ ]

                                      I always wanted to make a rotator that is sensitive to the view. For example, it would rotate the selection around the axis that is closest to the axis from the camera to the target. If you wanted ro rotate around the Z, you could select the entities, go to Top view and press the shortcut. If you wanted to rotate around the Y axis, select the entities, go to the Front view and use the same shortcut.

                                      What do you think?

                                      Cool, but I thought of an easier version [at least I think it's easier]

                                      Hi H

                                      I did find that early in the piece. If its not a component it doesn't show up in the context menu..
                                      I even used a componen from the Component library, and it didn't work..

                                      Not giving up πŸ˜„

                                      Rotation 15 degrees on X axis under NUM1 shortcut
                                      Rotation 15 degrees on Y axis under NUM2 shortcut
                                      Rotation 15 degrees on Z axis under NUM3 shortcut

                                      off course all rotations are from center of the component or group

                                      now, tell me what do you think πŸ˜‰

                                      [maybe a modification of you fantastic mover? πŸ˜„ ❓ ]

                                      PS. Philem don't forget to create a component of your model or group it, or it won't work.

                                      Just do it, it might be fun.

                                      1 Reply Last reply
                                      Reply Quote 0
                                      • jujuJ
                                        juju
                                        last edited by

                                        ^^ huh?! o_O

                                        Save the Earth, it's the only planet with chocolate.

                                        1 Reply Last reply
                                        Reply Quote 0
                                        • Didier BurD
                                          Didier Bur
                                          last edited by

                                          Mmmmm, this reminds me oldies but goldies "rotix.rb" "rotator.rb", the're working with arrow keys also.

                                          DB

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

                                            @hfm said:

                                            okay, very nice script... but could you please also make it work on X and Y axis? And make it so that you can select a shortcut for the tools?

                                            Tried to edit it myself but my knowledge of ruby is lacking 🀣
                                            [did get the 15 degrees to work though πŸ˜„ ]

                                            To map a context menu item to a shortcut key, you must have an appropriate item selected before you bring up the preferences window. The context menu commands will show up under "edit item". CB.

                                            Clark Bremer
                                            http://www.northernlightstimberframing.com

                                            1 Reply Last reply
                                            Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better πŸ’—

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement