Skip to content

SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.

1.2 KB
Raw Blame
[
 {"note": "#193: copies of a body keep the fillets made after its extrude."},
 {"call": "engine.execute", "params": {"command": "sketch.create", "params": {"plane": "XY"}}},
 {"call": "engine.execute", "params": {"command": "sketch.rectangle.two_point", "params": {"p0": [0, 0], "p1": [20, 20]}}},
 {"call": "engine.execute", "params": {"command": "sketch.finish", "params": {}}},
 {"call": "engine.execute", "params": {"command": "solid.extrude", "params": {"distance": 20}}},
 {"call": "engine.execute", "params": {"command": "solid.fillet", "params": {"edges": [[0, 0, 10], [20, 0, 10], [0, 20, 10], [20, 20, 10]], "radius": 3}}},
 {"call": "ui.view", "params": {"view": "iso"}},
 {"expect": {"bodies": 1, "volume": [7845.39, 0.001]}},
 {"start": "solid.pattern.rectangular"},
 {"click": {"world": [10, 10, 20]}},
 {"call": "ui.dialogInput", "params": {"index": 1}},
 {"click": {"axis": "X"}},
 {"key": "Enter"},
 {"expect": {"bodies": 3, "errors": 0, "dialog": null, "volume": [23536.17, 0.001]}},
 {"call": "ui.editFeature", "params": {"feature": "RectangularPattern1"}},
 {"expect": {"dialog": "PatternRect"}},
 {"key": "Enter"},
 {"expect": {"bodies": 3, "errors": 0, "dialog": null, "volume": [23536.17, 0.001]}}
]