mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-10-12 04:24:12 -04:00
AutomaticEntryCandidatesWithFallbacks completes the uncapped catalogue with tier-3 fallbacks after the preferred points: native arc midpoints, the eight compass points of a whole circle (a pure-circle contour is now usable instead of refusing), near-convex-corner points on each incident straight edge back from the corner by 2 x the applicable lead-in length using the emitter's own SelectLeadIn semantics (non-length lead-in styles contribute 0 and the fallback is omitted, never approximated), and the exact target-facing closest point toward the caller's look-ahead. Every fallback runs through the same reflex/cusp exclusion — a raw closest point or an inset landing on a forbidden inside corner is dropped — and the same geometric duplicate merge; short edges omit an out-of-segment inset by projection parameter instead of extrapolating. No ranking and no lead-safety verdict yet.