# Selected Lean Foundations Examples

This pack contains only the currently selected lean API buckets: Curve / Route and route endpoint canonicalization. Surface, standalone Frame, FaceRef, and topology-selector expansion examples were intentionally left out of this split.

Run these with `node dist-cli/forgecad.js run <file>`:

- `curve-blend-exact.forge.js` - `Curve.Blend` and `Curve.BlendG2` as exact reference rails that also feed `sweep`.
- `curve-fit-interpolation.forge.js` - `Curve.Fit` interpolation with residual validation.
- `curve-helix-canonicalization.forge.js` - `Curve.Helix` path and coil canonicalization.
- `curve-route-canonicalization.forge.js` - `Curve.Route.fromPolyline()` segment and port preservation.
- `curve-trim-reverse.forge.js` - exact trim and reverse operations.
- `exact-curve-arc.forge.js` - exact `Curve.Arc` construction and sweep use.
