NurbsSurface.from_extrusion
- classmethod NurbsSurface.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:
- curve
compas.geometry.Curve
The basis curve for the extrusion.
- vector
compas.geometry.Vector
The extrusion vector, which serves as a translation vector for the basis curve.
- curve
- Returns: