opencad
← Reconstruction corpus
ReconstructionPASS 11/11

Chiral key plate

Square key plate built from a text specification.

Facts

Backend
CadQuery
Gates
11 pass, 0 fail, 1 n/a
Bounding box
80.0 × 80.0 × 8.0 mm
Volume
49.66 cm³
Release
reconstruction
Truth case
yes, scored against held-back geometry

Print files

FileKindSize
chiral-keyplate.stepSTEP72 KB
chiral-keyplate.stlSTL4 KB

Source

contract.yaml (design contract)

Design intent

Model the square key plate described in the attached text spec as one solid. Frame: origin at the plate centre in XY, z = 0 on the bottom face, +z through the thickness, +x and +y along the plate edges. Cut four identical rectangular slots from the top as 4 mm-deep pockets in a C4 pinwheel whose first slot is centred at (20, 8) mm with its long axis along x; the other three are 90 degree rotations about z. The pinwheel is chiral — do not emit the mirrored arrangement, a centred cross, or any pattern with a mirror plane. Name the four pocket floors. One solid; export STEP and STL.

Gates

TierGateResultEvidence
Acontract_provenance
Contract validates; stated/measured sources resolve to bundle files; no blocking open questions; interfaces pinned by checks
PASSdesigns/chiral-keyplate/contract.yaml: 8 parameters {'stated': 8}; sources unresolved {}; unanchored 0
Aenvelope
Bounding box of the exported STEP equals the contract envelope
PASSresults/cadquery/chiral-keyplate/inspect.json bbox.max_error = 0.0 (tol 0.05)
Amass_properties
Volume, surface area and centre of mass within contract tolerance (independent STEP measurement)
PASSresults/cadquery/chiral-keyplate/inspect.json volume = 49664.0 vs 49664.0
Afeatures
Every required feature, section, named face, cylinder axis, plane, dimension, body, clearance, passage, wall, gear and symmetry check verified on the STEP
PASSresults/cadquery/chiral-keyplate/inspect.json features: 6/6 ok; failed required []; failed optional []; unverified []
Areference_fidelity
Deviation from the reference model within the contract band (when a reference exists)
n/aresults/cadquery/chiral-keyplate/inspect.json deviation.p95 = None hausdorff = None silhouette_iou_min = None
Bexport_agreement
Engine, STEP (OpenCascade) and STL (trimesh) volumes agree
PASSresults/cadquery/chiral-keyplate/inspect.json agreement engine=49664.0 step=49664.0 stl=49664.0 (rel tol 0.002; independent=False)
Bedit_robustness
Declared parameter edits rebuild with the expected effect, undriven interfaces stay put, sweeps regenerate, infeasible values are refused; baseline re-export hash unchanged
PASSresults/cadquery/chiral-keyplate/edit.json 2/2 edit tests ok; restore.ok = True
Bsource_hygiene
Dialect, units, formatted, lint-clean, named parameters match the contract, asserts present
PASSresults/cadquery/chiral-keyplate/verify.json hygiene: dialect=True unit=True legacy=[] params_ok=True asserts=13
Cexport_integrity
Deterministic STEP (two exports identical), valid B-rep, expected solid count, watertight STL (solid shells == solids)
PASSresults/cadquery/chiral-keyplate/export.json step.deterministic = True sha256 d2c659ddd214; stl=present; glb=present
Ctraceability
Every stage JSON present with tool versions, git head, worker thread ids, engine-call ledger; no --allow-errors
PASSstages present: {'plan': True, 'model': True, 'verify': True, 'export': True, 'inspect': True, 'edit': True}
Cevidence_separation
Contract agreement, reference agreement and physical validation are reported as separate verdicts
PASSresults/cadquery/chiral-keyplate/inspect.json carries contract checks (volume/bbox/features) and a separate deviation block (reference = None)
Cindependence
The source is editable construction: no import of reference geometry, construction ops present
PASSresults/cadquery/chiral-keyplate/verify.json hygiene.forbidden_imports = [] construction_ops = {'calls': 31, 'has_result': True} lines = 77