SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.
{
"commands": [
{
"command": "sketch.create",
"params": {
"plane": {
"origin": [
0,
0,
0
],
"x_dir": [
1,
0,
0
],
"y_dir": [
0,
1,
0
]
},
"name": "P"
}
},
{
"command": "sketch.circle.center",
"params": {
"center": [
0,
0
],
"radius": 5
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "sketch.create",
"params": {
"plane": "XY",
"name": "Q"
}
},
{
"command": "sketch.options",
"params": {
"sketch": "Q",
"sketch_3d": true
}
},
{
"command": "sketch.line3d",
"params": {
"points": [
[
0,
0,
0
],
[
0,
0,
-30
]
]
}
},
{
"command": "sketch.line3d",
"params": {
"points": [
[
0,
0,
-30
],
[
25,
0,
-30
]
]
}
},
{
"command": "sketch.line3d",
"params": {
"points": [
[
25,
0,
-30
],
[
25,
20,
-30
]
]
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.sweep",
"params": {
"sketch": "P",
"path_sketch": "Q",
"path": [
"w1",
"w2",
"w3"
],
"operation": "new"
}
}
]
}