SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.
{
"commands": [
{
"command": "solid.box",
"params": {
"corner": [
0,
0,
0
],
"length": 100,
"width": 60,
"height": 3,
"body_name": "Tray"
}
},
{
"command": "solid.box",
"params": {
"corner": [
0,
0,
0
],
"length": 100,
"width": 4,
"height": 12,
"operation": "join",
"targets": [
"Tray"
]
}
},
{
"command": "solid.box",
"params": {
"corner": [
0,
56,
0
],
"length": 100,
"width": 4,
"height": 12,
"operation": "join",
"targets": [
"Tray"
]
}
},
{
"command": "sketch.create",
"params": {
"plane": "XY",
"offset": 3,
"name": "Ribs"
}
},
{
"command": "sketch.line",
"params": {
"points": [
[
8.0,
4
],
[
8.0,
56
]
]
}
},
{
"command": "sketch.line",
"params": {
"points": [
[
13.6,
4
],
[
13.6,
56
]
]
}
},
{
"command": "sketch.line",
"params": {
"points": [
[
19.2,
4
],
[
19.2,
56
]
]
}
},
{
"command": "sketch.line",
"params": {
"points": [
[
24.799999999999997,
4
],
[
24.799999999999997,
56
]
]
}
},
{
"command": "sketch.line",
"params": {
"points": [
[
30.4,
4
],
[
30.4,
56
]
]
}
},
{
"command": "sketch.line",
"params": {
"points": [
[
36.0,
4
],
[
36.0,
56
]
]
}
},
{
"command": "sketch.line",
"params": {
"points": [
[
41.599999999999994,
4
],
[
41.599999999999994,
56
]
]
}
},
{
"command": "sketch.line",
"params": {
"points": [
[
47.199999999999996,
4
],
[
47.199999999999996,
56
]
]
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.extrude",
"params": {
"thin": true,
"thickness": 1.2,
"side": "center",
"distance": 9,
"operation": "join",
"targets": [
"Tray"
],
"name": "Ribs"
}
},
{
"command": "solid.fillet",
"params": {
"radius": 1.5,
"edges": [
[
7.4,
4,
7.5
],
[
7.4,
56,
7.5
],
[
8.6,
4,
7.5
],
[
8.6,
56,
7.5
],
[
13.0,
4,
7.5
],
[
13.0,
56,
7.5
],
[
14.2,
4,
7.5
],
[
14.2,
56,
7.5
],
[
18.599999999999998,
4,
7.5
],
[
18.599999999999998,
56,
7.5
],
[
19.8,
4,
7.5
],
[
19.8,
56,
7.5
],
[
24.199999999999996,
4,
7.5
],
[
24.199999999999996,
56,
7.5
],
[
25.4,
4,
7.5
],
[
25.4,
56,
7.5
],
[
29.799999999999997,
4,
7.5
],
[
29.799999999999997,
56,
7.5
],
[
31.0,
4,
7.5
],
[
31.0,
56,
7.5
],
[
35.4,
4,
7.5
],
[
35.4,
56,
7.5
],
[
36.6,
4,
7.5
],
[
36.6,
56,
7.5
],
[
40.99999999999999,
4,
7.5
],
[
40.99999999999999,
56,
7.5
],
[
42.199999999999996,
4,
7.5
],
[
42.199999999999996,
56,
7.5
],
[
46.599999999999994,
4,
7.5
],
[
46.599999999999994,
56,
7.5
],
[
47.8,
4,
7.5
],
[
47.8,
56,
7.5
]
]
}
}
]
}