opencad
← Reconstruction corpus
ReconstructionPASS 11/11

Enclosure base

Lower body of a two-part box enclosure, 100 × 150 × 47 mm with rounded corners.

Facts

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

Print files

FileKindSize
enclosure-base.stepSTEP0.1 MB
enclosure-base.stlSTL0.2 MB

Source

contract.yaml (design contract)

Design intent

Lower body of a two-part box enclosure: one connected solid in millimetres, 100 x 150 x 47, with r = 10 vertical outer corners, an r = 2 bottom edge round and a flat sharp rim at z = 47 (the parting plane with the lid). A 94 x 144 cavity with r = 7 corners runs from the 3 mm floor (z = 3) through the open top; four free-standing Ø10 screw posts at (±38, ±63) stand on the floor up to z = 47, each with a Ø4 blind bore that stops at the floor top. The specification sources/enclosure-base-spec.md is authoritative; the three renders are illustrative.

Gates

TierGateResultEvidence
Acontract_provenance
Contract validates; stated/measured sources resolve to bundle files; no blocking open questions; interfaces pinned by checks
PASSdesigns/enclosure-base/contract.yaml: 14 parameters {'stated': 9, 'derived': 5}; sources unresolved {}; unanchored 9
Aenvelope
Bounding box of the exported STEP equals the contract envelope
PASSresults/cadquery/enclosure-base/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/enclosure-base/inspect.json volume = 118428.968 vs 118431.5
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/enclosure-base/inspect.json features: 5/5 ok; failed required []; failed optional []; unverified []
Areference_fidelity
Deviation from the reference model within the contract band (when a reference exists)
n/aresults/cadquery/enclosure-base/inspect.json deviation.p95 = None hausdorff = None silhouette_iou_min = None
Bexport_agreement
Engine, STEP (OpenCascade) and STL (trimesh) volumes agree
PASSresults/cadquery/enclosure-base/inspect.json agreement engine=118428.9679606971 step=118428.96796069472 stl=118391.01622010925 (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/enclosure-base/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/enclosure-base/verify.json hygiene: dialect=True unit=True legacy=[] params_ok=True asserts=16
Cexport_integrity
Deterministic STEP (two exports identical), valid B-rep, expected solid count, watertight STL (solid shells == solids)
PASSresults/cadquery/enclosure-base/export.json step.deterministic = True sha256 0120811b5b55; 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/enclosure-base/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, no traced geometry
PASSresults/cadquery/enclosure-base/verify.json hygiene.forbidden_imports = [] construction_ops = {'calls': 24, 'has_result': True} lines = 92