12 lines
617 B
JSON
12 lines
617 B
JSON
{
|
|
"name": "demo_loft",
|
|
"operations": [
|
|
{ "op": "sketch_rect", "id": "bottom_sq", "params": { "width": 20, "height": 20, "x_offset": -10, "y_offset": -10 } },
|
|
{ "op": "translate_z", "id": "bottom_profile", "target": "bottom_sq", "params": { "dz": 0 } },
|
|
{ "op": "sketch_circle", "id": "top_circle_raw", "params": { "radius": 8 } },
|
|
{ "op": "translate_z", "id": "top_profile", "target": "top_circle_raw", "params": { "dz": 30 } },
|
|
{ "op": "loft", "id": "final", "target": "top_profile", "params": { "profile_ids": ["bottom_profile", "top_profile"], "ruled": false } }
|
|
],
|
|
"output": "final"
|
|
}
|