PlaneFromPolyline

PlaneFromPolyline(pline)

Calculate a plane from a polyline. A Polyline Curve must have exactly 3 points. The plane origin at middle point and x-axis aligned to the end point. X-Axis aligned with the tangent direction of the polyline. The motion of writing a capital ‘L’.

param pline:Polyline curve
returns:Plane on success