splinepy.helpme.create.disk#

splinepy.helpme.create.disk(outer_radius, inner_radius=None, angle=360.0, n_knot_spans=4, degree=True)[source]#

Surface spline describing a potentially hollow disk with quadratic degree along curved dimension and linear along thickness. The angle describes the returned part of the disk.

Parameters:
  • outer_radius (float) – Outer radius of the disk

  • inner_radius (float, optional) – Inner radius of the disk, in case of hollow disk, by default 0.

  • angle (float, optional) – Rotational angle, by default 360. describing a complete revolution

  • n_knot_spans (int, optional) – Number of knot spans, by default 4

Returns:

disk – Surface NURBS of degrees (1,2)

Return type:

NURBS