You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stage 3a S1 — typed surface model (Cylinder/Cone); route cylinder through it byte-safe #306
Stage 3a slice 1 of #138. Byte-safe plumbing: introduce the typed surface model and route the existing cylinder path through it with no behavioural change. Same low-risk pattern as Stage-2 S1 (#295): construct the new abstraction, prove output is byte-identical, before any new math.
Scope
Add an internal surface model (e.g. fiberpath/planning/surface.py): Cylinder{radius} and Cone{r0, r1} (frustum), with is_developable() O(1) by type and a radius_at(z) accessor. (Cone is defined here but not yet planned.)
Derive a Cylinder from the existing MandrelParameters.diameter; route compute_helical_kinematics and the build_*_developed_path builders to read radius/circumference through the surface model instead of mandrel.diameter directly.
No .wind schema change, no new G-code.
Gate
All existing example goldens and fixtures byte-identical (cylinder output unchanged).
Full pytest + ruff format --check + ruff check + mypy clean.
Adversarial review subagent: no blockers.
Out of scope
Cone kinematics/development (S2), .wind cone input + golden (S3). The Cone type exists but raises / is unreachable from planning until S2.
Activity