remove_traces
Remove trace segments from a KiCad PCB by filtering with net name, layer, or bounding box. Vias are preserved.
Instructions
Remove trace segments matching the given filters. Does not remove vias. At least one filter (net_name, layer, or bounding box) is required.
Args:
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 |
|---|---|---|---|
| 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_removed | Yes | ||
| net | Yes | ||
| layer | Yes |