Complete the code to create a 3D solid from a 2D shape.
solid = acad.model.Add[1](shape)The Region method converts 2D shapes into 3D solids, which is essential for handling complex geometry.
Complete the code to apply a boolean union operation on two solids.
result = solid1.Boolean[1](solid2)The Union operation combines two solids into one, which helps manage complex geometry by merging parts.
Fix the error in the code to correctly extrude a polyline.
extruded = polyline.[1](height)The correct method to create a 3D shape from a polyline is Extrude.
Fill both blanks to create a lofted surface between two profiles.
loft = acad.model.AddLoftedSurface([1], [2])
The AddLoftedSurface method requires a list of profiles and options; here, [profile1, profile2] and profiles represent these inputs.
Fill all three blanks to filter and create regions from closed polylines.
regions = [poly.[1]() for poly in polylines if poly.[2] and poly.[3]]
We convert polylines to regions using ConvertToRegion(), filtering only those that are IsClosed and IsPlanar to handle complex geometry properly.
