SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.
{
"base": "../../01-primitives/001-box",
"commands": [
{
"command": "sketch.create",
"params": {
"plane": {
"origin": [
30,
20,
0
],
"x_dir": [
1,
0,
0
],
"y_dir": [
0,
0,
1
]
}
}
},
{
"command": "sketch.line",
"params": {
"points": [
[
0,
20
],
[
10,
30
],
[
0,
30
]
],
"ids": [
"s",
"t",
"ax"
],
"closed": true
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.revolve",
"params": {
"axis": "ax",
"operation": "cut",
"targets": [
"Part"
]
}
}
]
}