OCCNurbsSurface.from_extrusion
- classmethod OCCNurbsSurface.from_extrusion(curve, vector)
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_occ.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: