SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.
{
"commands": [
{
"command": "solid.sphere",
"params": {
"radius": 10,
"body_name": "Ball"
}
},
{
"command": "sketch.create",
"params": {
"plane": {
"origin": [
-10,
0,
0
],
"x_dir": [
0,
1,
0
],
"y_dir": [
0,
0,
1
]
},
"name": "Base"
}
},
{
"command": "sketch.rectangle.two_point",
"params": {
"p0": [
-10,
-10
],
"p1": [
10,
10
]
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "sketch.create",
"params": {
"plane": {
"origin": [
0,
0,
0
],
"x_dir": [
0,
1,
0
],
"y_dir": [
0,
0,
1
]
},
"name": "Apex"
}
},
{
"command": "sketch.point",
"params": {
"point": [
0,
0
],
"id": "apex"
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.loft",
"params": {
"sections": [
{
"sketch": "Base"
},
{
"sketch": "Apex",
"point": "apex"
}
],
"body_name": "Pyramid"
}
},
{
"command": "solid.combine",
"params": {
"target": "Ball",
"tools": [
"Pyramid"
],
"operation": "intersect"
}
}
]
}