Skip to content

Add hexshaft model contract - #99

Open
seveibar wants to merge 2 commits into
mainfrom
codex/add-hexshaft-batch50-20261010
Open

seveibar wants to merge 2 commits into
mainfrom
codex/add-hexshaft-batch50-20261010

Conversation

@seveibar

@seveibar seveibar commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

A regular hexagonal drive shaft with 45-degree chamfers on all six facets at each end. Length runs along the centered +Z axis from Z=0. acrossFlats measures the distance between the flats X=+-acrossFlats/2; vertices lie on the +/-Y axis. endChamfer offsets each flat inward by that amount over the same axial distance. _regularhex is a bare boolean flag; enum selector aliases are rejected.

hexshaft_af12mm_l200mm_regularhex_endchamfer1mm

Adds model-owned schemas, millimeter normalization, readable relationship validation, a dimension helper, and folder-local registration. The documentation defines fitting dimensions and datums; focused tests cover public parsing, unit conversion, duplicate or malformed tokens, and invalid dimensions.

Validation: contract tests, typecheck, formatting check, and package build passed on the combined 25-model tree. This commit contains only this model’s independent contract, tests, and documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant