set_trace_width
Modify existing PCB trace widths by net name, layer, or bounding box filters. Provide new width in mm.
Instructions
Change the width of existing traces matching the given filters. At least one filter (net_name, layer, or bounding box) is required.
Args:
width: New trace width in mm
net_name: Filter by net name
layer: Filter by layer name (e.g. "F.Cu", "B.Cu")
x_min: Left edge of bounding box filter (mm)
y_min: Top edge of bounding box filter (mm)
x_max: Right edge of bounding box filter (mm)
y_max: Bottom edge of bounding box filter (mm)
pcb_path: Path to .kicad_pcb file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | ||
| net_name | No | ||
| layer | No | ||
| x_min | No | ||
| y_min | No | ||
| x_max | No | ||
| y_max | No | ||
| pcb_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| traces_modified | Yes | ||
| net | Yes | ||
| new_width_mm | Yes |