• Reset your password
Home
We have the solution

Main navigation

  • Home
  • Products
    • Enterprise
    • Gallery
    • Gallery PreCAM
    • RapidCam
    • The Enterprise System
    • Feature comparison
    • Price list
  • Solutions
    • Panelization
    • Solder paste stencils
    • Assembly data
    • Depanelization
    • Prices and ordering
  • Downloads
  • Manuals
  • Support
  • Contact

Why do my drill files have different sizes?

Breadcrumb

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

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.

Get Macaos

Quick links

  • What is Macaos?
  • Product feature comparison
  • Macaos Enterprise (ME)
    • What's new in ME
    • Using ME
    • Get ME
  • Macaos Gallery (MG)
    • MG PreCAM
    • What's new in MG
  • Macaos in the news
  • Technical info for designers

Release notes

  • Macaos Enterprise
  • Macaos Gallery
  • Macaos Perception
  • Macaos Convergence

Macaos Software AS
Sanddalsringen 5b
N-5225 Nesttun
Norway

Gerber X2/X3

ODB++ Solutions Alliance

IPC Member Logo

Footer menu

  • Privacy policy
Powered by Drupal

Copyright © 2025 Macaos Software AS - All rights reserved