splinepy.helpme.create.sphere#
- splinepy.helpme.create.sphere(outer_radius, inner_radius=None, angle=360.0, n_knot_spans=-1, degree=True)[source]#
Creates a volumetric spline describing a sphere with radius R.
- Parameters:
outer_radius (float) – Outer radius of the sphere
inner_radius (float, optional) – Inner radius of the potentially hollow sphere.
angle (float) – Rotational angle around x-axis, by default each 360 (describing a complete revolution)
n_knot_spans (int) – Number of knot spans
- Returns:
sphere – Volumetric NURBS with degrees (1,2,2)
- Return type: