Grasshopper

algorithmic modeling for Rhino

Hi all,

I need some help again with this 3d elliptical stair.

I would like set generate the stair in 3d based on its centerline.

So i created this definition that divides the centerline in equal parts.

then i managed to find the relationship between the riser which needs to be constant.

and in this way i generated the first step and the second riser

now I am struggling to find a recursive method to apply this to all the other intersection points. 

any help.

 

cheers

 

Views: 1152

Attachments:

Replies to This Discussion

Hi Ed, hope this helps.
Attachments:

So you have two lists equal length.  The first list is your list of centerlines.  Your second list is your angles of rotation.  Are you missing your angles of rotation?  Create a sequence of numbers, each increasing by the specified amount of radians.  Take your oval, connect it with a move command, which will create duplicates of your oval at each centerpoint.  Then connect the list of rotation values to that that list.  Grasshopper will associate the first oval with the first rotation value in the rotation list, the second point with the second value, on down the list.

 

It isn't really a recursive procedure, or an iterated one really. It is just a list of translation values and a list of rotation values, based on a simple sequence, which is a type of loop, but only a very simple.

Thanks both for your help Pieter and Steve.

that helped me a lot.

cheers

ed

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service