4009 closed shell, 4010 shell open at a hole wall, 2531 point pick after an edit, 3468/3898 offset next to a fillet, 12 split face piece, 566 swept bar, 745/3893 freeform boss (two variants), 3103 tapered cylinder, 3669/2990 loft, 3283/3650 and 2939 curved offsets, 3506 and 1972 split then shell, 3576, 391, 1494, 1525. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
123 lines
1.7 KiB
JSON
123 lines
1.7 KiB
JSON
{
|
|
"commands": [
|
|
{
|
|
"command": "parameters.add",
|
|
"params": {
|
|
"name": "L",
|
|
"expression": "100 mm",
|
|
"unit": "mm"
|
|
}
|
|
},
|
|
{
|
|
"command": "parameters.add",
|
|
"params": {
|
|
"name": "Y0",
|
|
"expression": "5 mm",
|
|
"unit": "mm"
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.create",
|
|
"params": {
|
|
"plane": "XY",
|
|
"name": "S"
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.rectangle.two_point",
|
|
"params": {
|
|
"p0": [
|
|
0,
|
|
5
|
|
],
|
|
"p1": [
|
|
100,
|
|
25
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.constraint.horizontal_vertical",
|
|
"params": {
|
|
"points": [
|
|
"origin",
|
|
"l1.start"
|
|
],
|
|
"mode": "vertical"
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.dimension",
|
|
"params": {
|
|
"entities": [
|
|
"origin",
|
|
"l1.start"
|
|
],
|
|
"type": "vertical",
|
|
"value": "Y0"
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.dimension",
|
|
"params": {
|
|
"entities": [
|
|
"l1"
|
|
],
|
|
"type": "length",
|
|
"value": "L"
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.dimension",
|
|
"params": {
|
|
"entities": [
|
|
"l4"
|
|
],
|
|
"type": "length",
|
|
"value": "20 mm"
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.finish",
|
|
"params": {}
|
|
},
|
|
{
|
|
"command": "solid.extrude",
|
|
"params": {
|
|
"sketch": "S",
|
|
"distance": "20 mm",
|
|
"operation": "new",
|
|
"body_name": "Bar"
|
|
}
|
|
},
|
|
{
|
|
"command": "solid.shell",
|
|
"params": {
|
|
"faces": [
|
|
[
|
|
100,
|
|
15,
|
|
10
|
|
]
|
|
],
|
|
"thickness": "2 mm",
|
|
"direction": "inside",
|
|
"body": "Bar"
|
|
}
|
|
},
|
|
{
|
|
"command": "parameters.change",
|
|
"params": {
|
|
"name": "L",
|
|
"expression": "150 mm"
|
|
}
|
|
},
|
|
{
|
|
"command": "parameters.change",
|
|
"params": {
|
|
"name": "Y0",
|
|
"expression": "15 mm"
|
|
}
|
|
}
|
|
]
|
|
} |