mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-08 13:01:52 +00:00
739524a173
Ruled lofts of zig-zag outlines worked out with the prismatoid formula, rotated rectangle sections turning through half a turn (Pappus), ring sections with round and rectangular holes, a cone loft meeting a cylinder wall near its top, a loft standing on a box face, a loft cut limited by targets, and a refusal for sections in one plane. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
141 lines
1.6 KiB
JSON
141 lines
1.6 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": "A"
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.rectangle.center",
|
|
"params": {
|
|
"center": [
|
|
0,
|
|
0
|
|
],
|
|
"corner": [
|
|
20,
|
|
15
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.rectangle.center",
|
|
"params": {
|
|
"center": [
|
|
0,
|
|
0
|
|
],
|
|
"corner": [
|
|
10,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.finish",
|
|
"params": {}
|
|
},
|
|
{
|
|
"command": "sketch.create",
|
|
"params": {
|
|
"plane": {
|
|
"origin": [
|
|
0.0,
|
|
0.0,
|
|
24.0
|
|
],
|
|
"x_dir": [
|
|
1,
|
|
0,
|
|
0
|
|
],
|
|
"y_dir": [
|
|
0,
|
|
1,
|
|
0
|
|
]
|
|
},
|
|
"name": "B"
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.rectangle.center",
|
|
"params": {
|
|
"center": [
|
|
0,
|
|
0
|
|
],
|
|
"corner": [
|
|
14,
|
|
10
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.rectangle.center",
|
|
"params": {
|
|
"center": [
|
|
0,
|
|
0
|
|
],
|
|
"corner": [
|
|
6,
|
|
3
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.finish",
|
|
"params": {}
|
|
},
|
|
{
|
|
"command": "solid.loft",
|
|
"params": {
|
|
"sections": [
|
|
{
|
|
"sketch": "A",
|
|
"profiles": [
|
|
{
|
|
"point": [
|
|
15,
|
|
0
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"sketch": "B",
|
|
"profiles": [
|
|
{
|
|
"point": [
|
|
10,
|
|
0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"operation": "new",
|
|
"body_name": "RectRing"
|
|
}
|
|
}
|
|
]
|
|
} |