[Plugin] Grow
-
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!
-
good job
-
Instant Bugsplat
HI TIGI downloaded the latest version of grow but I'm still having instant bugsplats. No error messages.
I used a simple box, and don't have SketchyPhysics installed...
Joel
-
Joel
If you have the Ruby Console open before you use it are there any messages ?
Do you have DrivingDimensions, SunStudy, Matchbox, Podium installed - these can have similar issues as SketchyPhysica and break standard methods...
Can you post the simple SKP that fails for you, with instructions on what you do to get a 'fail'...
-
very nice
-
Here's a new future-proofed update.
http://sketchucation.com/forums/viewtopic.php?p=324331#p324331 -
Hi Tig,
I just tried your plugin. very cool. However, it seems like I can't get it to do what I want. I want to offset a component by a fixed amount (this works fine) and have each element be a fixed amount taller (e.g. 6"). I only seem to get a fixed increment with a scaling factor of 1.0 and then the increment in height is equal to the height of the component.
Can I accomplish what I want with your plugin? -
Normally you can take any value on each axis, by move, by size, by rotation!
-
HELLO
IT SEEM LIKE A GREAT PLUGIN BUT THE AXIS I CHOSE DOESNT WORK.. IT ALWAYS ROTATE IT AROUND SOME OTHER POINT..
CAN YOU PLEASE HELP
THANKS! -
Make sure that your axes are reset to the default model-axes [right-click on an axis and choose reset if available].
It'd be sensible to locate the objects you want to 'grow' around the model's origin, then when prompted just snap to the origin [where the axes meet].
The XYZ [RGB] axes are what's used by the tool.Also ensure that unit-snapping is OFF in Model Info > Units.
Advertisement