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": 200,
"width": 100,
"height": 20,
"body_name": "Block"
}
},
{
"command": "solid.box",
"params": {
"corner": [
90,
0,
20
],
"length": 20,
"width": 100,
"height": 10,
"operation": "join",
"targets": [
"Block"
]
}
},
{
"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": [
48.66025403784438,
38.66025403784438
],
"p1": [
80.83974596215562,
61.33974596215562
]
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.extrude",
"params": {
"distance": 15,
"taper": "30 deg",
"operation": "new",
"body_name": "Tool"
}
},
{
"command": "solid.combine",
"params": {
"target": "Block",
"tools": [
"Tool"
],
"operation": "intersect"
}
}
]
}