Skip to content

Support CAD floor trims and optional wall finishing in Flat - #386

Merged
10-X-eng merged 3 commits into
stevecad:mainfrom
bhupendrafire-ai:codex/flat-cad-371
Nov 22, 2026
Merged

10-X-eng merged 3 commits into
stevecad:mainfrom
bhupendrafire-ai:codex/flat-cad-371

Conversation

@bhupendrafire-ai

Copy link
Copy Markdown
Collaborator

Summary

  • Add optional FlatFloor trims with outer boundaries, holes, and declared boundary error. The CadQuery adapter exports upward horizontal faces with the existing floor-region exporter. The headless mesh-only input still works.
  • Add finish_walls=True to run wall-following contours after the floor at each level. Both the radial and axial allowances still apply. Each deferred contour goes through the existing part, limits, and live-stock checks.
  • Add regression coverage for a circular island, a CAD level with a hole, a mesh-only wall pass, an invalid floor height, and posted machine, stock, and material verification. Record a CAD wall-pass benchmark on frozen geometry.

Local verification

Tested commit ff2222ad2c66a30ff980d18ec8b596bf4b0ae838 on macOS arm64.

  • Rust workspace tests passed (1,130 passed and 5 ignored), along with the doctest, formatting, Clippy, and the Rust 1.88 build check.
  • Python suite passed (1,106 passed and 21 skipped), along with Ruff, 12 benchmark harness tests, and 15 tests against the installed wheel.
  • All 65 benchmark workloads matched expectations after three repetitions. The circular-island posted regression passed machine, live-stock and material checks with zero accepted findings and preserved the declared 0.2 mm radial allowance.

Linux, Windows and the standalone LinuxCNC interpreter are covered by upstream CI.

Closes #371.

@10-X-eng
10-X-eng enabled auto-merge November 22, 2026 21:38
@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 5e48f75 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 finishing: accept CAD floor boundaries and an optional final wall pass

2 participants