"Scaled array"
33 posts
• Page 1 of 2 • 1, 2
"Scaled array"I was working on a model and found myself drawing (for lack of a better name) a scaled array. Where a component repeats but linearly gets smaller each time it copies.
Attached is a simplified picture, you see this type of construction in cranes, etc. I ended up doing it manually but I wondered if a ruby existed that could do a copy / scale / array type action? Re: "Scaled array"Check out Grow by TIG. The examples I have seen from Pilou in this forum appear to be similar. However, I do not currently have this plugin, so I don't know if it will "ungrow".
This is based on the premise that you want to keep the data as components. Don't worry someone else will have your answer directly. mitcorb I take the slow, deliberate approach in my aimless wandering.
Re: "Scaled array"
Re: "Scaled array"Grow makes the trick but you must add another plug for align drop objects! Align by Didier Bur
After the Scale x = 0.8 y = 0.8 z = 0.8 because the Z Spacing don't accept a coefficient but just a value in cm ![]() Maybe Tig can make something ![]() Another plug must be created "Drop" on an existing object Seems Didier Bur has a drop inside Spray tool but... ![]() ![]() Last edited by pilou on Sun Jun 28, 2009 2:50 am, edited 4 times in total.
Re: "Scaled array"Thank you for the tips.
I have been experiementing and quite get the perfect results. It is helpful and faster than doing it by hand but still end up tweaking things. I will continue to explore what these great rubys can do. Always things to learn. ![]() Re: "Scaled array"Try changing the order of operations - scale then move then rotate, move then scale then rotate etc... This will produce differing results
TIG
Re: "Scaled array"How change order as all is in the same dialog box???
Sorry but seems impossible or I miss something for the Duh thread ![]() Seems that the Zspacing accepting a % will be very cool? I have the 1.0 20070207
Re: "Scaled array" Grow.rbThere is a separate dialog at the end asking for 'order of operations'...
The latest version of 'Grow' is now available for download here viewtopic.php?p=324331#p324331 TIG
Re: "Scaled array"Indeed that is a big Duhduh
![]() ![]() ![]() I had a very old version! ![]() So I must learn your new opus ![]()
Re: "Scaled array"Ok that works like a charm
![]() except that we must find first the "Growth point"!!! the "bottom point base" of the troncated crossing edges top Pyramid! ![]() Maybe this can be automatic because in this case its' easy to find it but in case of complex form? Or biggest volume? Mr TIG it's your turn ![]()
Re: "Scaled array"Gee, I'm glad i stumbled on this; I like Pilou had an old version....TIG, is this only relatively new? I just went to http://www.crai.archi.fr/RubyLibraryDep ... i_page.htm and the old one still downloads.....
TIG, Have you produced a instructions sheet with this latest version? I am having trouble executing what i want to do. I seem to be confused as the the 'X' and 'Y' planes.... I assume 'X' is red direction; left and right, 'Y' is green direction; up and down the screen, and 'Z' is obvious. When I rotate a vertical ['Z' plane] object around what i think is the RED direction it actually rotates it around the GREEN...['Y'] Also, TIG, can you give a little detailed explanation of the order of parameters...? I have been getting an awful lot of Bugspats!!!! Don't get me wrong, I think once I get the concept of it I will have found my new favourite plugin!!! purpose/expression/purpose/....
Re: "Scaled array"@Utiler
Z Is not obvious, with it your model goes in the 3D space up & down! ![]() there is a little help text inside the code plug! Open it ![]()
It's around the BLUE AXIS ![]() Order gives you the natural order of transformations ![]() About the first problem seems you can't oblige to have 80% for have perfect fit if you don't know the other X,Y,Z measures! it's depending of the measure of the first start volume! See my example above! I have 50% for this one (of course with my start measures volume) My regulates and don't forget the Growth point position (see image above) nb copy 3 X spacing = 0 Y spacing = 0 Z spacing = 100 cm Scaling = Yes Xspacing scaling = 1 Yspacing scaling = 1 Zspacing scaling = 0.5 Xcopy scaling = 0.5 Ycopy scaling = 0.5 Zcopy scaling = 0.5 (all exponential+ by default) Move Scale Rotate order (or Move Rotate Scale as the is no rotation in this one)
Re: "Scaled array"Thanks Pilou,
I believe Z is always vertical [blue axis in SU]. If the ground plane is the ground then it makes sence to me that Z [blue axis is vertical.... See the simple Palm tree attached. Say I want to rotate copy and move the palm fron as noted on the attached image. Still getting weird outcomes when I try to do so... thanks in advance. purpose/expression/purpose/....
Re: "Scaled array"Something like this?
Re: "Scaled array"No, Pilou. As a Palm fron grows [pardon the pun], it faces the sky with it's flat side facing up. Sometimes, slightly rotated but for the purpose of the exersice, lets keep it simple....
This is what i mean. Then copy and rotate various frons to thicken up the folage... Then do a little 'Fredo' bending.... So thats what i want to do with grow, however I just did this example manually... Skippy attached FYI... Thanks for your help with this idea, Pilou, much appreciated!! ![]() purpose/expression/purpose/....
Re: "Scaled array"Ok I see
![]() Maybe monday a result ![]()
Re: "Scaled array"Maybe this
![]() But in fact all gives cool results just try different little variations Palm's pull up is given by negative value ![]() Here with these regulates (click image) Last edited by pilou on Mon Jul 06, 2009 3:18 am, edited 1 time in total.
Re: "Scaled array"Pilou, My Grow dialouge Box looks a little different.... older or newer?
purpose/expression/purpose/....
Re: "Scaled array"Still not working....
![]() Not getting the same result as you even though I am imputting the same data... Ready to un-install. purpose/expression/purpose/....
Re: "Scaled array"Damn!
I hate it when i feel amateurish... ![]() Thanks Pilou, I think I am on the right track now. I will post some updates later. Thank you kindly for your persistence. ![]() purpose/expression/purpose/....
Re: "Scaled array"Ok, I have loaded the new 2.1 version...
Did a little axis directions text [see attached.] It eems that the X axis directions are back to front. I would have thought that the postive directions would have been forward and the negative direction would be backwards.... Also, rotations around the Z axis are anti-clockwise. I thought it makes sense to have postive rotations clockwise and negative rotations anticlockwise.... [see also attached] TIG, is there any reason for this? Eitherway, I think i have it worked out. ![]() purpose/expression/purpose/....
Re: "Scaled array"HI,TIG,i wish the picture just like show
Re: "Scaled array"
You need to experiment with the 'Growth Point' origin in different places ? ![]() TIG
Re: "Scaled array"
hm... I wonder if there is a copy+rotate plugin out here already... Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
Re: "Scaled array"My Grow.rb already does this - there is an example of how to make a helical staircase in its threads...
Last edited by TIG on Fri Dec 18, 2009 11:15 am, edited 1 time in total.
TIG
Re: "Scaled array"
I'm not finding it easy to find it - is it this? viewtopic.php?f=180&t=20195&p=168380&hilit=+grow#p168380 It'd be best if it was in a thread by itself and not buried inside another thread. Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
Re: "Scaled array"Grow.rb is a pretty old thing - probably predates the Forum !
It's available from Didier's Depot and if you search by author [TIG] and 'Grow' there are several threads about it where I uploaded a version for convenience, there are also examples in some threads... Perhaps we could start a new thread to resurrect it - next week ? Last edited by TIG on Fri Dec 18, 2009 11:27 am, edited 1 time in total.
TIG
Re: "Scaled array"
That would be good. Didier and Fredo had/has some old versions laying around as well. I noticed the last week several users seemed to have been downloading them instead of the new versions - despite noticed about newer versions. So I wanted to do a sweep of the plugin section and remove old versions and lock old obsolete threads. With the permission of the authors - in case they deliberately left them out there for legacy reasons. Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
33 posts
• Page 1 of 2 • 1, 2
|
Who is online
Users browsing this forum: crisisman16, William_Wang and 12 guests