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.0,
0.0
],
"x_dir": [
1,
0,
0
],
"y_dir": [
0,
1,
0
]
},
"name": "Ring"
}
},
{
"command": "sketch.circle.center",
"params": {
"center": [
0,
0
],
"radius": 79.815
}
},
{
"command": "sketch.circle.center",
"params": {
"center": [
0,
0
],
"radius": 78.285
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.extrude",
"params": {
"distance": 10,
"direction": "negative",
"profiles": [
{
"point": [
79,
0
]
}
],
"body_name": "Collar"
}
},
{
"command": "sketch.create",
"params": {
"plane": {
"origin": [
0.0,
0.0,
0.0
],
"x_dir": [
1,
0,
0
],
"y_dir": [
0,
0,
1
]
},
"name": "Path"
}
},
{
"command": "sketch.arc.three_point",
"params": {
"start": [
0,
0
],
"through": [
1.8218436385677137,
18.497488881959192
],
"end": [
7.217362124942355,
36.284129639696
],
"id": "a1"
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.sweep",
"params": {
"sketch": "Ring",
"path_sketch": "Path",
"path": [
"a1"
],
"profiles": [
{
"point": [
79,
0
]
}
],
"operation": "join",
"targets": [
"Collar"
]
}
}
]
}