Prepare PCB external layout or routing import
easyeda_prepare_pcb_external_importValidate and stage external PCB layout or routing files—Specctra SES, EasyEDA JSON, or DXF—with geometry checks, safety preview, and exact confirmation before any PCB changes.
Instructions
Validates and stages external layout or routing files (Specctra SES, EasyEDA router JSON, EasyEDA layout JSON, DXF) with geometry validation, safety preview, and exact confirmation phrase. Does not modify the PCB until confirmed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | External format to parse and import. | |
| target | No | Expected active PCB target. | |
| content | No | Inline text or JSON content of the external file. | |
| filePath | No | Absolute or relative path to local external file to import. | |
| timeoutMs | No | ||
| defaultNet | No | Default net name for imported routing traces. | |
| dryRunOnly | No | If true, validates and parses geometry without staging a mutation. | |
| netMapping | No | Dictionary mapping external net names to project net names. | |
| targetLayer | No | Default or target PCB layer for imported geometries (default: 1 for Top, 10 for BoardOutline/DXF). | |
| layerMapping | No | Dictionary mapping external layer identifiers to EasyEDA layer IDs/names. |