Skip to content

Fix flat finishing offsets around faceted round bosses - #385

Merged
10-X-eng merged 1 commit into
stevecad:mainfrom
bhupendrafire-ai:codex/flat-round-boss-382
Nov 22, 2026
Merged

10-X-eng merged 1 commit into
stevecad:mainfrom
bhupendrafire-ai:codex/flat-round-boss-382

Conversation

@bhupendrafire-ai

Copy link
Copy Markdown
Collaborator

Closes #382.

On a 40 × 30 mm plate with a 14 mm round boss, the current engine refuses a zero-area loop made by expansion of the faceted boss shadow. The reproduction uses a 6 mm cutter, 2, 2.5 and 3 mm stepovers, and 0 or 0.2 mm radial stock. The issue's source CAD was unavailable, so the regression builds its own geometry.

  • Cover shallow notches in the protective shadow with a bounded outer envelope before expansion. The envelope only enlarges protected material, records the boundary displacement, and passes ordinary topology validation.
  • Ignore finite closed, two-vertex straight retraces from the construction kernel. The two directed edges cancel exactly. All remaining boundaries and all cuts go through the existing validation.
  • Refuse a nonadvancing erosion or one that stays nonempty beyond the component's geometric depth limit. Count accumulated offset vertices against the existing memory budget.

The round-boss cases and a 72-facet island with a 0.00003 mm edge ran to completion with stock checks enabled. Their posted files passed NC readback and the declared synthetic machine check without accepted exceptions. The no-entry case refuses at the normal ramp-entry gate.

Local macOS arm64 checks passed: 1,130 Rust tests, 1,105 Python tests, the doctest, 12 benchmark tests, five installed-wheel tests, Rust 1.88 compatibility, Clippy, and Ruff. All 64 release benchmark workloads matched the existing toolpath expectations.

@10-X-eng
10-X-eng added this pull request to the merge queue Nov 22, 2026
Merged via the queue into stevecad:main with commit 67311ee Nov 22, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flat: contour-parallel passes fail around a round boss (loop offset: boundaries intersect or touch; or the run never finishes)

2 participants