Check drill sizes and positions before sending a board
An Excellon viewer matches each drill hit to a tool number. Put the diameter in the tool table so that the viewer can find it when the drill program selects that number.
Move an inline diameter into the header
Input
%
T01C.024F80S50
X00125Y007
M30Output
M48
INCH,LZ
T01C0.024F80S50
%
G05
T01
X0.1250Y0.7000
M30The example uses inches and two integer digits with four decimal digits. The source omitted trailing zeros. The repaired program restores those zeros before writing coordinates with decimal points.
Check the result
- Confirm the units and the meaning of short coordinates in the original CAM export settings.
- Compare the tool table against the drill report from the source CAD program.
- Overlay the repaired file on the copper layers and measure a known pitch before fabrication.
Common problems
Separate tool definitions from hits
A line with a diameter defines the tool. A plain tool number in the body selects it for the following drill positions.
Commas in diameter lines
Some drill exporters write a comma before the decimal diameter. The repair removes the stray separator and keeps the numeric diameter.
Read the source format
The same short coordinate can produce very different positions under different zero padding settings. Use the original CAD settings before comparing the result with a known board size.
Using Drill Header Repair
Choose the drill program
Load the original DRL, XLN or text file from your PCB export.
Confirm the coordinate format
For a headerless program, use the units, digit counts and zero padding from the source CAD settings.
Verify the new drill layer
Download the repaired DRL and compare the hole centers and diameters over the copper layers in your drill viewer before ordering a board.
Offline use
Open the tool once online and let it finish loading. Use the install option in your browser or Add to Home Screen on iPhone. Reopen the tool to process a new input offline.