One of the most known examples David Rutten was used to show when was presenting Grasshopper was the Staircase example, because is relatively simple to assemble, it's amazing to see the fast-and-easy interactive feedback of parameter changes and, at the end, it's a parametric architectural element. But when teaching Grasshopper, I rather to follow the same constructive approach to generative design —from points, to curves to surfaces— that I've used in RhinoScript, and the Staircase is a good example to introduce Orientation. Therefore, I use it as a fourth or fifth example.
And for not repeating the exact definition that everyone can find on Internet, here is another example (with more components, but still simple), in which four points are inputted to construct a control point Nurbs curve of 2nd degree (instead of an interpolated curve), not used as axial but as an external border generative curve, so that the location of input points can also respond to external parameters like surrounding spaces of a building.
Update 2018-02-13:
As requested by readers, I've updated the definition and you can download it: InsideStaircase-180213.gh (26.5 KB).Runs in Grasshopper 0.9.0076 (and above, if developers keep backwards compatibility).
This work is licensed under a Creative Commons Attribution 4.0 International License.
can you share the Gh file? if it is possible, please send
ReplyDeleteone to cheyuan90@gmail.com. thank you very much
Hello Yuan Che, thank you for your interest. I have included a download link in the post.
Delete