Repository navigation
PCB Wizard
Marius Stanciu edited this page Oct 29, 2026
·
1 revision
The PCB Wizard imports a drill file that comes with a separate INF file. The INF file holds the tool table, and the format and units of the drill file. The wizard merges both into one Excellon object. Use it when a drill file from a PCB design program does not load on its own.
- Menu: File > Import > PcbWizard Import.
- Keyboard: none.
- Choose File > Import > PcbWizard Import.
- Click Open next to Excellon file. Select the drill file, usually with a
.DRLextension. - Click Open next to INF file. Select the INF file.
- The Tool table shows the tool numbers and diameters from the INF file. The format fields fill in from the INF file.
- Check Int. digits, Frac. digits, Zeros supp. and Units. Change them if the drill file uses other values.
- Click Import Excellon. The new Excellon object appears in the Project tree.
Screenshot placeholder:
images/PCB-Wizard-1.png— the PcbWizard Import panel with both files loaded, the Tool table filled and the Excellon Format section.
Load files
| Parameter | Description | Default |
|---|---|---|
| Excellon file (Open) | Opens the drill file. Usually .DRL. |
— |
| INF file (Open) | Opens the INF file that holds the tool table. | — |
| Tool table (#Tool, Diameter) | Lists the tools from the INF file. Read only. Shown after the INF file loads. The diameters are in the file units. | Hidden |
Excellon Format
| Parameter | Description | Default |
|---|---|---|
| Int. digits | The number of digits of the integral part of the coordinates. Range 1 to 10. | 2 |
| Frac. digits | The number of digits of the fractional part of the coordinates. Range 1 to 10. | 4 |
| Zeros supp. (LZ / TZ / No Suppression) | The zero suppression of the coordinates. See the list below. | LZ |
| Units (Inch / mm) | The units of the coordinates and tool diameters. Changing it sets the digit defaults: Inch gives 2 and 4, mm gives 3 and 3. | Inch |
| Import Excellon | Builds the drill file with the format and tool table, then creates the Excellon object. Enabled after both files load. | — |
Zeros supp. (radio values):
- LZ: Leading zeros are kept.
- TZ: Trailing zeros are kept.
- No Suppression: No zeros are suppressed.
-
INF file content. The INF file must hold a tool table, with lines like
T01 0.8, and a format line. Without a tool table, the wizard shows an error. The error says to open the drill file through File > Open > Excellon and to set the drill diameters by hand. -
What the import builds. The wizard adds a header after each
M48line of the drill file. The header has the format, the units, the zero suppression and the tool table from the INF file. The drill file is then parsed as a normal Excellon file. - Values at import. The format fields are read again at each Import Excellon click. You can correct them after both files load, and the new values are used.
- Object name. The new object takes the name of the drill file.
- Errors. A file that is not an Excellon file gives "This is not Excellon file." A drill file with no geometry gives "No geometry found in file."
- Tcl. There is no Tcl command for this tool.
- Importing Files — the other file formats.
- Excellon Object — the object that the wizard creates.
- Excellon Editor — correct the drill diameters by hand.
- Drilling
- FAQ and Troubleshooting
FlatCAM Evo Manual · Source code · Report a problem · MIT license
Start here
- Installation
- Getting Started
- Tutorial: Single-Sided PCB
- Tutorial: Double-Sided PCB
- User Interface
- Keyboard Shortcuts
- Glossary
- FAQ and Troubleshooting
Files and projects
Objects
Editors
PCB operations
- Isolation Routing
- Non-Copper Clearing
- Paint
- Cutout
- Drilling
- Milling
- Follow
- Double-Sided
- Solder Paste
- Film
- Panelize
- Copper Thieving
- Fiducials
- Markers
- Punch Gerber
- Invert Gerber
- Etch Compensation
- Extract
- Rules Check
- QR Code
Utility plugins
- Align Objects
- Calculators
- Distance · Object Distance
- Optimal
- Move · Transform
- Subtract
- Image Import · PDF Import
- PCB Wizard
- Report
- Tcl Shell
Machine control (in development)
Advanced
- Tools Database
- Preprocessors
- Path Optimization
- Tcl Scripting
- Tcl Command Reference
- Developer Guide
- Translating
Preferences