splinepy.helpme.create.arc#
- splinepy.helpme.create.arc(radius=1.0, angle=90.0, n_knot_spans=-1, start_angle=0.0, degree=True)[source]#
Creates a 1-D arc as Rational Bezier or NURBS with given radius and angle. The arc lies in the x-y plane and rotates around the z-axis.
- Parameters:
radius (float, optional) – radius of the arc, defaults to 1
angle (float, optional) – angle of the section of the arc, defaults to 90 degrees
n_knot_spans (int) – Number of knot spans, by default minimum number for angle is used.
start_angle (float, optional) – starting point of the angle, by default 0.
degree (bool, optional) – degrees for angle used, by default True
- Returns:
arc
- Return type: