Files
solidcraft/tests/kernel-cases/sweeps/96-loft-cut-box-sections-top-first/recipe.json
T
Brennen HerbruckandClaude Sonnet 5.5 bec9db59e6 kernel-cases: sweeps loft cases from #96-#3936 (shallow cuts, cones, comb, rails)
A shallow loft cut from a slab top face, a loft cut whose sections touch the block sides given in either order, circles lofted into a cone on a turned-over plane, a loft guided by a rail, a circle lofted to a comb outline, a square lofted to a circle, and a circle-to-rectangle loft joined to a cylinder.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-27 02:28:45 -04:00

115 lines
1.3 KiB
JSON

{
"commands": [
{
"command": "solid.box",
"params": {
"length": 100,
"width": 60,
"height": 30,
"corner": [
0,
0,
0
],
"body_name": "Basin"
}
},
{
"command": "sketch.create",
"params": {
"plane": {
"origin": [
0.0,
0.0,
20.0
],
"x_dir": [
1,
0,
0
],
"y_dir": [
0,
1,
0
]
},
"name": "Top"
}
},
{
"command": "sketch.rectangle.two_point",
"params": {
"p0": [
0,
0
],
"p1": [
100,
60
]
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "sketch.create",
"params": {
"plane": {
"origin": [
0.0,
0.0,
11.0
],
"x_dir": [
1,
0,
0
],
"y_dir": [
0,
1,
0
]
},
"name": "Pad"
}
},
{
"command": "sketch.rectangle.two_point",
"params": {
"p0": [
2,
2
],
"p1": [
12,
12
]
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.loft",
"params": {
"sections": [
{
"sketch": "Top"
},
{
"sketch": "Pad"
}
],
"operation": "cut",
"targets": [
"Basin"
]
}
}
]
}