|
 |
"David Kraics" <bar### [at] aol com> wrote:
> Is there some kind of loop I can use to do this for me, and maybe return a value
> so I can add new things on top of the stack?
Of course.
Your level has a ymin and a ymax. ymax-ymin equals your height.
do a loop, instantiate your object, and then translate each subsequent object in
the y direction by the incremented height.
#declare Ymin = min_extent (Object).y;
#declare Ymax = max_extent (Object).y;
#declare Height = Ymax-Ymin;
#for (Level, 0, 5)
object {Object translate y*Level*Height}
#end
(untested code)
- Bill
Post a reply to this message
|
 |