e1e7b4fceb
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop. - b13155cbb Brennen Herbruck: kernel-cases: sheet-metal cut-out, flange and refusal cases from #296, #1095, #1280, #1295, #1311, #1979, #3078, #3234, #3324, #3353 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
122 lines
1.6 KiB
JSON
122 lines
1.6 KiB
JSON
{
|
|
"commands": [
|
|
{
|
|
"command": "sheet.manage_rules",
|
|
"params": {
|
|
"name": "S",
|
|
"thickness": "2 mm",
|
|
"active": true,
|
|
"bend_radius": "2 mm",
|
|
"k_factor": 0.4
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.create",
|
|
"params": {
|
|
"plane": "XY",
|
|
"name": "Base"
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.rectangle.two_point",
|
|
"params": {
|
|
"p0": [
|
|
0,
|
|
0
|
|
],
|
|
"p1": [
|
|
100,
|
|
60
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.finish",
|
|
"params": {}
|
|
},
|
|
{
|
|
"command": "sheet.flange",
|
|
"params": {
|
|
"type": "base",
|
|
"sketch": "Base"
|
|
}
|
|
},
|
|
{
|
|
"command": "sheet.flange",
|
|
"params": {
|
|
"type": "edge",
|
|
"edges": [
|
|
[
|
|
50,
|
|
0,
|
|
2
|
|
]
|
|
],
|
|
"height": 20
|
|
}
|
|
},
|
|
{
|
|
"command": "sheet.flange",
|
|
"params": {
|
|
"type": "edge",
|
|
"edges": [
|
|
[
|
|
50,
|
|
60,
|
|
2
|
|
]
|
|
],
|
|
"height": 15
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.create",
|
|
"params": {
|
|
"plane": "XY",
|
|
"name": "Hole"
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.circle.center",
|
|
"params": {
|
|
"center": [
|
|
50,
|
|
30
|
|
],
|
|
"radius": 5
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.finish",
|
|
"params": {}
|
|
},
|
|
{
|
|
"command": "solid.extrude",
|
|
"params": {
|
|
"sketch": "Hole",
|
|
"through_all": true,
|
|
"direction": "symmetric",
|
|
"operation": "cut"
|
|
}
|
|
},
|
|
{
|
|
"command": "solid.mirror",
|
|
"params": {
|
|
"bodies": [
|
|
"Body1"
|
|
],
|
|
"plane": "YZ"
|
|
}
|
|
},
|
|
{
|
|
"command": "sheet.flat_pattern",
|
|
"params": {
|
|
"body": "Body1 (2)"
|
|
}
|
|
},
|
|
{
|
|
"command": "inspect.measure",
|
|
"params": {}
|
|
}
|
|
]
|
|
} |