[Plugin] Grow
-
@d12dozr said:
Right, but I believe Pyroluna's point is that there are MANY useful ruby 'gems' buried here...we need that official Plugin repository so that they are easy to discover and understand each one's purpose!
That's why, after some prompting, I resurrected 'Grow' into the mainstream so you might all know/remember it...
Here're some [old] examples...Grow Examples.zip -
Thank you for those ...now isn't someone working on a video tutorial?
-
Grow is so old that there was only 16mm film back then
-
So a black and white silent film? That works!
-
It doesn't work for me if SketchyPhysics 3.2 is installed. If I remove sketchyphysics.rb from the plugins folder, it works fine.
-
@pherim said:
It doesn't work for me if SketchyPhysics 3.2 is installed. If I remove sketchyphysics.rb from the plugins folder, it works fine.
This is a known issue - SP messes with some existing base class methods and thereby affects a few other scripts... -
Thanks for recommending this. It works a treat.
-
What would be the best way to let it "grow along path"?
-
Not this tool...
Look for Chris Fullemr's ComponentStringer and RickW's ComponentAlongPath ... -
Well I do need some kind of scaling. As you can see from the image, I'm trying to make a spiraling tower. I need to make windows in the vertical segments, but the tower is quite large and the vertical segments get smaller as the tower gets higher. So I need the windows to follow the spiraling path upwards AND have them scaled down according to the height. Then I'm going to subtract them from the vertical segments to create the arched openings. It's a total headache
-
Try DrawHelix for the rail[s] - you can have different start/end radii and a straight-curve for the profile... Here's quick example, worry about the fripperies like the door-arch later...
-
Hi - This is almost exactly what I need, but I would like to use other functions. Is there a way to alter this so that instead of choosing from linear/exponential/fibonacci I have the ability to select my own values. I need some other periodic functions, like sine-wave. I imagine, the easiest way to do this would be to just allow values to be passed in a list. So if I want 100 copies, I pass in a list with 100 numbers for x-offset. Is this possible?
Mike
-
Yes IF YOU redo the code.
It's probably easiest to make a new tool that is run in a way that can take arguments - in your case an array of values, which it then uses to do something.
That way the processing is somewhat independent of the outcome...
Do not forget that there are already many tools that process CSV/TSV files so in your case you simply have a file in the format x,y,z [and even rotx,roty,rotz,scalex/,scaley,scalez etc] - one 'point' per line and then do something with the point - add cpoints, join up the points with lines etc, place an instance at every point and rotate it/scale it... You could make the 'table' file from Excel osa...
IF you explain better what it is you want to achieve and supply a typical xyz... data set I might be able to quickly bodge something together, though I am quite busy... -
I'm a new 'grow' user and am confronted with immediate splats after after processing. Knowing how diligent TIG is about resolving issues, I don't doubt the problem is a conflict with one of the plugs I've recently installed. Prior to uninstalling them in batches to try to isolate the culprit, I thought I'd ask if there anyone had problems but did not mention them. I get no results searching splats here.
Thanks.
EDIT: Whatever the problem was, it has gone away.
-
Here's a minor update http://forums.sketchucation.com/viewtopic.php?p=324331#p324331
v2.2 avoids a clash with some rogue scripts' messing with base classes/methods for selection/group and/or miscast observers, that a very few users had reported recently.
Now fixed for all [I hope!]... -
Thank you, TIG. Your attentive diligence is inspiring.
-
Hi TIG this looks like a very interesting plugin but when i try to use it i get this on the ruby console:
@unknownuser said:
for nil:NilClass>
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Grow.rb:339:inmove' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Grow.rb:336:in
each'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Grow.rb:336:inmove' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Grow.rb:554:in
run'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Grow.rb:86:in `onLButtonDown'ΒΏAm i missing something?
-
@nektares said:
Hi TIG this looks like a very interesting plugin but when i try to use it i get this on the ruby console:
@unknownuser said:
for nil:NilClass>
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Grow.rb:339:inmove' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Grow.rb:336:in
each'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Grow.rb:336:inmove' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Grow.rb:554:in
run'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Grow.rb:86:in `onLButtonDown'ΒΏAm i missing something?
I suspect that you have some rogue script installed that is beyond this last fix... I'll look at an update... -
Here's v2.3 http://forums.sketchucation.com/viewtopic.php?p=324331#p324331
I hope that it finally addresses all of the issues cause by 3rd party rogue scripts that ill-advisedly overwrite base class/methods and/or with miscast observers for groups/selections...Sorry for today's confusion...
The tool only failed for a few users who had this 3rd party script combo... BUT now ALL should work OK... -
Thanks a lot TIG !!
I found the guilty plugin, The problem was caused by SketchyPhysics3 i removed it and now my mirror plugin, my mshstick plugin and the grow plugin now work fine!
IΒ΄m having a blast with your script, thank you!
Advertisement