Prepare PCB net constraint mutation
easyeda_prepare_pcb_net_constraintPrepares net class, differential pair, and length group changes with a safety preview and exact confirmation phrase, preventing PCB edits until you approve them.
Instructions
Prepares creating, modifying, or deleting net classes, differential pairs, or equal length groups with safety preview, API capability check, and exact confirmation phrase. Does not modify the PCB until confirmed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the net class, differential pair, or length group. | |
| nets | No | Member net names (for netClass or lengthGroup). | |
| action | Yes | Action: 'create', 'modify', or 'delete'. | |
| entity | Yes | Entity type to mutate: 'netClass', 'differentialPair', or 'lengthGroup'. | |
| target | No | Expected active PCB target. | |
| clearance | No | Isolation clearance in mm (for netClass). | |
| timeoutMs | No | ||
| properties | No | Property modifications dictionary (for modify action). | |
| traceWidth | No | Trace width in mm. | |
| negativeNet | No | Negative net name for differential pair. | |
| positiveNet | No | Positive net name for differential pair. | |
| toleranceMm | No | Length matching skew tolerance in mm. | |
| viaDiameter | No | Via outer diameter in mm (for netClass). | |
| targetLengthMm | No | Target length in mm for length group. | |
| differentialGap | No | Differential pair spacing/gap in mm. | |
| targetImpedance | No | Target differential impedance in Ohms (e.g. 90, 100). | |
| viaHoleDiameter | No | Via drill hole diameter in mm (for netClass). |