algorithmic modeling for Rhino
The spiral you drew is pretty non-specific. It doesn't seem to obey a straightforward mathematical rule. I attached two different approaches. One which creates a series of shrunk repetitions of the base shape, then connects them all up, the other generates all the points of the spiral first, then scales each point slightly more towards the centre.
And here's a third approach which moves all points inwards at a constant rate, rather than an exponential one.
Hello David!
Thank you for your quick reply! That is exactly what I want to do but it is really nice to know how to generate a spiral from any polygon! thanks for that! Actually, I want to generate and spiral from a complex geometry. The geometry is based on a triangle but the edges are arcs with rounded corners, like the following image.
Whether it's hard depends on how you define your arcs. It's pretty trivial to replace all the linear segments of a polyline with arcs that have a consistent deviation from the base line at the centre.
First step is to explode the polyline into individual line segments, then replace each segment with an arc and ultimately join the arcs into a single curve again.
Hello again David!
Thank you very much for your help! This is exactly what I was trying to do!
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by