Convert 3d Curve into Tangent arcs for part in pipe bending

Hi Trying to redraw this 3d curve into a set of tangent arcs so that a 4 axis CNC Pipe bender can make the part trying the various curve tools to manually redraw but not having much luck. Any recommendations on work flow to redraw - the convert to arcs command fails completely.
The arcs all have to be tangent and need to complete continuity between each arc set.
Many thanks Alex.

pipe coil.3dm (34.5 KB)

Hello
Simplification to lines and arcs doesn’t work well with polyline (or doesn’t work at all ?). So it is better to transform your polyline to a curve, as I don’t know how to inputs points in interpolated curve in Rhino I used Grasshopper.
Then I use my tool to transform curve to lines and arcs. I use Rhinocommon method but I added a some improvement if tangency was not good.


You’ll find various curves in the Rhino file and the Grasshopper tool if you want to use it.
polyline to curve to lines and arcs.gh (27.5 KB)
pipe coil.3dm (34.5 KB)

You can see that some curves are not really tangent if you use Rhino

1 Like

Many thanks Laurent for speedy reply - the Grasshopper profile looks great just need to check with the tube bend software on how the amount of curve arc inputs affects the NC file. Here is another example of a part I am going to try and reproduce. Will post results once I start bending pipe.
knot test.3dm (488.0 KB)