Skip to content

Reduce RestPocket air cutting with committed stock sweeps (#25) - #383

Merged
10-X-eng merged 1 commit into
stevecad:mainfrom
bhupendrafire-ai:codex/rest-pocket-air-25-20261122
Nov 22, 2026
Merged

10-X-eng merged 1 commit into
stevecad:mainfrom
bhupendrafire-ai:codex/rest-pocket-air-25-20261122

Conversation

@bhupendrafire-ai

Copy link
Copy Markdown
Collaborator

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.

Existing rest-pocket workload, modeled from the released path Base This PR
Rest air feed 175.491 mm 27.999 mm
Rest feed distance 310.735 mm 103.496 mm
Rest rapid distance 55.803 mm 119.801 mm
Rest retracts 12 22
Rest nominal tangent cycle 39.557 s 24.983 s
Rest removed material 2.000 mm³ 2.000 mm³
Total posted blocks 225 174

Both 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.

@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 e992810 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.

2 participants