1 Commits

Author SHA1 Message Date
superGeometry 9c6818592c Subtract: a clearance, cut from the body, the others or both
Subtract gets a Clearance (typed in a value box on the model, with a
drop-down for which bodies give way) for parts that must fit or move:
- from the body: a hole the clearance bigger all round than its peg;
- from the others: each is cut by the body grown by the clearance;
- from both/all: half each, in turn - a peg through a plate becomes a
  hole r + gap/2 and a pin r - gap/2, every pair the gap apart.
Bodies are grown a piece at a time (the kernel's offset of a body in two
pieces fails), and only bodies as they were are grown or brought in.
tests/clearance.test.ts: exact volumes and gaps, 32 checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 12:00:08 +02:00