apps/solidcraft-cli/tests/action_matrix.rs tries sketch, offset/angle/mid planes, press pull, extrude from a face, hole, draft, shell, fillet, chamfer, axes, points, planes, projection, move, copy, mirror and pattern on the final bodies of 104 designs (the old design files, the examples, the 76 reference recipes, the enclosure demos, the Pi case built through the UI, eight typical parts), through the commands and picks the desktop sends, each design in its own process, with an edit round on a sample of passes. tests/action_matrix/baseline.json is a ratchet: an action that passed there and fails now fails the test; newly passing ones are reported for cargo xtask action-matrix --bless. Every CI run checks a fixed sample; the nightly Action matrix job runs the whole matrix in four parts. 30,567 of 35,576 actions pass (85.9%); results and causes in docs/action-matrix.md, one ignored reproduction per open cause (#556-#568). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
90 lines
1.1 KiB
JSON
90 lines
1.1 KiB
JSON
{
|
|
"description": "A stepped knob revolved about Z: a flange, a waist and a cap, then the cap's top edge rounded.",
|
|
"commands": [
|
|
{
|
|
"command": "parameters.change",
|
|
"params": {
|
|
"name": "flange_r",
|
|
"expression": "20 mm"
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.create",
|
|
"params": {
|
|
"plane": "XZ",
|
|
"name": "Profile"
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.line",
|
|
"params": {
|
|
"points": [
|
|
[
|
|
0,
|
|
0
|
|
],
|
|
[
|
|
20,
|
|
0
|
|
],
|
|
[
|
|
20,
|
|
6
|
|
],
|
|
[
|
|
10,
|
|
6
|
|
],
|
|
[
|
|
10,
|
|
24
|
|
],
|
|
[
|
|
14,
|
|
24
|
|
],
|
|
[
|
|
14,
|
|
34
|
|
],
|
|
[
|
|
0,
|
|
34
|
|
]
|
|
],
|
|
"closed": true,
|
|
"ids": [
|
|
"l1",
|
|
"l2",
|
|
"l3",
|
|
"l4",
|
|
"l5",
|
|
"l6",
|
|
"l7",
|
|
"l8"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.dimension",
|
|
"params": {
|
|
"entities": [
|
|
"origin",
|
|
"l1.end"
|
|
],
|
|
"type": "horizontal",
|
|
"value": "flange_r"
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.finish",
|
|
"params": {}
|
|
},
|
|
{
|
|
"command": "solid.revolve",
|
|
"params": {
|
|
"axis": "Z"
|
|
}
|
|
}
|
|
]
|
|
} |