15 lines
1.0 KiB
JSON
15 lines
1.0 KiB
JSON
{"commands": [
|
|
{"command": "parameters.change", "params": {"name": "width", "expression": "60 mm"}},
|
|
{"command": "parameters.change", "params": {"name": "thickness", "expression": "6 mm"}},
|
|
{"command": "sketch.create", "params": {"plane": "XZ", "name": "Profile"}},
|
|
{"command": "sketch.line", "params": {"points": [[0, 0], [40, 0], [40, 6], [6, 6], [6, 30], [0, 30]], "closed": true, "ids": ["a", "b", "c", "d", "e", "f"]}},
|
|
{"command": "sketch.finish", "params": {}},
|
|
{"command": "solid.extrude", "params": {"distance": "width", "direction": "negative", "body_name": "Bracket"}},
|
|
{"command": "solid.fillet", "params": {"edges": [[40, -30, -6]], "radius": 2}},
|
|
{"command": "sketch.create", "params": {"plane": "XY", "name": "Holes"}},
|
|
{"command": "sketch.circle.center", "params": {"center": [25, 15], "diameter": 8}},
|
|
{"command": "sketch.circle.center", "params": {"center": [25, 45], "diameter": 8}},
|
|
{"command": "sketch.finish", "params": {}},
|
|
{"command": "solid.extrude", "params": {"distance": "thickness", "operation": "cut"}}
|
|
]}
|