Complete the code to create a surface that can handle freeform shapes.
surface = create_surface([1])NURBS (Non-Uniform Rational B-Splines) are used in surface modeling to represent complex freeform shapes smoothly.
Complete the code to define a control point for a freeform surface.
control_point = Point([1], y, z)The x coordinate defines the position of a control point in 3D space for surface modeling.
Fix the error in the code to correctly create a freeform surface patch.
surface_patch = Surface([1]=control_points, degree=3)
The parameter name must be 'control_points' to correctly assign the points defining the surface patch.
Fill both blanks to define a surface with smooth curvature and flexible shape.
surface = Surface(degree=[1], continuity=[2])
Degree 3 surfaces provide smooth curves, and C2 continuity ensures smooth curvature between surface patches.
Fill all three blanks to create a freeform surface using control points, degree, and knot vector.
freeform_surface = NURBSSurface(control_points=[1], degree=[2], knots=[3])
The control points list (cp_list), degree 3, and knot vector define the shape and smoothness of the NURBS surface.
