length is X, width is Y, height is Z (all in mm).\n# This starter makes A box (a 10x10x10 cube), not THE spec box. Fix the three numbers.\nresult = Box(10, 10, 10)\n\nbb = result.bounding_box()\nprint(f\"measured bbox (mm): {bb.size.X:.3f} x {bb.size.Y:.3f} x {bb.size.Z:.3f}\")\nprint(f\"volume (mm^3): {result.volume:.1f}\")","task":{"bbox":[52,18,9],"tol":0.1,"volTol":50,"volume":8424},"title":"Code is the Clay: Primitives & Solids"}">
PARAMETRIC CAD
Code is the Clay: Primitives & Solids
Write build123d Python on the real OpenCascade kernel (Pyodide + OCP.wasm). Make the spec solid, bind it to result, and see the actual part render. The autograder reads result.bounding_box().size.