Complete the code to create a spline curve using control points.
spline = acad.model.AddSpline([1])The AddSpline method requires a list of 3D points as control points to create the spline curve.
Complete the code to set the degree of the spline curve.
spline.Degree = [1]The degree of a spline curve is typically set to 3 for a cubic spline, which is smooth and commonly used.
Fix the error in the code to correctly add a spline with knots.
spline = acad.model.AddSpline(points, [1])The second argument to AddSpline should be the knots array that defines parameterization of the spline.
Fill both blanks to create a spline and set its control points.
spline = acad.model.AddSpline([1]) spline.SetControlPoints([2])
First, create the spline with initial points, then set the control points explicitly.
Fill all three blanks to create a spline, set its degree, and assign weights.
spline = acad.model.AddSpline([1]) spline.Degree = [2] spline.Weights = [3]
Create the spline with control points, set degree to 3 for cubic spline, and assign uniform weights.
