Contact Sales & After-Sales Service

Contact & Quotation

  • Inquire: Call 0086-755-23203480, or reach out via the form below/your sales contact to discuss our design, manufacturing, and assembly capabilities.
  • Quote: Email your PCB files to Sales@pcbsync.com (Preferred for large files) or submit online. We will contact you promptly. Please ensure your email is correct.
Drag & Drop Files, Choose Files to Upload You can upload up to 3 files.

Notes:
For PCB fabrication, we require PCB design file in Gerber RS-274X format (most preferred), *.PCB/DDB (Protel, inform your program version) format or *.BRD (Eagle) format. For PCB assembly, we require PCB design file in above mentioned format, drilling file and BOM. Click to download BOM template To avoid file missing, please include all files into one folder and compress it into .zip or .rar format.

How to Generate NC Drill Files in DipTrace: Complete Guide for PCB Engineers

DipTrace handles drill file generation separately from Gerber export, which catches many first-time users off guard. Unlike some tools that bundle everything together, DipTrace requires you to explicitly export N/C Drill files as a distinct step. After working with DipTrace across multiple projects from simple two-layer boards to complex multilayer designs with blind and buried vias, I have found that understanding the separate export workflow prevents the most common manufacturing rejections.

This guide covers everything you need to know about generating NC drill files in DipTrace that manufacturers will accept without revision requests.

Understanding NC Drill Files in DipTrace

DipTrace exports drill data in standard Excellon format, the industry-standard format that nearly all PCB manufacturers accept. The software names this export function “N/C Drill” in its menus, with the slash indicating Numeric Control drilling operations.

An Excellon file is essentially a text file containing tool definitions (drill bit sizes) and coordinate data (where to drill). DipTrace generates clean, well-formatted Excellon files with embedded tool information, which most manufacturer systems parse correctly.

What NC Drill Files Contain

ElementDescriptionExample
Tool TableDrill bit size definitionsT01C0.0354 (0.9mm drill)
HeaderFormat and unit declarationsM48, INCH or METRIC
CoordinatesX and Y hole positionsX+017315Y+009190
Tool ChangesCommands to switch drill bitsT01, T02, T03
End CommandProgram terminationM30

DipTrace automatically generates properly formatted headers with tool definitions embedded, eliminating the common problem of missing tool tables that plagues some other design tools.

DipTrace Drill File Export Location

Unlike Gerber export which you access through File → Export → Gerber, drill file export has its own menu path:

File → Export → N/C Drill

This separation exists because Gerber files and drill files serve different purposes in manufacturing. Gerber files describe image data for photoplotting copper layers, masks, and silkscreen. Drill files provide coordinate data for CNC drilling machines.

Many new DipTrace users forget this second export step and submit incomplete manufacturing packages. Always verify you have both Gerber and drill files before sending to your manufacturer.

Step-by-Step NC Drill File Generation in DipTrace

The drill export process in DipTrace involves accessing the export dialog, configuring tool assignments, and selecting the appropriate options for your design.

Accessing the N/C Drill Export Dialog

Open your completed PCB design in DipTrace PCB Layout. Before exporting, verify your design passes DRC by running Verification → Design Rules Check.

Navigate to File → Export → N/C Drill. The Export N/C Drill dialog opens, displaying a preview of your drill hits and configuration options.

Understanding the Export Dialog Options

OptionPurposeRecommended Setting
ObjectsSelect which hole types to includePads and Vias enabled
ManufacturingThrough or Blind/Buried selectionBased on design type
PlatingPlated or Non-plated holesExport separately for clarity
UnitsInch or Metric outputMatch your Gerber units
Layer PairsFor blind/buried via designsSelect appropriate pairs

The preview window shows all holes that will be included in the export based on your current selections. If the preview appears empty, check that you have not inadvertently filtered out all hole types.

Assigning Tool Numbers

DipTrace requires tool assignment before export. Each unique hole size in your design needs a tool number (T01, T02, T03, etc.).

Click the Auto button to automatically assign tool numbers to all hole sizes. DipTrace sorts holes by size and assigns sequential tool numbers starting from T01.

The tool list displays all unique hole sizes with their assigned numbers. You can manually adjust assignments if needed, though automatic assignment works correctly for most designs.

Generating the Drill File

After configuring options and assigning tools, click Export to generate the file. DipTrace prompts you for a filename and location.

By default, DipTrace names the drill file “Through.drl” for through-hole designs. For designs with blind or buried vias, additional files generate with layer pair indicators in the filename.

Save the drill file in the same directory as your Gerber files to keep all manufacturing data together.

Drill File Format Settings in DipTrace

DipTrace exports drill files in standard Excellon format with sensible defaults. Understanding these format settings helps when troubleshooting compatibility issues.

DipTrace Default Format Parameters

ParameterDipTrace DefaultNotes
Format2:4 (inches) or 3:3 (metric)Standard precision
Zero SuppressionLeadingMost compatible option
CoordinatesAbsoluteEasier verification
UnitsMatches design unitsInches or Millimeters
Tool DefinitionEmbedded in headerTnnC format

DipTrace handles format specification automatically based on your design units. If your PCB layout uses metric units, the drill file exports in metric with 3:3 format (three digits before decimal, three after). Imperial designs export with 2:4 format.

Matching Drill and Gerber Settings

For proper alignment between drill hits and copper pads, your drill file units must match your Gerber file units. DipTrace typically handles this automatically since both exports derive from the same design file.

If you encounter alignment issues, verify that both exports use the same unit system. Mixing metric drill files with imperial Gerber files causes scaling errors by a factor of 25.4.

Working with Plated and Non-Plated Holes

Most PCB designs contain both plated holes (for electrical connections) and non-plated holes (for mounting hardware). DipTrace allows you to export these separately or combined.

Separating Hole Types

Hole TypeTypical UsesExport Recommendation
Plated ThroughComponent leads, viasExport as plated file
Non-Plated ThroughMounting holes, tooling holesExport as separate non-plated file
Plated BlindLayer transitionsSeparate file per layer pair

In the Export N/C Drill dialog, use the Plating dropdown to select which hole types to include. Export plated and non-plated holes to separate files with clear filenames.

Example filenames:

  • Through_Plated.drl
  • Through_NonPlated.drl

This separation helps manufacturers process holes correctly since plated holes require electroplating while non-plated holes skip this step.

Pad/Via Holes Option Importance

DipTrace has a critical setting that affects whether holes appear correctly in manufacturing. The “Pad/Via Holes” option in Gerber export determines copper removal under drill hits.

Ensure this option is configured correctly:

  • For plated holes: Copper should remain under the drill hit
  • For non-plated holes: Copper may be removed depending on design intent

Incorrect settings here cause manufacturers to plate holes that should not be plated, or leave unplated holes that need connections.

Handling Blind and Buried Vias

Multilayer designs with blind or buried vias require special attention during drill export. Each unique layer pair generates its own drill file.

Understanding Layer Pairs

Via TypeDescriptionDrill File Naming
ThroughSpans all layers (1 to bottom)Through.drl
Blind TopTop to inner layer (e.g., 1-2)1-2.drl
Blind BottomBottom to inner layer (e.g., 3-4)3-4.drl
BuriedInner layers only (e.g., 2-3)2-3.drl

DipTrace automatically identifies layer pairs present in your design. When you select blind/buried options in the export dialog, the software generates appropriate files for each pair.

Exporting Blind/Buried Via Drill Files

In the Export N/C Drill dialog:

  1. Select “Blind” or “Buried” under Manufacturing type
  2. Choose the specific layer pair from the dropdown
  3. Click Export and save with a descriptive filename
  4. Repeat for each layer pair in your design

Alternatively, use the “Export All” button introduced in recent DipTrace versions. This automatically generates drill files for all identified layer pairs in your design.

Common Blind Via Export Issues

Some users report that blind via drill files contain unexpected holes or appear empty. This typically occurs when:

  • Via layer assignments are incorrect in the design
  • The wrong layer pair is selected during export
  • Vias were not properly defined as blind/buried type

If holes appear missing, open the via properties in your design and verify the layer span settings match your intended structure.

Verifying Drill Files Before Manufacturing

Never submit drill files without verification. DipTrace-generated files typically work correctly, but confirming alignment with Gerber layers prevents expensive manufacturing errors.

Recommended Gerber Viewers

ViewerPlatformKey Features
GerbvWindows, Linux, macOSFree, open source
ViewMateWindowsProfessional features
ZofzPCBWindows3D visualization
GC-PrevueWindowsIndustry standard CAM
Online viewersWeb-basedNo installation needed

Load your Gerber files and drill file together in a viewer. Enable transparency and zoom into pad locations to verify drill hits center correctly on copper pads.

Verification Checklist

CheckWhat to Look For
AlignmentDrills centered on all pads
Hole countTotal matches expected design count
Tool sizesCorrect diameters in tool table
CoverageAll vias and pads have drill hits
ScaleNo 10x or 0.1x scaling errors

A systematic visual check of several pad locations across your board catches most export errors before they reach manufacturing.

Troubleshooting Common DipTrace Drill Problems

Experience with DipTrace has revealed several recurring issues that trip up users during drill file generation.

Problem: Empty Drill Preview

When the N/C Drill export preview shows no holes despite having pads and vias in your design, check these settings:

SettingCauseSolution
Objects filterPads or Vias disabledEnable both Pads and Vias
Manufacturing typeWrong type selectedMatch to your actual design
Plating filterToo restrictiveSelect appropriate plating type
Layer pairWrong pair selectedChoose correct layer combination

If all settings appear correct and the preview remains empty, try restarting DipTrace. Some users report display glitches that resolve after restart.

Problem: Missing Holes in Export

When some holes appear in the design but not in the exported drill file:

  1. Check each missing hole’s properties in the PCB layout
  2. Verify the hole is not accidentally set as blind/buried when it should be through
  3. Confirm the hole has a valid size assigned
  4. Re-export after verifying properties

DipTrace may not export holes with incomplete or invalid property assignments.

Problem: Manufacturer Cannot Read File

If your manufacturer reports format issues with the drill file:

  • Verify they support Excellon format (nearly universal)
  • Check for unit mismatch (metric vs imperial)
  • Confirm the file extension is acceptable (.drl, .txt, or .exc)
  • Request their specific format requirements

Some manufacturers prefer specific file extensions. DipTrace uses .drl by default, but you can rename to .txt or other extensions if required.

Problem: Holes Misaligned with Pads

When drill hits appear offset from copper pads:

CauseSolution
Unit mismatchEnsure Gerber and drill use same units
Origin differenceExport both from same design state
Scale factorCheck for metric/imperial confusion

Regenerate both Gerber and drill files from the same design file without making changes between exports.

File Organization for Manufacturing

Proper file organization prevents confusion and rejection when submitting to manufacturers.

Essential Files to Include

File TypeExtensionPurpose
Top Copper.gtl or .gbrTop layer artwork
Bottom Copper.gbl or .gbrBottom layer artwork
Solder Mask Top.gts or .gbrTop mask openings
Solder Mask Bottom.gbs or .gbrBottom mask openings
Silkscreen Top.gto or .gbrTop legend
Board Outline.gko or .gbrBoard dimensions
NC Drill (Plated).drlPlated hole coordinates
NC Drill (Non-Plated).drlNon-plated hole coordinates

Package all files into a single ZIP archive. Most manufacturers accept this format directly for quoting and production.

Manufacturer-Specific Requirements

ManufacturerDrill File Notes
JLCPCBAccepts default DipTrace .drl format
PCBWayStandard Excellon format works
OSH ParkPrefers .drl extension
Dirty PCBsAccepts .txt or .drl extension
iTead StudioMay require rename to .txt

Check your manufacturer’s documentation for specific file naming requirements. Most accept DipTrace’s default output without modification.

Useful Resources for DipTrace Users

Official DipTrace Resources

ResourceURL
DipTrace Official Sitediptrace.com
User Forumdiptrace.com/forum
Tutorialsdiptrace.com/tutorials
Support Requestdiptrace.com/support/request-support

Gerber Viewer Downloads

ToolSource
Gerbvgerbv.github.io
ViewMatepentalogix.com
ZofzPCBzofzpcb.com

Manufacturer File Guides

ManufacturerDocumentation
JLCPCBjlcpcb.com/help
PCBWaypcbway.com/blog/help_center
OSH Parkdocs.oshpark.com

Frequently Asked Questions

Why does DipTrace export drill files separately from Gerber files?

DipTrace separates drill and Gerber exports because these files serve fundamentally different purposes in manufacturing. Gerber files contain image data that photoplotters use to create copper patterns, solder masks, and silkscreen. Drill files contain coordinate data that CNC drilling machines use to create holes. Keeping these exports separate gives you explicit control over each file type and helps ensure you do not forget either critical component of your manufacturing package. Access drill export through File → Export → N/C Drill after completing your Gerber export.

What format does DipTrace use for drill files?

DipTrace exports drill files in standard Excellon format, which is the de facto industry standard accepted by virtually all PCB manufacturers worldwide. The files include embedded tool definitions in the header section, so you do not need to provide a separate tool table file. DipTrace automatically formats files as 2:4 for imperial units (two integer digits, four decimal digits) or 3:3 for metric units, with leading zero suppression and absolute coordinates. These defaults match what most manufacturers expect and process correctly.

How do I export separate files for plated and non-plated holes?

In the Export N/C Drill dialog, use the Plating dropdown menu to filter hole types. First, select “Plated” and export with a filename like “Plated_Through.drl”. Then reopen the export dialog, select “Non-plated”, and export with a filename like “NonPlated_Through.drl”. This separation helps manufacturers process holes correctly since plated holes require electroplating while non-plated holes skip this step entirely. Clear filenames prevent any confusion about which file contains which hole types.

Why is my drill preview showing empty when I have holes in my design?

An empty drill preview typically indicates filtering settings that exclude all holes. Check the Objects section to ensure both Pads and Vias are enabled. Verify the Manufacturing type matches your design (Through for standard through-holes). Check the Plating selection matches holes in your design. Also verify you have selected the correct layer pair if working with blind or buried vias. If settings appear correct but the preview remains empty, try restarting DipTrace as display glitches occasionally occur.

Can DipTrace generate drill files for blind and buried vias?

Yes, DipTrace fully supports drill file generation for blind and buried vias. When exporting, select the appropriate manufacturing type (Blind or Buried) and choose the specific layer pair from the dropdown menu. DipTrace generates separate drill files for each layer pair since manufacturing requires drilling these holes at different stages of the fabrication process. Recent DipTrace versions include an “Export All” button that automatically generates drill files for all identified layer pairs in your design, simplifying the export process for complex multilayer boards.

Best Practices for Reliable Drill Export

Following consistent practices prevents problems and ensures manufacturers receive usable files.

Before Exporting

Run DRC to verify all holes have proper clearances and valid definitions. Check via properties to confirm layer span assignments match your intended stackup.

During Export

Use the Auto button to assign tools rather than manual assignment. This prevents errors from mistyped tool numbers. Always verify the preview shows the expected holes before clicking Export.

After Export

Load both Gerber and drill files into a viewer to verify alignment. Check that the drill file is not empty by opening it in a text editor and confirming coordinate data exists after the header section.

Package all files into a single ZIP archive with clear, descriptive filenames. Include a readme file if your design uses blind or buried vias to help manufacturers understand the layer structure.

Generating NC drill files in DipTrace becomes routine once you remember the separate export step and understand the filtering options. The software produces clean, manufacturer-ready Excellon files that work with virtually any PCB fabrication house.

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Sales & After-Sales Service

Contact & Quotation

  • Inquire: Call 0086-755-23203480, or reach out via the form below/your sales contact to discuss our design, manufacturing, and assembly capabilities.

  • Quote: Email your PCB files to Sales@pcbsync.com (Preferred for large files) or submit online. We will contact you promptly. Please ensure your email is correct.

Drag & Drop Files, Choose Files to Upload You can upload up to 3 files.

Notes:
For PCB fabrication, we require PCB design file in Gerber RS-274X format (most preferred), *.PCB/DDB (Protel, inform your program version) format or *.BRD (Eagle) format. For PCB assembly, we require PCB design file in above mentioned format, drilling file and BOM. Click to download BOM template To avoid file missing, please include all files into one folder and compress it into .zip or .rar format.