Complete the code to perform a union of two 3D solids named solid1 and solid2.
result = solid1.[1](solid2)The union operation combines two solids into one by merging their volumes.
Complete the code to subtract solid2 from solid1.
result = solid1.[1](solid2)The subtract operation removes the volume of solid2 from solid1.
Fix the error in the code to get the intersection of solid1 and solid2.
result = solid1.[1](solid2)The intersect operation returns the volume common to both solids.
Fill both blanks to perform a union followed by subtracting solid3 from the result.
temp = solid1.[1](solid2) final_result = temp.[2](solid3)
First, union merges solid1 and solid2. Then, subtract removes solid3 from the merged shape.
Fill all three blanks to create an intersection of solid1 and solid2, then subtract solid3 from it.
intersected = solid1.[1](solid2) result = intersected.[2](solid3) print(result.[3]())
First, intersect finds the common volume of solid1 and solid2. Then, subtract removes solid3 from that volume. Finally, volume() calculates the volume of the resulting shape.
