I seem to have run into a simple problem that I’m having a hard time solving!
The script is really simple. It takes as input a curve, then using the discontinuities of the curve, moves the Z position of each point to be able to make a ramp.
Till now, working with polylines, its hasslefree because I can use the same discontinuity points and rebuild a polyline with them but when I have a ‘PolyCurve’ or a 3 Degree Curve, I can’t seem to be able to rebuild the same curve using interpolate or polyline.
I’m pretty certain that I’m missing something with the tangents.
Simple problem, an elegant solution would be appreciated.