design_trace_lines
Detect straight line segments in an image or canvas using Hough transform after edge detection, then optionally create a trace layer for further editing.
Instructions
Detect straight line segments using Hough transform. Runs edge detection first, then finds lines.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceId | No | Reference image asset ID (default: current canvas). | |
| threshold | No | Min votes for line detection (default: 50). | |
| maxLineGap | No | Max gap to merge segments (default: 10). | |
| createLayer | No | Create a trace layer (default: true). | |
| minLineLength | No | Minimum line length in pixels (default: 30). |