nurbspy.nurbs_surface_extruded module

nurbspy.nurbs_surface_extruded module#

class nurbspy.nurbs_surface_extruded.NurbsSurfaceExtruded(C, D, d)[source]#

Bases: object

Create 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_Nurbs_surface()

Make a NURBS surface representation of the extruded surface

References

The NURBS book. Chapter 8.3 L. Piegl and W. Tiller Springer, second edition

make_Nurbs_surface()[source]#

Make a NURBS surface representation of the extruded surface