A hole drilled along a panel, into its rim, has no place in the flat pattern as a cut-out, so every such hole was refused. It is now kept as a bore of that panel, in flat coordinates, and cut only from that panel's material when the folded part and its flat pattern are built, so the sheet still unfolds and folds back with it. A hole that would run into a bend, or cross a panel at an angle, is still refused. The flat pattern lists the bores. The action matrix worker takes ACTION_MATRIX_ONLY (just these actions) and ACTION_MATRIX_UNFOLD (unfold and refold every sheet after each action) for rechecking one group by hand. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b34d45233d
commit
6cb3025b72
8 files changed
+413
-90
No files matched your search
@@ -21,6 +21,11 @@ The test is [`apps/solidcraft-cli/tests/action_matrix.rs`](../apps/solidcraft-cl
|
||||
For a quick local look, `ACTION_MATRIX_ACTIONS=edge.fillet,edge.chamfer` tries only those actions (never
|
||||
bless such a run) and `ACTION_MATRIX_VALIDITY=1` adds each passing action's body check (`Body::validity`)
|
||||
to the results.
|
||||
`ACTION_MATRIX_UNFOLD=1` also unfolds and refolds every sheet metal body after each action that
|
||||
passed, recorded as `<action>+unfold`. To recheck one design on its own:
|
||||
`ACTION_MATRIX_DESIGN=oracle/69-sm-tray ACTION_MATRIX_OUT=out.jsonl ACTION_MATRIX_ACTIONS=face.hole
|
||||
cargo test --profile ci -p solidcraft-cli --test action_matrix action_matrix_worker -- --exact --ignored`
|
||||
(from `apps/solidcraft-cli`).
|
||||
|
||||
Each design runs in its own process, so an action that hangs (90 s without a result) or aborts is
|
||||
recorded as `timeout` or `crash` and the rest of the design still runs. Loading a design, before
|
||||
|
||||
Reference in new issue
Block a user