Skip to content

Add angleplate mounting contract from roadmap item 0176 - #120

Open
proofline-studio wants to merge 1 commit into
tscircuit:mainfrom
proofline-studio:proofline/angleplate-20261017
Open

proofline-studio wants to merge 1 commit into
tscircuit:mainfrom
proofline-studio:proofline/angleplate-20261017

Conversation

@proofline-studio

Copy link
Copy Markdown

Adds the right-angle mounting plate parameter contract requested in #13, item 0176. The exact roadmap string currently throws Unsupported modelprinter function "angleplate"; it now resolves through the public modelprinter registry to validated millimeter dimensions and six through-hole centers.

The contract fixes the requested four-base/two-face hole topology, defines the coordinate frame and inside-corner radius, and rejects duplicate tokens, unknown or missing dimensions, unsupported counts, nonfinite geometry, and holes that touch an edge or one another. The base grid is centered on the straight base after the upright and fillet, so the example retains material around all six bores. Registration follows folder discovery without changing generated files or existing models.

Validation: the exact string fails on pinned upstream 0f3582ac55138e3eb5d27404a728e6cd4ce3a114; the four new contract tests pass 38 assertions.

  • bun test on native Linux with Bun 1.4.3: 311 tests pass, 5,873 assertions.
  • bun run typecheck: passes.
  • bun run format:check: passes.
  • bun run build: passes.

This is modelprinter's parser/schema/dimensions scope, as specified in AGENTS.md. Geometry and visual snapshots belong in jscad-electronics. Prepared with AI assistance and tested on the environments above. Related to #13; does not close the 996-item roadmap.

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