add_track_path
Draw a connected multi-segment PCB track through points, assign a net, and verify connectivity and clearance in one step.
Instructions
Draw a connected multi-segment track through a list of points in one step, then check both ends are connected and nothing is too close.
Args: points: Vertices, each [x, y] or {"x_mm":.., "y_mm":..}; at least 2. net_name: Net to assign (must exist; e.g. 'GND', '/MOTOR_A'). layer: Copper layer name. width_mm: Track width; default is the net's netclass width. rollback_on_conflict: Undo the path if any clearance problem is found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | F.Cu | |
| points | Yes | ||
| net_name | Yes | ||
| width_mm | No | ||
| rollback_on_conflict | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||