OCCCurve2d.from_occ

classmethod OCCCurve2d.from_occ(occ_curve)

Construct a NURBS curve from an existing OCC BSplineCurve.

Parameters:
occ_curveGeom2d_Curve
Returns:
OCCCurve2d