Sg2.9
cube / cylinder
Recent RSS
Creator:  Hiroyuki Sato
Date:  23. November 2006, 14:02

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.
Is it possible to make a "box" script?
From:  Thibault
Date:  14. April 2013, 01:05

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

Re: Is it possible to make a "box" script?
From:  pqbd
Date:  14. April 2013, 23:24

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.

Re: Is it possible to make a "box" script?
From:  Thibault
Date:  15. April 2013, 02:19

great, it works perfect…
thks

BR
Thibault

Aligning cubes on a path, is it possible?
From:  digg
Date:  2. July 2013, 17:50

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!

Re: Aligning cubes on a path, is it possible?
Date:  4. July 2013, 22:36

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 ....

Re: Aligning cubes on a path, is it possible?
From:  digg
Date:  5. July 2013, 13:59

Yess! thanks Gareth, that works great!
There are a lot of possibilities to play with in your script.
Thank you!

Scripts
08.08.14, 15:24
15.05.14, 14:23
02.03.14, 19:16
18.11.13, 14:48
22.03.13, 03:05
22.02.13, 15:45
Posts
10.01.17, 16:37
19.02.16, 06:03
19.02.16, 06:00
17.01.16, 11:00
12.01.16, 13:10
25.11.15, 08:19