NurbsSurface.from_fill
- classmethod NurbsSurface.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 (
compas.geometry.NurbsCurve
)curve2 (
compas.geometry.NurbsCurve
)curve3 (
compas.geometry.NurbsCurve
, optional.)curve4 (
compas.geometry.NurbsCurve
, 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