Files
solvecraft/crates/kernel/tests
jyviko 29adfd0d7f Kernel tests: the barrel's side is the exact surface of revolution of its arc
The barrel's arc has its centre across the axis, so its side is the inner (lemon) zone of a
spindle torus, which SMLib's torus does not describe (its meridian is on the X side): SMLib
(revolve-spindle) sweeps it as the exact rational surface of revolution. shell_of_a_revolved_barrel
asserted an analytic torus of major radius -10. As the owner decided, it now asserts what
matters: two flat caps and the curved side, the closed-form volume, 14 mm round at mid height,
and after the shell the two offset faces (the inner wall and floor; truck's side was in halves).
Needs SMLib with revolve-spindle (pin bump).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 19:03:36 -04:00
..