nurbspy.nurbs_surface_extruded module#
- class nurbspy.nurbs_surface_extruded.NurbsSurfaceExtruded(C, D, d)[source]#
Bases:
objectCreate the NURBS surface obtained by sweeping the NURBS curve C(u) a distance d along a direction D
- Create the NURBS surface given by
S(u,v) = C(u) + v*d*D
- Parameters:
- CNURBS curve object
See NurbsSurface class documentation
- Dndaray with shape (3,)
Sweeping/extrusion direction. D may be a unitary or a non-unitary vector
- dscalar
Sweeping/extrusion length. d may be positive, negative or zero
Methods
Make a NURBS surface representation of the extruded surface
References
The NURBS book. Chapter 8.3 L. Piegl and W. Tiller Springer, second edition