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,
0,
1
]
},
"name": "Bow"
}
},
{
"command": "sketch.line",
"params": {
"points": [
[
0,
0
],
[
0,
20
]
],
"infer": false,
"ids": [
"b1"
]
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "sketch.create",
"params": {
"plane": {
"origin": [
100.0,
0.0,
0.0
],
"x_dir": [
0,
1,
0
],
"y_dir": [
0,
0,
1
]
},
"name": "Stern"
}
},
{
"command": "sketch.line",
"params": {
"points": [
[
0,
0
],
[
40,
20
]
],
"infer": false,
"ids": [
"s1"
]
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "sketch.create",
"params": {
"plane": {
"origin": [
0.0,
0.0,
0.0
],
"x_dir": [
1,
0,
0
],
"y_dir": [
0,
0,
1
]
},
"name": "Keel"
}
},
{
"command": "sketch.line",
"params": {
"points": [
[
0,
0
],
[
100,
0
]
],
"infer": false,
"ids": [
"k1"
]
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "sketch.create",
"params": {
"plane": {
"origin": [
0.0,
0.0,
20.0
],
"x_dir": [
1,
0,
0
],
"y_dir": [
0,
1,
0
]
},
"name": "Sheer"
}
},
{
"command": "sketch.line",
"params": {
"points": [
[
0,
0
],
[
100,
40
]
],
"infer": false,
"ids": [
"h1"
]
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "surface.loft",
"params": {
"sections": [
{
"sketch": "Bow",
"curves": [
"b1"
]
},
{
"sketch": "Stern",
"curves": [
"s1"
]
}
],
"rails": [
{
"sketch": "Keel",
"curves": [
"k1"
]
},
{
"sketch": "Sheer",
"curves": [
"h1"
]
}
]
}
}
]
}