Living hinge
living_hingeFills a rectangle of a sketch with the staggered slits of a living hinge, so the sheet bends there, as the Laser menu's Living hinge does. lines: one line of a rectangle drawn with add_geometry, or its four. cut_length, bridge (left uncut between slits in a row), pitch (between rows); the slits run along its long or short side (along). bend: degrees it folds, for the folded view. A rectangle drawn on a part marks the zone and turns construction; the part's own outline stays cut.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sketch_id": "<sketch_id>",
"lines": "<lines>"
},
"name": "living_hinge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bend | No | ||
| along | No | ||
| lines | Yes | ||
| pitch | No | ||
| bridge | No | ||
| sketch_id | Yes | ||
| cut_length | No |