Files
CADmind/backend/examples/demo_boolean_combine.json
2026-09-24 10:40:57 +08:00

12 lines
554 B
JSON

{
"name": "demo_boolean_combine",
"operations": [
{ "op": "sketch_circle", "id": "s1", "params": { "radius": 10 } },
{ "op": "extrude", "id": "body1", "target": "s1", "params": { "amount": 10 } },
{ "op": "sketch_rect", "id": "s2", "params": { "width": 8, "height": 8, "x_offset": -4, "y_offset": -4 } },
{ "op": "extrude", "id": "body2", "target": "s2", "params": { "amount": 20 } },
{ "op": "boolean_combine", "id": "final", "target": "body1", "params": { "with_id": "body2", "operation": "union" } }
],
"output": "final"
}