SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.
{
"commands": [
{
"command": "sheet.manage_rules",
"params": {
"name": "S",
"thickness": "2 mm",
"active": true,
"bend_radius": "2 mm",
"k_factor": 0.4
}
},
{
"command": "sketch.create",
"params": {
"plane": "XY",
"name": "Base"
}
},
{
"command": "sketch.rectangle.two_point",
"params": {
"p0": [
0,
0
],
"p1": [
100,
60
]
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "sheet.flange",
"params": {
"type": "base",
"sketch": "Base"
}
},
{
"command": "sheet.flange",
"params": {
"type": "edge",
"edges": [
[
50,
0,
2
]
],
"height": 20
}
},
{
"command": "sheet.flange",
"params": {
"type": "edge",
"edges": [
[
50,
60,
2
]
],
"height": 15
}
},
{
"command": "sketch.create",
"params": {
"plane": "XY",
"name": "Hole"
}
},
{
"command": "sketch.circle.center",
"params": {
"center": [
50,
30
],
"radius": 5
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.extrude",
"params": {
"sketch": "Hole",
"through_all": true,
"direction": "symmetric",
"operation": "cut"
}
},
{
"command": "solid.mirror",
"params": {
"bodies": [
"Body1"
],
"plane": "YZ"
}
},
{
"command": "sheet.flat_pattern",
"params": {
"body": "Body1 (2)"
}
},
{
"command": "inspect.measure",
"params": {}
}
]
}