kicad_ctrl_execute_ripup
Remove specified net tracks and vias from a KiCad PCB file, returning a unified diff for review or applying it directly.
Instructions
Station 3: Execute rip-up — remove tracks and return a diff.
The API removes the tracks/vias and returns a unified diff. If apply_diff is True, the diff is applied to the local .kicad_pcb file. Otherwise, the diff is returned for review.
IMPORTANT: After applying, open the PCB in KiCad for manual rerouting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | Path to .kicad_pro, .kicad_pcb, or project directory | |
| net_names | Yes | Net names to rip up | |
| apply_diff | No | If True, apply the diff to the local file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||