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
Clean up geometry/ stub module (hardcoded pi, NotImplementedError) #109
Clean up the unused fiberpath/geometry/ stub module: the hardcoded pi literal and the NotImplementedError placeholder, and decide whether the unused data classes stay, get fleshed out, or are removed.
Why
Surfaced while aligning docs with implemented scope (#107). The geometry/ package is not imported by the planner/simulator (real kinematics live in fiberpath/planning/calculations.py, cylinder-only). It currently advertises capability it doesn't have:
surfaces.py:17 hardcodes pi as a literal (3.141592653589793) instead of math.pi.
intersections.py:15-23intersect_curve_with_plane() is a NotImplementedError stub.
surfaces.py / curves.py are data classes only, with no callers.
Kept out of the #107 docs PR deliberately (docs-only boundary). This is the code-side follow-up.
surfaces.py uses math.pi (or the module is removed if confirmed dead)
A decision is recorded: keep as documented foundation for planned non-cylindrical support, vs. remove the dead intersections.py stub / unused dataclasses
No dangling imports or references after the change; ruff + mypy clean
Activity