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
]
}
}
},
{
"command": "sketch.rectangle.two_point",
"params": {
"p0": [
-50,
-30
],
"p1": [
50,
30
]
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.extrude",
"params": {
"distance": 10,
"operation": "new",
"direction": "symmetric"
}
},
{
"command": "sketch.create",
"params": {
"plane": {
"origin": [
0,
0,
5
],
"x_dir": [
1,
0,
0
],
"y_dir": [
0,
1,
0
]
}
}
},
{
"command": "sketch.rectangle.two_point",
"params": {
"p0": [
10,
-30
],
"p1": [
20,
30
]
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.extrude",
"params": {
"distance": 10,
"operation": "join"
}
},
{
"command": "sketch.create",
"params": {
"plane": {
"origin": [
0,
0,
5
],
"x_dir": [
1,
0,
0
],
"y_dir": [
0,
1,
0
]
}
}
},
{
"command": "sketch.circle.center",
"params": {
"center": [
0,
10
],
"radius": 3
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.extrude",
"params": {
"distance": 4,
"operation": "cut",
"direction": "negative"
}
},
{
"command": "solid.mirror",
"params": {
"features": [
"Extrude3"
],
"plane": {
"origin": [
10,
0,
0
],
"normal": [
1,
0,
0
]
}
}
}
]
}