offset_internal_line
Create parallel internal lines (e.g., hem folds, pleats) offset from an outline line, with control over distance, count, side, and extension.
Instructions
Create internal lines parallel to an outline line (e.g. hem fold or pleat lines).
The offset must fit inside the piece; if CLO creates nothing, the tool returns an error (try reverse=True, a smaller distance, or a longer line).
Args: pattern_index: Pattern to draw on. line_index: Outline line to offset from. distance: Distance between lines in mm. count: Number of lines to create. reverse: Offset to the other side. extend: Extend the new lines to the piece outline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| extend | No | ||
| reverse | No | ||
| distance | Yes | ||
| line_index | Yes | ||
| pattern_index | Yes |