create_pattern
Input vertex points to create a pattern piece, returning outline lines for sewing, hemming, and topstitching.
Instructions
Create a new pattern piece from vertex points.
Args: points: List of [x, y] or [x, y, type] coordinates in mm. Type: 0=straight (default), 2=spline, 3=bezier. Example: [[0,0], [100,0], [100,200], [0,200]]
Returns the new pattern_index and its outline lines (line_index, start, end, length), so you can sew, hem or topstitch without looking the piece up.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | Yes |