Repository navigation
Description
Stage 3b · Phase 2 — non-geodesic winding + friction as an operator-calibrated knob. Parent epic: #139. Depends on Phase 1 (#326).
Full coverage to the tip rules out geodesic-only winding. A geodesic holds r·sinα = C and physically cannot cross below its turnaround radius r = C, so a near-zero tip radius is unreachable by any geodesic (Phase 1 leaves a bare polar cap). Reaching the tip requires non-geodesic winding: let the path deviate from the geodesic by up to the friction limit, steering the turnaround below the geodesic Clairaut radius.
k_g = λ · k_n (geodesic curvature = λ × normal curvature, |λ| ≤ μ)
Friction is a calibration knob, not a research blocker
λ depends on fiber/resin/tack, mandrel surface, tow tension, and speed — it differs per machine and per material and will always need empirical tuning. So FiberPath does not derive a universal λ; it:
- Models non-geodesic winding parameterized by
λ, and validates that a requested path stays within slip (|k_g/k_n| ≤ λ), refusing paths that would slip for the configuredλ. - Exposes
λas a documented field on the machine + material side (contact property) with a conservative default that errs toward refusing risky paths. - Ships a calibration procedure: wind a test band, observe slip/bridging, adjust
λ, re-plan.
This matches the engine's existing stance (machine profile #197; time-model calibration #130; roadmap "physical world is calibrated, not assumed"). A conservative default is shippable before any hardware program.
Scope (resolved 2026-08-08 — planning + adversarial assessment done; plan at working/vk-phase2-plan.md)
- Non-geodesic path solver: forward-integrate α(z) (RK4) with
dα/dz = [−λ·k_n·√(1+r'²) − sinα·r'/r]/cosα; α_max<90° guard + bisected crossing (the turnaround is a coordinate singularity, not stiffness); correcteddθ/dz = tanα·√(1+r'²)/r; new analyticVonKarman.radius_curvature_at(r'', singular at both ends — start the march at the first interior station). Branch insidecompute_profile_helical_kinematics; λ=0 → the Phase-1 geodesic code untouched (itslen(moves)pins frozen;_CAP_GUARD_MMkept verbatim for λ=0). -
λ= per-layerfrictionLambdaonHelicalLayer(.wind1.3, default 0,ge=0); rejected on non-profile (cylinder/cone) surfaces. -
μ=slipLimitonMachineProfile(profileVersion 1.1, default 0.2); threadedplan_wind → validate_profile_helical_layer(a signature change);fiberpath plan --profile <path>so μ is actually operator-reachable (today no caller supplies a non-default profile). - Slip-limit validator: reject laying
λ > μ(checked before integrating); report the turnaround dwell demand|r'(cap)|and warn when it exceeds μ — the steep-tip turnaround is Phase-3 (Stage 3b · Phase 3 — delivery kinematics for steep profiles (radial cross-feed 4th axis) #328), so Phase 2 reports it, doesn't block. - Independent test oracles: cylinder closed-form
1/sinα = 1/sinα₀ − λz/r(pins friction coeff + sign) + a published worked example (Koussios/de Carvalho); monotone-coverage as an inequality + tolerance band (no exact transcendental pin); element-wise λ=0 regression; 3-OSlen(moves)determinism. -
.windVK friction example + conformance (validλ ≤ μ, invalidλ > μ, invalidλ < 0, and the 1.2-carrying-frictionLambda policy) equivalence-gated; Pydantic bounds. - Docs: calibration procedure; machine-profile μ semantics (a per-setup contact limit); wind-format 1.3 (field + "Current version" + normative section); org-pages hosted schema sync; a tracked follow-up for a proper material model.
Definition of done
A VK .wind plans a non-geodesic helical layer whose reachable tip-coverage diameter is reported for a given λ (the target-cap inverse solve is deferred), the laying slip limit λ ≤ μ is enforced, the turnaround dwell demand |r'(cap)| is reported and flagged as Phase-3 when it exceeds μ, and the calibration procedure is documented. "Full coverage" = composite to a small finite radius + a tip detail; the turnaround near the steep cap is delivered by Phase 3 (#328).
Out of scope
- Delivery-eye standoff/orientation on the steep near-tip surface → Phase 3 (Stage 3b · Phase 3 — delivery kinematics for steep profiles (radial cross-feed 4th axis) #328). Phase 2 can produce a valid path; whether the eye can physically lay it near the tip is the Phase-3 hardware question.
See the feasibility assessment on #139 §4–§5.
Activity
CameronBrooks11 commentedon Aug 8, 2026
Phase 2 planned + adversarially assessed (2026-08-08)
Full plan:
working/vk-phase2-plan.md(rev 2). The non-geodesic ODE was derived, numerically validated, then hardened by a 4-critic adversarial assessment. The ODE itself is confirmed correct (matches the published filament-winding equation, Liouville-verified, λ=0 → the Phase-1 geodesic exactly), but the assessment caught real defects in the surrounding plan — all fixed in rev 2.Resolved decisions
frictionLambdaonHelicalLayer(.wind1.3, default 0); μ =slipLimitonMachineProfile(profileVersion 1.1, default 0.2). Validator rejects layer λ > machine μ.Corrections the assessment forced
dθ/dz = tanα·√(1+r'²)/r(verified to reduce to the Phase-1 integrand); the draft'sr'·tanαwas wrong.dα/dz ∝ 1/cosα → ∞at α=90°), not "stiffness" — a fixed-step march to ~90° produces garbage and is non-deterministic. Fix: stop atα_max < 90°and bisect the crossing.r''diverges at the base (~z^{−1/2}), where integration starts — start at the first interior station;radius_curvature_atis singular at both ends.fiberpath plan --profile.frictionLambdaon non-profile surfaces is rejected; the "slip = λ" test needs an independent oracle (cylinder closed-form + a literature worked example).The dwell finding (the substantive call)
The turnaround dwell (the circumferential arc where each pass reverses at the cap) has friction demand
|r'(cap)|, which grows toward the tip and exceeds a realistic μ≈0.2 at the deep caps the laying reaches (0.19 geodesic → 0.35 at a ⌀12mm cap). The laying path is valid; the turnaround there needs 4th-axis eye orientation — i.e. Phase 3 (#328). Decision: Phase 2 guarantees the laying path (λ≤μ), reports|r'(cap)|, and warns when the turnaround needs Phase 3 — it does not block. This keeps the "reach the tip" claim honest (software delivers the path; the steep-tip delivery is #328).Ships as 3 PRs (math core / validator+dispatch+μ threading /
.wind+config+CLI+docs), each with a per-PR adversarial review before merge.feat(planning): non-geodesic VK winding math core (#327)
feat(planning): non-geodesic layer validation + slip limit + dwell re…
feat(config): frictionLambda .wind field + slipLimit machine profile,…
feat(cli): fiberpath plan --profile for a calibrated machine profile (#…
CameronBrooks11 commentedon Aug 8, 2026
Phase 2 complete — non-geodesic winding shipped
All code merged to
mainacross four reviewed PRs (each: local gate → adversarial subagent review → act on findings → CI 3-OS green → rebase-merge):VonKarman.radius_curvature_at+ the adaptive non-geodesic ODE integrator (converged, platform-stable cap) +compute_profile_helical_kinematics(friction_lambda=…). λ=0 is byte-identical to the Phase-1 geodesic..wind/config surface, live:HelicalLayer.frictionLambda(schemaVersion 1.3, helical-only) +MachineProfile.slipLimit(profileVersion 1.1, μ ∈ (0, 0.5]) + conformance corpus + example + docs + regenerated artifacts.fiberpath plan --profile <path>so operators can supply a calibrated μ.What it does
A helical layer on a Von Kármán profile sets
frictionLambda(λ = k_g/k_n) to deviate from the geodesic and climb past the turnaround toward the tip, laying a progressively smaller bare cap as λ rises, bounded by the machine slip limit μ (slipLimit). At λ=0.5 the laying reaches within ~1 mm of the tip.Honesty about the boundary (the dwell)
Phase 2 guarantees the laying path (λ ≤ μ) and reports the turnaround dwell demand
|r'(cap)|. When the dwell exceeds μ, the laying reaches the cap but the circumferential reversal needs 4th-axis delivery — flagged in the G-code as Phase 3 (#328). This is the epic's Phase-2/Phase-3 boundary, stated plainly rather than over-claimed.Numerical note
μ is capped at 0.5 (the adaptive integrator is converged and cross-platform-stable over λ∈[0, 0.5]; beyond ~1.0 the cap goes non-deterministic). Higher-friction / exact-tip winding is a future integrator-hardening improvement.
Follow-up
wind.schema.json(org-pages) to schemaVersion 1.3 (cross-repo;$idURL unchanged).Closing as complete. Phase 3 (#328,
needs-hardware) remains for the steep-tip delivery kinematics + a physically wound coupon.chore(release): bump to 0.11.0 (#368)
docs: bring capability docs in line with what shipped, and add AGENTS…
CameronBrooks11 commentedon Oct 19, 2026
The local
working/vk-phase2-plan.mdreferenced above is gone. Its decisions are in this thread; the items it left open for Phase 3 (the turnaround dwell figures, the tip floor, a material model for μ and a published-trajectory check) are now on #328.