Skip to main content Skip to footer
Home
User manuals

Main navigation

  • Home
  • Enterprise for Engineers
    • Program overview
      • Getting started
      • Product browser
      • Recent activity
      • Viewer tab
        • Product viewer
      • Specifications tab
        • Product Specifications viewer
        • Product documentation
        • Product buildup viewer
        • PCBA Components
        • Product sharing
      • Quotation
      • History
      • Shopping Cart
    • File menu
    • Show menu
      • Find product
      • View mode
    • Products menu
    • Operations menu
      • Import PCB
      • Panelize PCB
      • Create Stencil
      • Add Masks to PCB
      • Assembly Data Manager
      • Solder Pallet Designer
      • Depanelize PCB
      • Test Fixture
      • Test Fixture (legacy)
      • Connector chooser
      • Import 3D Mechanical Part
      • Order History
    • Configuration menu
      • Partner manager
      • User details
      • User manager
      • Options
      • Move ME to new PC
    • What's new
    • Release notes
  • Enterprise for Purchasers
    • Activity Overview
    • Product details
    • Search for product
    • Additional Operations
      • Partner manager
      • User profile
      • User manager
      • Options
  • Macaos Gallery
    • Product Browser
      • Product Explorer
      • Simple PCB Editor
      • Exporting product data to Gerber
      • Searching for products
      • MIF File history
      • Icon bar
      • Product info
    • Operations
      • Standard operations
        • Import PCB
        • Panelize PCB
        • Create Stencil
        • Add Masks to PCB
      • EMS version operations
        • Assembly Data Manager
        • Solder Pallet Designer
        • Depanelize PCB
        • Test Fixture
    • Technical Documentation
    • Configuration
    • Gallery PreCAM
      • Configuration options
      • Quotation module
        • Quotations
        • Calculated prices
        • Adjusting prices
        • Quotation
      • Quotation archive
        • Folders
      • Price Editor module
      • Price list editor
        • Price element editor
        • Selector editor
        • Curve editor
        • Price list wizard
      • Sales office settings
      • Holidays
      • About prices
        • Factory price
        • Retail price
        • How is a price calculated?
      • Reference
        • Price list
        • Price element
        • Curve function
        • Parameters
      • Example: Creating the Demo price list
        • Using the price list wizard
        • Refining the price list
        • Retail price
    • What's new
    • Release notes
  • Subsystem Manuals
    • Product editor Modules
      • Assembly Data Manager (ADM)
      • Assembly Masks
      • Depanelization
      • Import PCB
      • Mechanical Parts
      • Panelization
      • Solder Pallet
      • Solder Paste Stencils
      • SPRINT Test Fixtures
      • Test Fixtures (Legacy)
    • Product display modules
      • PCBA Components
      • Product Buildup Viewer
      • Product History
      • Product Specifications Viewer
      • Product Viewer
    • Other Modules
      • Connector Chooser
      • Order History
      • Partner Manager
      • Product sharing
      • Quotation
      • Search
      • Shopping Cart
      • User Details
      • User Manager
  • Additional info
    • Release notes
      • What's new in ME for Engineers
      • What's new in ME for Purchasers
      • What's new in Gallery
      • What's new in Convergence
      • ME for Engineers release notes
      • ME for Purchasers release notes
      • Gallery release notes
      • Convergence release notes
      • Perception release notes
    • Gerber file generation tips
      • Using KiCad
      • Using Eagle
      • Using CADint
      • From other systems
    • Performance Classes
    • Solder paste stencil ratios
    • Surface finishes
    • Via types
    • Panelization scripts
  • Contact
  • Back to Macaos website

Why do my drill files have different sizes?

Breadcrumb

  • Home
  • Troubleshooting FAQ
  • Macaos Enterprise issues
  • Why do my drill files have different sizes?

Unfortunately, many CAD systems generate drill files that cannot be unambiguously interpreted. Since the coordinates in drill files have no decimal points, some guessing may be required.

By default, a drill file is assumed to be in inches, with leading zero suppression and 4 digits after the decimal point. However, the file might actually be in mm, it might have trailing zero suppression, and there might be 3 or 5 digits after the decimal. If the file does not contain a command to specifically indicate that its coordinates are different from the default, then the Macaos Import Module will have trouble interpreting the file correctly.

One of the tricks we use is to look at the tool diameters. If there are tool diameters larger than 0.5, then the file is assumed to be in mm, even though there is no specific mm command (M71 or METRIC) in the file. This can lead to problems if you have more than one mm drill file, where none of them have mm commands and some of them do not have diameters larger than 0.5. In such a case, some files will be interpreted in mm and others in inch.

The workaround in such a case is to add to the file a line containing the command
M71
at the beginning of the data section of the file. If the file has a header section (ends with a % line and might begin with an M48 line) then the M71 line should be added just after the header section.

Book traversal links for Why do my drill files have different sizes?

  • ‹ Fails to import gerber or drill file
  • Up
  • Microsoft Edge data directory error ›

Macaos Software AS
Sanddalsringen 5b
N-5225 Nesttun
Norway

Download gerber specification
ODB++ partner
IPC member

Footer menu

  • Contact
  • Privacy policy
Powered by Drupal

Copyright © 2025 Macaos Software AS - All rights reserved