How to Generate NC Drill Files Based on Different PCB Design Software

Posted by

Introduction

In the world of printed circuit board (PCB) design and manufacturing, NC (Numerical Control) drill files play a critical role. These files provide the necessary instructions for CNC (Computer Numerical Control) machines to drill holes in the PCB accurately. These holes are used for mounting components, creating vias, and ensuring proper electrical connections between layers. Generating NC drill files is a crucial step in the PCB manufacturing process, and it requires precision and compatibility with the specific PCB design software being used.

This article provides a comprehensive guide on how to generate NC drill files using various popular PCB design software tools. We will cover the steps, best practices, and considerations for generating NC drill files in tools such as Altium Designer, KiCad, Eagle, OrCAD, and PADS. By the end of this article, you will have a clear understanding of how to generate NC drill files for your PCB designs, regardless of the software you are using.


1. What are NC Drill Files?

NC drill files, also known as Excellon files, are machine-readable files that contain instructions for CNC drilling machines. These files specify the location, size, and type of holes to be drilled on a PCB. The most common format for NC drill files is the Excellon format, which is widely supported by PCB manufacturers and CNC machines.

Key Components of NC Drill Files:

  • Hole Coordinates: The X and Y coordinates of each hole to be drilled.
  • Tool Definitions: The size and type of drill bits to be used for each hole.
  • Drill Commands: Instructions for the CNC machine, such as when to change tools and where to drill.

Importance of NC Drill Files:

  • Accuracy: Ensures that holes are drilled precisely according to the PCB design.
  • Compatibility: Provides a standardized format that can be used across different manufacturing systems.
  • Efficiency: Automates the drilling process, reducing the risk of human error and speeding up production.

2. General Steps to Generate NC Drill Files

While the specific steps for generating NC drill files vary depending on the PCB design software, the general process is similar across most tools. Below are the typical steps involved:

2.1 Finalize the PCB Design

Before generating NC drill files, ensure that your PCB design is complete and error-free. This includes verifying component placements, routing, and layer stack-up.

2.2 Configure Drill Settings

Set up the drill settings in your PCB design software, including hole sizes, drill tools, and output format (usually Excellon).

2.3 Generate Drill Files

Use the software’s built-in functionality to generate the NC drill files. This typically involves exporting the drill data in the required format.

2.4 Verify the Files

Check the generated NC drill files for accuracy and compatibility with your manufacturer’s requirements. Use a file viewer or simulation tool if necessary.

2.5 Submit to Manufacturer

Send the NC drill files along with other manufacturing files (e.g., Gerber files) to your PCB manufacturer for production.


3. Generating NC Drill Files in Different PCB Design Software

Below, we provide detailed instructions for generating NC drill files in some of the most popular PCB design software tools.

3.1 Altium Designer

Altium Designer is a powerful PCB design tool widely used in the industry. Here’s how to generate NC drill files in Altium:

Step 1: Open the PCB Design

  • Open your PCB project in Altium Designer and ensure the design is finalized.

Step 2: Access the Drill File Generation Tool

  • Go to File > Fabrication Outputs > NC Drill Files.

Step 3: Configure Drill Settings

  • In the NC Drill Setup dialog, configure the following:
    • Units: Choose between inches or millimeters.
    • Format: Select the numerical format (e.g., 2:4 for two integer and four decimal places).
    • Leading/Trailing Zeroes: Choose whether to suppress leading or trailing zeroes.
    • Tool List: Verify the list of drill tools and their sizes.

Step 4: Generate the Drill Files

  • Click OK to generate the NC drill files. Altium will create an Excellon-formatted file (e.g., .DRL).

Step 5: Verify and Export

  • Review the generated files and export them to your desired location. Submit them to your manufacturer along with other fabrication files.

3.2 KiCad

KiCad is a free and open-source PCB design tool. Here’s how to generate NC drill files in KiCad:

Step 1: Open the PCB Design

  • Open your PCB project in KiCad and ensure the design is finalized.

Step 2: Access the Plot Tool

  • Go to File > Plot.

Step 3: Configure Drill Settings

  • In the Plot dialog, select Generate Drill Files.
  • Configure the following settings:
    • Units: Choose between inches or millimeters.
    • Format: Select the Excellon format.
    • Drill Map File: Choose whether to generate a drill map for reference.

Step 4: Generate the Drill Files

  • Click Drill File to generate the NC drill files. KiCad will create an Excellon-formatted file (e.g., .DRL).

Step 5: Verify and Export

  • Review the generated files and export them to your desired location. Submit them to your manufacturer along with other fabrication files.

3.3 Autodesk Eagle

Autodesk Eagle is a popular PCB design tool for hobbyists and professionals. Here’s how to generate NC drill files in Eagle:

Step 1: Open the PCB Design

  • Open your PCB project in Eagle and ensure the design is finalized.

Step 2: Access the CAM Processor

  • Go to File > CAM Processor.

Step 3: Configure Drill Settings

  • In the CAM Processor, create a new job or use an existing one.
  • Add a drill file section and configure the following:
    • Units: Choose between inches or millimeters.
    • Format: Select the Excellon format.
    • Drill File Options: Configure options such as leading/trailing zeroes and tool list.

Step 4: Generate the Drill Files

  • Click Process Job to generate the NC drill files. Eagle will create an Excellon-formatted file (e.g., .DRL).

Step 5: Verify and Export

  • Review the generated files and export them to your desired location. Submit them to your manufacturer along with other fabrication files.

3.4 OrCAD

OrCAD is a professional PCB design tool used in many industries. Here’s how to generate NC drill files in OrCAD:

Step 1: Open the PCB Design

  • Open your PCB project in OrCAD and ensure the design is finalized.

Step 2: Access the Drill File Generation Tool

  • Go to Manufacture > NC > NC Drill.

Step 3: Configure Drill Settings

  • In the NC Drill dialog, configure the following:
    • Units: Choose between inches or millimeters.
    • Format: Select the numerical format (e.g., 2:4 for two integer and four decimal places).
    • Leading/Trailing Zeroes: Choose whether to suppress leading or trailing zeroes.
    • Tool List: Verify the list of drill tools and their sizes.

Step 4: Generate the Drill Files

  • Click Drill to generate the NC drill files. OrCAD will create an Excellon-formatted file (e.g., .DRL).

Step 5: Verify and Export

  • Review the generated files and export them to your desired location. Submit them to your manufacturer along with other fabrication files.

3.5 PADS

PADS is a professional PCB design tool used for complex designs. Here’s how to generate NC drill files in PADS:

Step 1: Open the PCB Design

  • Open your PCB project in PADS and ensure the design is finalized.

Step 2: Access the Drill File Generation Tool

  • Go to File > CAM.

Step 3: Configure Drill Settings

  • In the CAM dialog, select NC Drill and configure the following:
    • Units: Choose between inches or millimeters.
    • Format: Select the Excellon format.
    • Drill File Options: Configure options such as leading/trailing zeroes and tool list.

Step 4: Generate the Drill Files

  • Click Run to generate the NC drill files. PADS will create an Excellon-formatted file (e.g., .DRL).

Step 5: Verify and Export

  • Review the generated files and export them to your desired location. Submit them to your manufacturer along with other fabrication files.

4. Best Practices for Generating NC Drill Files

To ensure the accuracy and compatibility of your NC drill files, follow these best practices:

4.1 Verify Hole Sizes

Double-check the hole sizes in your design to ensure they match the manufacturer’s capabilities and requirements.

4.2 Use Standard Formats

Always use the Excellon format for NC drill files, as it is widely supported by PCB manufacturers.

4.3 Include a Drill Map

Generate a drill map file (if supported by your software) to provide a visual reference for the drill locations.

4.4 Communicate with Your Manufacturer

Consult with your PCB manufacturer to confirm their specific requirements for NC drill files, including units, format, and file naming conventions.

4.5 Test the Files

Use a file viewer or simulation tool to verify the accuracy of the generated NC drill files before submitting them for production.


5. Common Issues and Troubleshooting

5.1 Missing Holes

If holes are missing in the generated NC drill files, check the following:

  • Ensure all holes are properly defined in the PCB design.
  • Verify that the drill layer is enabled in the output settings.

5.2 Incorrect Hole Sizes

If hole sizes are incorrect, verify the tool list and ensure the correct drill sizes are specified in the design.

5.3 File Format Issues

If the manufacturer reports issues with the file format, confirm that the correct Excellon format and numerical settings were used.


Conclusion

Generating NC drill files is a critical step in the PCB manufacturing process, ensuring that holes are drilled accurately and efficiently. By following the steps and best practices outlined in this article, you can generate NC drill files using various PCB design software tools, including Altium Designer, KiCad, Eagle, OrCAD, and PADS.

Regardless of the software you use, always verify the generated files and communicate with your manufacturer to ensure compatibility and accuracy. With the right approach, you can streamline the PCB manufacturing process and achieve high-quality results for your designs.

Leave a Reply

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