mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-09 06:35:52 -05:00
Shape.OffsetEntity computed joins between consecutive offset segments but never joined the last segment back to the first, leaving the closing corner with a straight line instead of a proper miter/arc. Track the first entity and apply the same join logic after the loop. Also wrap nest template loading in try-catch so a corrupt template file doesn't crash the app on startup — falls back to default nest. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>