Curve to Polyline with a set angle

Hi All,

I can’t seem to work out how to do this.

I’m trying to convert curves and arcs of varying lengths and radii, but I need to keep the segment turn angles at 164.1 degrees. The length of the straight sections aren’t important and can vary.

I thought I could just use the curve to polyline function, but I just can’t seem to make it work.

Does anyone know how to do it?


For arcs you could calculate the segment length with regular grasshopper components.
For general curves I think this requires an iterative approach though.
I’m assuming your curves are planar and without inflections. It gets a little more complicated otherwise.
Either with a script or a looping plugin, you could iteratively rotate extend and intersect segments to find successive points along the curve.
…or with Kangaroo, you could use a standard division of the curve then set the angles. (15.8 KB)


That’s great! Thanks Daniel. You’ve also taught me extra functionality too. :slight_smile: