remove_traces
Remove PCB trace segments by net, layer, or bounding box filters while leaving vias intact.
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. Optional; omit to use the configured default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | ||
| x_max | No | ||
| x_min | No | ||
| y_max | No | ||
| y_min | No | ||
| net_name | No | ||
| pcb_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net | Yes | ||
| layer | Yes | ||
| traces_removed | Yes |