[Plugin] Rotate 90 around [X, Y, Z] axis
45 posts
• Page 1 of 2 • 1, 2
[Plugin] Rotate 90 around [X, Y, Z] axisThis is a simple plugin I wrote, but I use it every day, so I thought I'd share. It simply rotates the selected component instance or group 90 degrees around the Z axis. Most useful when mapped to a shortcut key. It's just a lot quicker than using the built-in rotate tool, and for me, this is the most frequent rotate task. Maybe someone else has already done this, but I didn't see it. CB.
Updated 9/10/2010. Rotates multiple groups and/or comps. Also includes previous update to rotate around any cardinal axis. Last edited by daiku on Fri Sep 10, 2010 8:51 pm, edited 4 times in total.
Clark Bremer
http://www.northernlightstimberframing.com
Re: [Plugin] Rotate 90 around Z axisClark,
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.
Re: [Plugin] Rotate 90 around Z axis
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.
Re: [Plugin] Rotate 90 around Z axisselect 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 Re: [Plugin] Rotate 90 around Z axisHaha, 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! ![]() Re: [Plugin] Rotate 90 around Z axis
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.
Re: [Plugin] Rotate 90 around Z axisDo 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
Re: [Plugin] Rotate 90 around Z axisCarl,
Good work! I really appreciate this tool. Thanks and Have a great day. Hank
Re: [Plugin] Rotate 90 around Z axis
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.
Re: [Plugin] Rotate 90 around Z axisDear 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 Re: [Plugin] Rotate 90 around Z axisBryce is by default " always face camera" So it is not the best choice.
![]()
Re: [Plugin] Rotate 90 around Z axisokay, 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 ![]() Re: [Plugin] Rotate 90 around Z axis
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
Re: [Plugin] Rotate 90 around Z axis
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.. ![]() Just do it, it might be fun.
Re: [Plugin] Rotate 90 around Z axis
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. Re: [Plugin] Rotate 90 around Z axis
Just do it, it might be fun.
Re: [Plugin] Rotate 90 around Z axis^^ huh?! o_O
Save the Earth, it's the only planet with chocolate.
Re: [Plugin] Rotate 90 around Z axisMmmmm, this reminds me oldies but goldies "rotix.rb" "rotator.rb", the're working with arrow keys also.
Didier Bur
Ecole Nationale Supérieure d'Architecture de Nancy (F) Re: [Plugin] Rotate 90 around Z axis
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
Re: [Plugin] Rotate 90 around Z axis
But the command does show up on the context menu? That's odd. Clark Bremer
http://www.northernlightstimberframing.com
Re: [Plugin] Rotate 90 around Z axisI have a new version ready that rotates around any of the three axes. I tried to edit my original posts to replace the ruby file, but I only succeeded in deleting the old. What's the protocol here? CB.
Clark Bremer
http://www.northernlightstimberframing.com
Re: [Plugin] Rotate 90 around Z axis..time we had floating shorcuts!
![]() http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=9593#p60059
Re: [Plugin] Rotate 90 around Z axiswhoops double post, sorry for that [as mentioned below it is late
![]() Last edited by HFM on Sun May 18, 2008 1:23 am, edited 1 time in total.
Re: [Plugin] Rotate 90 around Z axis
Thanx! will try the shortcut thing tomorrow ^^ [too late now ![]() ![]() Re: [Plugin] Rotate 90 around Z axisdaiku: dont reinvent the wheel, extend it
![]() here is my old 2004 script for start SketchUp Ruby Consultant | Podium 1.x developer
http://plugins.ro Re: [Plugin] Rotate 90 around Z axisI downloaded the latest version of this ruby and it worked.
thanks mate.. Just do it, it might be fun.
Re: [Plugin] Rotate 90 around Z axis
Yes, that would have been better. I was not aware of this script. This seems to be a recurring theme. What we really need is a central repository that includes detailed descriptions of what each script does, along with detailed usage instructions. There are several collections around, including on this forum, but nothing that does a complete job. I realize this would be a huge undertaking for someone, but whoever steps up would certainly earn "hero" status in our community. Clark Bremer
http://www.northernlightstimberframing.com
Re: [Plugin] Rotate 90 around Z axisMany thanks for this simple, yet very useful plugin... exactly what I was looking for when creating some configurations of modular components.
What I think would be really keen is to be able to call this script as one is placing a component from the component browser. Any ideas on how to make that work? Tor
45 posts
• Page 1 of 2 • 1, 2
|
Who is online
Users browsing this forum: atsestos90, Majestic-12 Bot, mrvasques, natthalak, Vikknesh and 17 guests