silhouette_add_line
Adds a straight line between two millimeter coordinates, with optional dashed perforated segments for folding cardstock and selectable cut, score, or perf layers.
Instructions
Add a straight line between (x1_mm, y1_mm) and (x2_mm, y2_mm). If dashed=true, creates perforated segments ideal for folding cardstock/papercraft. dash_len_mm: cut segment length (default 3mm); gap_len_mm: un-cut gap length (default 2mm). layer: 'CUT', 'SCORE', 'PERF', etc.
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": {
"design": "<design>",
"x1_mm": "<x1_mm>",
"y1_mm": "<y1_mm>",
"x2_mm": "<x2_mm>",
"y2_mm": "<y2_mm>"
},
"name": "silhouette_add_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| layer | No | CUT | |
| x1_mm | Yes | ||
| x2_mm | Yes | ||
| y1_mm | Yes | ||
| y2_mm | Yes | ||
| dashed | No | ||
| design | Yes | ||
| gap_len_mm | No | ||
| dash_len_mm | No |