opencad
← Reconstruction corpus
ReconstructionPASS 11/11

Spur gear pair

Module 2, 20° pressure-angle spur-gear pair and carrier plate to an exact specification.

Facts

Backend
build123d
Gates
11 pass, 0 fail, 1 n/a
Bounding box
126.9 × 83.8 × 13.0 mm
Volume
76.04 cm³
Release
reconstruction
Truth case
yes, scored against held-back geometry

Print files

FileKindSize
gear-pair.stepSTEP6.8 MB
gear-pair.stlSTL0.9 MB

Source

contract.yaml (design contract)

Design intent

Design the spur-gear pair and carrier plate exactly as specified in the attached specification: module 2, pressure angle 20 deg, zero profile shift, 20-tooth pinion (bore Ø6) at the origin and 40-tooth wheel (bore Ø8) at (60, 0), face width 8 (z 0..8), 0.10 mm total circular backlash, pinion tooth centred on +x and the wheel phased half a pitch so the pair meshes; carrier 110 x 50 x 5 under the gears with clearance holes on the axes. Three separate solids in one KCL file; the pair must turn through a full pitch without interference. Declare the three solids by contained points, the bores as cylinders, and the gears' tooth counts and mesh as acceptance items.

Gates

TierGateResultEvidence
Acontract_provenance
Contract validates; stated/measured sources resolve to bundle files; no blocking open questions; interfaces pinned by checks
PASSdesigns/gear-pair/contract.yaml: 23 parameters {'stated': 22, 'derived': 1}; sources unresolved {}; unanchored 0
Aenvelope
Bounding box of the exported STEP equals the contract envelope
PASSresults/build123d/gear-pair/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/build123d/gear-pair/inspect.json volume = 76043.0453 vs 76043.033397564
Afeatures
Every required feature, section, named face, cylinder axis, plane, dimension, body, clearance, passage, wall, gear and symmetry check verified on the STEP
PASSresults/build123d/gear-pair/inspect.json features: 9/9 ok; failed required []; failed optional []; unverified []
Areference_fidelity
Deviation from the reference model within the contract band (when a reference exists)
n/aresults/build123d/gear-pair/inspect.json deviation.p95 = None hausdorff = None silhouette_iou_min = None
Bexport_agreement
Engine, STEP (OpenCascade) and STL (trimesh) volumes agree
PASSresults/build123d/gear-pair/inspect.json agreement engine=76043.04529058219 step=76043.04529068538 stl=76044.09788425866 (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/build123d/gear-pair/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/build123d/gear-pair/verify.json hygiene: dialect=True unit=True legacy=[] params_ok=True asserts=47
Cexport_integrity
Deterministic STEP (two exports identical), valid B-rep, expected solid count, watertight STL (solid shells == solids)
PASSresults/build123d/gear-pair/export.json step.deterministic = True sha256 815d18ddbcf3; 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/build123d/gear-pair/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/build123d/gear-pair/verify.json hygiene.forbidden_imports = [] construction_ops = {'calls': 12, 'has_result': True} lines = 222