Files
makeCAD/tests/kernel-cases/sweeps/2005-closed-sweep-twisted-cut-inside-a-torus/recipe.json
T
Brennen Herbruck b86ae1b6b4 Wave 65/509: kernel-cases: sweeps closed, twisted and joined sweeps from #561-#3897, ribs, tripod pipes
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 5f131cb88 Brennen Herbruck: kernel-cases: sweeps closed, twisted and joined sweeps from #561-#3897, ribs, tripod pipes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 06:20:50 -04:00

151 lines
1.8 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.circle.center",
"params": {
"center": [
0,
0
],
"radius": 30
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "sketch.create",
"params": {
"plane": {
"origin": [
0.0,
0.0,
0.0
],
"x_dir": [
1,
0,
0
],
"y_dir": [
0,
0,
1
]
},
"name": "Tube"
}
},
{
"command": "sketch.circle.center",
"params": {
"center": [
30,
0
],
"radius": 8
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.revolve",
"params": {
"axis": "Z",
"angle": "360 deg",
"operation": "new",
"body_name": "Torus"
}
},
{
"command": "sketch.create",
"params": {
"plane": {
"origin": [
0.0,
0.0,
0.0
],
"x_dir": [
1,
0,
0
],
"y_dir": [
0,
0,
1
]
},
"name": "SweepProfile"
}
},
{
"command": "sketch.line",
"params": {
"points": [
[
26,
-4
],
[
34,
-4
],
[
34,
4
],
[
26,
4
]
],
"infer": false,
"closed": true
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.sweep",
"params": {
"sketch": "SweepProfile",
"path_sketch": "Path",
"path": [
"c1"
],
"operation": "cut",
"twist": "180 deg"
}
}
]
}