SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.
{
"commands": [
{
"command": "sketch.create",
"params": {
"plane": "XY"
}
},
{
"command": "sketch.circle.center",
"params": {
"center": [
0,
0
],
"radius": 25
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.extrude",
"params": {
"distance": 50,
"operation": "new",
"body_name": "Cyl"
}
},
{
"command": "sketch.create",
"params": {
"plane": "XY",
"offset": 50
}
},
{
"command": "sketch.rectangle.two_point",
"params": {
"p0": [
-12.5,
-12.5
],
"p1": [
12.5,
12.5
]
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.extrude",
"params": {
"distance": 50,
"direction": "negative",
"operation": "cut"
}
},
{
"command": "sketch.create",
"params": {
"plane": {
"origin": [
25,
0,
0
],
"x_dir": [
0,
1,
0
],
"y_dir": [
0,
0,
1
]
}
}
},
{
"command": "sketch.circle.center",
"params": {
"center": [
0,
25
],
"radius": 20
}
},
{
"command": "sketch.line",
"params": {
"points": [
[
0,
0
],
[
0,
50
]
]
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.extrude",
"params": {
"distance": 58,
"direction": "negative",
"operation": "cut",
"profiles": [
0,
1
]
}
}
]
}