splinepy.helpme.create.extruded#

splinepy.helpme.create.extruded(spline, extrusion_vector=None)[source]#

Extrudes Splines.

Linear Extrusion of a given spline along an extrusion vector. This will extend the parametric dimensionality by one. If the dimension of the extrusion vector is higher than the spline’s dimension, the spline will be extended into the new dimension.

Parameters:
  • spline (Spline) – (self-argument if called via extract member of a spline)

  • extrusion_vector (np.ndarray)

Returns:

extruded_spline

Return type:

Spline