Where to post this. It's not 3D Rad stuff, so show your work makes no sense. Hmm. Useful scripts.. probably goes here... anyway
Mike's rotation requirement got me to thinking. Heck, why not wrtte my own plugin, it's only Ruby, so should be pretty straight forward, once I understand the SU API.
So I downloaded the Sketchup API, spent about an hour with it, and laughed at myself for not having done this earlier. After playing with the Ruby console, and testing the API, a light-bulb flashed on, and the innards of Sketchup split open like a can of beans.
To keep a long story short, here's my first home-grown Sketchup plugin
Drop the plugin 'Group_Rotate' into the sketchup plugin folder, and you are all set to run.
1.. Create a group
2.. Run the Group_Rotate plugin, and a dialog pops up (The Sketchup UI class is fun)
3.. Enter a value in degrees for any or all of the axis you wish to rotate the object around
4.. Remember Z is UP in sketchup. And X=Red. Y=Green
5.. Click the Ok button, and it's all over over before you even know it. And does not hurt at all.
6.. The plugin does not accept negative values, so subtract your rotation from 360, to rotate the other way.
That's all folks.
Enjoy
Mike's rotation requirement got me to thinking. Heck, why not wrtte my own plugin, it's only Ruby, so should be pretty straight forward, once I understand the SU API.
So I downloaded the Sketchup API, spent about an hour with it, and laughed at myself for not having done this earlier. After playing with the Ruby console, and testing the API, a light-bulb flashed on, and the innards of Sketchup split open like a can of beans.
To keep a long story short, here's my first home-grown Sketchup plugin
Drop the plugin 'Group_Rotate' into the sketchup plugin folder, and you are all set to run.
1.. Create a group
2.. Run the Group_Rotate plugin, and a dialog pops up (The Sketchup UI class is fun)
3.. Enter a value in degrees for any or all of the axis you wish to rotate the object around
4.. Remember Z is UP in sketchup. And X=Red. Y=Green
5.. Click the Ok button, and it's all over over before you even know it. And does not hurt at all.
6.. The plugin does not accept negative values, so subtract your rotation from 360, to rotate the other way.
That's all folks.
Enjoy