1fc1497af3
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop. - a9002968f Brennen Herbruck: kernel-cases: sweeps sweep and pipe cases from #96-#3505 (end scale, rails, corners, closed paths) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
233 lines
2.5 KiB
JSON
233 lines
2.5 KiB
JSON
{
|
|
"commands": [
|
|
{
|
|
"command": "sketch.create",
|
|
"params": {
|
|
"plane": {
|
|
"origin": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"x_dir": [
|
|
1,
|
|
0,
|
|
0
|
|
],
|
|
"y_dir": [
|
|
0,
|
|
1,
|
|
0
|
|
]
|
|
},
|
|
"name": "Path"
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.line",
|
|
"params": {
|
|
"points": [
|
|
[
|
|
-22,
|
|
-20
|
|
],
|
|
[
|
|
22,
|
|
-20
|
|
]
|
|
],
|
|
"infer": false,
|
|
"ids": [
|
|
"l1"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.arc.center_point",
|
|
"params": {
|
|
"center": [
|
|
22,
|
|
-12
|
|
],
|
|
"start": [
|
|
22,
|
|
-20
|
|
],
|
|
"end": [
|
|
30,
|
|
-12
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.line",
|
|
"params": {
|
|
"points": [
|
|
[
|
|
30,
|
|
-12
|
|
],
|
|
[
|
|
30,
|
|
12
|
|
]
|
|
],
|
|
"infer": false,
|
|
"ids": [
|
|
"l2"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.arc.center_point",
|
|
"params": {
|
|
"center": [
|
|
22,
|
|
12
|
|
],
|
|
"start": [
|
|
30,
|
|
12
|
|
],
|
|
"end": [
|
|
22,
|
|
20
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.line",
|
|
"params": {
|
|
"points": [
|
|
[
|
|
22,
|
|
20
|
|
],
|
|
[
|
|
-22,
|
|
20
|
|
]
|
|
],
|
|
"infer": false,
|
|
"ids": [
|
|
"l3"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.arc.center_point",
|
|
"params": {
|
|
"center": [
|
|
-22,
|
|
12
|
|
],
|
|
"start": [
|
|
-22,
|
|
20
|
|
],
|
|
"end": [
|
|
-30,
|
|
12
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.line",
|
|
"params": {
|
|
"points": [
|
|
[
|
|
-30,
|
|
12
|
|
],
|
|
[
|
|
-30,
|
|
-12
|
|
]
|
|
],
|
|
"infer": false,
|
|
"ids": [
|
|
"l4"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.arc.center_point",
|
|
"params": {
|
|
"center": [
|
|
-22,
|
|
-12
|
|
],
|
|
"start": [
|
|
-30,
|
|
-12
|
|
],
|
|
"end": [
|
|
-22,
|
|
-20
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.finish",
|
|
"params": {}
|
|
},
|
|
{
|
|
"command": "sketch.create",
|
|
"params": {
|
|
"plane": {
|
|
"origin": [
|
|
0.0,
|
|
-20.0,
|
|
0.0
|
|
],
|
|
"x_dir": [
|
|
0,
|
|
1,
|
|
0
|
|
],
|
|
"y_dir": [
|
|
0,
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"name": "Prof"
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.rectangle.center",
|
|
"params": {
|
|
"center": [
|
|
0,
|
|
0
|
|
],
|
|
"corner": [
|
|
2,
|
|
1.5
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.finish",
|
|
"params": {}
|
|
},
|
|
{
|
|
"command": "solid.sweep",
|
|
"params": {
|
|
"sketch": "Prof",
|
|
"path_sketch": "Path",
|
|
"path": [
|
|
"l1",
|
|
"a1",
|
|
"l2",
|
|
"a2",
|
|
"l3",
|
|
"a3",
|
|
"l4",
|
|
"a4"
|
|
],
|
|
"operation": "new"
|
|
}
|
|
}
|
|
]
|
|
} |