These 2 scripts scatter primitive solids by dragging.
cube.js for cubes.
cylinder.js for cylinders.
2008年03月27日: modified for Sg 2.0.025
2008年04月01日: minor fix on dialog function
2009-?-? official staff modified to work with Sg 2.5. Thanks!
2010年02月21日 added some function for the dialog. modified cube.js to work with Sg 2.6
2010年04月18日 modified dialog part to use palette class for Sg 2.7
- - interval and jitter option values now retrieved from the palette as point value, not percent.
Hi
thanks for these really cool scripts.
By the way, Is it possible to make a "box" script?
a kind of mix of these two script : with possibility to set the value of heigth of the box like in the cylinder script, in order to make long box or flat box.
I try to add some lines by myself with no results.
Thks
Thibault
Sure. Just change:
var s2 = s * Math.cos(tv)
to:
var s2 = s * Math.cos(tv) * someConstant
where someConstant is a ratio of the height/width of the box you'd like to produce.
great, it works perfect…
thks
BR
Thibault
Great script, thanks for sharing.
It would be fantastic the ability to align the different generated shapes within a path, like the bend tool does (but this tool only works with two merged shapes)
I'm trying with AI but there is no way..
Is possible adding this capability to the script?
Thanks!
To avoid writing a new script or modifying one, try this.
Generate a few shapes
Then use objects-on-path script
You can do things like random on path or alternating ....
Yess! thanks Gareth, that works great!
There are a lot of possibilities to play with in your script.
Thank you!