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

Scale adjustment

Breadcrumb

  • Home
  • Import PCB
  • Drill files and tools
  • Scale adjustment

Some CAD systems generate drill files which do not have the same scale or offset as the Gerber files. In such cases, the scale or offset must be adjusted manually so that the drill holes match their corresponding pads in the other layers. These adjustments apply to all drill files, including any drill files added to the product after scaling. If the drill files do not have the same scale, then this must be corrected by the CAD program. There are typically two kinds of scaling errors:

Decimal point errors: To adjust for decimal point errors, click one or more times on the x10 or ÷10 button. x10 makes the drill image 10 times larger than it was, while ÷10 reduces the drill image to 1/10 of its size.

Inch/mm errors: In the same manner, the x25.4 and ÷25.4 buttons may be used to adjust for inch/mm errors.

It may take some trial and error to find the correct scale. Avoid using x10 or x25.4 after having used ÷10 or ÷25.4, since this will lead to some loss of precision in the hole coordinates. It may be a good idea to use File|New product and reimport your files once you have found the correct scaling factor.

Once you have found the correct scale (and rotation and mirroring, if necessary) use the Autolink|Create filter from current mapping command to create a filter which includes these drill file parameters.

Note: If you are having difficulties getting the correct scaling of drill files, you can open the files in a plain text editor (such as WordPad) and modify them manually. Adding something like the following 3 lines, to the beginning of the file, will specify the correct scaling to the Import module.

M48
METRIC,TZ,000.000
%

In this example, metric coordinates without leading zeros and 3 digits after the decimal point are used. If coordinates are in inches, then the first parameter should be INCH. If trailing zeros are omitted, then the second parameter should be LZ. The third parameter should list the number of digits before and after the decimal point (such as 00.0000 or 00.000). If your file already contains any of these lines, then you should only add or edit the text which is not present. A drill file should only contain one of each of these three types of lines.

Book traversal links for Scale adjustment

  • ‹ Tool definitions
  • Up
  • Offset adjustment ›

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