RhinoNurbsSurface.from_extrusion

classmethod RhinoNurbsSurface.from_extrusion(curve, vector, *args, **kwargs)[source]

Construct a NURBS surface from an extrusion of a basis curve.

Note that the extrusion surface is constructed by generating an infill between the basis curve and a translated copy with from_fill().

Parameters:
curvecompas.geometry.Curve

The basis curve for the extrusion.

vectorcompas.geometry.Vector

The extrusion vector, which serves as a translation vector for the basis curve.

Returns:
compas.geometry.NurbsSurface