OCCNurbsSurface.from_fill

classmethod OCCNurbsSurface.from_fill(curve1, curve2, curve3=None, curve4=None, style='stretch')

Construct a NURBS surface from the infill between two, three or four contiguous NURBS curves.

Parameters
  • curve1 (OCCNurbsCurve)

  • curve2 (OCCNurbsCurve)

  • curve3 (OCCNurbsCurve, optional.)

  • curve4 (OCCNurbsCurve, optional.)

  • style (Literal[‘stretch’, ‘coons’, ‘curved’], optional.) –

    • 'stretch' produces the flattest patch.

    • 'curved' produces a rounded patch.

    • 'coons' is between stretch and coons.

Raises

ValueError – If the fill style is not supported.

Returns

OCCNurbsSurface