Fitting a curve inside a polyline

What is the command that takes a polyline and fits a matching curve inside of it. Just saw a tutorial on it and cant find the tutorial anymore. The curve takes it shape loosely from the polyline.

http://docs.mcneel.com/rhino/5/help/en-us/index.htm#commands/curvethroughpolyline.htm

1 Like

On the command line CurveThroughPolyLine with CurveType=ControlPoint

For a curve which goes through the vertices of the polyline use CurveThroughPolyLine with CurveType=Interpolated.

For curve with possibly fewer control points which goes through or close to the vertices of the polyline use FitCrv

1 Like

ah thanks!