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": "Comb"
}
},
{
"command": "sketch.line",
"params": {
"points": [
[
-18,
0
],
[
18,
0
],
[
18,
16
],
[
14,
16
],
[
14,
6
],
[
10,
6
],
[
10,
16
],
[
6,
16
],
[
6,
6
],
[
2,
6
],
[
2,
16
],
[
-2,
16
],
[
-2,
6
],
[
-6,
6
],
[
-6,
16
],
[
-10,
16
],
[
-10,
6
],
[
-14,
6
],
[
-14,
16
],
[
-18,
16
]
],
"infer": false,
"closed": true
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "sketch.create",
"params": {
"plane": {
"origin": [
0.0,
0.0,
40.0
],
"x_dir": [
1,
0,
0
],
"y_dir": [
0,
1,
0
]
},
"name": "Round"
}
},
{
"command": "sketch.circle.center",
"params": {
"center": [
0,
8
],
"radius": 10
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.loft",
"params": {
"sections": [
{
"sketch": "Comb"
},
{
"sketch": "Round"
}
],
"operation": "new"
}
}
]
}