OCCNurbsCurve.from_line classmethod OCCNurbsCurve.from_line(line) Construct a NURBS curve from a line. Parameters: lineLineThe line geometry. Returns: OCCNurbsCurve