[Plugin] Scale and Rotate Multiple (UPDATED Dec 22, 09)
-
Thanks a lot! That´s just it, I´ve requested here: http://www.sketchucation.com/forums/scf/viewtopic.php?f=15&t=17328
-
Chris, thanks again for your generosity.
-
@pixero said:
Big thanks.
After initial test I dont think I expressed what I wanted very well. Could be that english is not my native language or that I was tired.
Anyway. What I would like is another option: the center of each components bounding box at the bounding box min (in Z).
Many Groups or components dont have the axis at the center (if you're lazy like me)
So that option would also be great.Don't think I've forgotten about your request Jan. I have a working version that does what you asked for. But it was remarkably more difficult to code that I had expected due to some faceme component issues. But I think I've got it worked out. There are just some bugs that I need to work out. But otherwise, its almost ready. As soon as I get some to put into it, I'll get the next version released.
Glad others are finding it useful, thanks for commenting!
Chris
-
Good to hear. I was about to ask about your progress.
What about rotation? -
I missed this one, thanks Chris.
I agree a random rotate in with it would be excellent, but it is easy to request these things when you are not the one creating them!
-
All right, wishes granted! I just updated this script and it now has the "Component Base" scale point option as suggested by Jan. Sorry it took so long to implement. I kept hitting little speedbumps along the road with that feature. I think it is working quite well now.
I've also added rotation. It rotates on the same base point as the scaling.
I also updated the video in the first post to explain the new features. Here's a full feature list for the version 2.0 update:
- Fixed a bug where it didn't let you scale items more than once using Axis. Should work over and over now.
- Added "Component Base" support for those of us who don't set our component axes. This uses the bottom center of the component.
- Added much more reliable FaceMe component support (I hope).
- Added Rotation capability. Uniform and random with user specified min/max values.
I tried to test it thoroughly, but its possible there are still bugs. Let me know (as I'm sure you will) if you find something,
Chris
-
I forgot to mention that I changed the filename (sorry). It was clf_scale_multiple.rb. That should be deleted. And then install the new one which is clf_scale_rotate_multiple.rb
Chris
-
KUDOs, we are all very fortunate to have you here.
-
Thank you SOOO much!
-
Thanks Chris, your hard work is appreciated
-
Multiple & rotate
-
Thank you, Christopher!
You already have free scripts that are better than some commercial ones. -
Does it possible to have the scale and the rotation not randomized but "growing" one by one?
-
The problem with implementing that functionality is that SketchUp does not order the components you select the way you select them. So even if you select them one by one and hit the "grow" command, it might jump around in the process, and scale them out of order, rendering it useless.
Its possible to do for sure, but you have to make an assumption of growing them in the order they lie on the x axis or something. Then it would be possible to get them to grow in order. Or if the script placed them, it could keep track of them in order easily too. But I already know some of the math here starts getting me into trouble. I can see some of the shrinking spirals and sin waves you produce. That stuff just hurts my head
Chris
-
When you have shown a video with a line of trees we are waiting the line of the tree growing in order!
But alas there was not -
amazing stuff! thanks so much!
-
Thanks Troy, glad you like it!
Chris
-
Thank you very much, in fact your plugin is very useful tools..!
-
fantastic tool, Chris. I like it a lot!
(how about an additional 'move' function? for offsetting each group/component...) -
WOW! Very cool! Thank You!
3ds max feeling in sketchup...
Advertisement