Repository navigation
Reduce RestPocket air cutting with committed stock sweeps (#25) - #383
Merged
10-X-eng merged 1 commit intoNov 22, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #25. RestPocket can now omit a stroke when the committed cutter sweeps prove its full footprint clear at the declared rest height budget. The whole-cell check remains the first pass. Cells that straddle a pocket wall can retain a coarse upper bound even where the previous tool cleared the complete stroke. A bounded sweep query resolves those cases. Uncertainty or budget exhaustion keeps the stroke.
rest-pocketworkload, modeled from the released pathBoth runs used the same synthetic tools, stock, and machine declaration on macOS arm64. The lower and upper stock removal, residual and overcut bounds matched. The stronger proof omitted 98 additional guide pieces. The remaining route uses more individual approaches, with a shorter modeled cycle. The independent stock, source geometry, assembly, fixture and decoded posting checks still run.
Local macOS arm64 validation passed 1,129 Rust tests with the pinned 1.100 CI profile, the doctest, strict Clippy, the Rust 1.88 build check, Ruff, and 1,103 Python tests with 21 skips. Four tests passed against the installed wheel. All 64 release benchmarks matched the checked-in expectations. The same-host baseline comparison found toolpath changes only in
rest-pocket. The regenerated standalone NC fixture matches both independently checked posts byte for byte.