element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Autodesk EAGLE
  • Products
  • More
Autodesk EAGLE
EAGLE User Support (English) Metric CAM (excellon/gerber) files
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Autodesk EAGLE to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 1 reply
  • Subscribers 188 subscribers
  • Views 339 views
  • Users 0 members are here
Related

Metric CAM (excellon/gerber) files

autodeskguest
autodeskguest over 14 years ago

 

  • Sign in to reply
  • Cancel
  • e14 Contributor
    e14 Contributor over 14 years ago

    Old topic I know, but I've just added the bits mentioned by Richard to my

    eagle.def but now I'm being asked for wheel files - when I give it

    glaser.whl (the only wheel file I could find), it then complains of missing

    apertures. How can I get gerber output in metric without all this wheel

    melarkey...when using imperial, I just use the GERBER_rs274X & fon't get

    prompted for wheel files or have apperture missing type errors?

     

     

    Type = PhotoPlotter

    Long = "Gerber photoplotter"

    Init = "G01\nX000000Y000000D02\n"

    Reset = "X000000Y000000D02\nM02\n"

    ResX = 25400

    ResY = 25400

    ;Wheel = ""

    Move = "X%0.6dY%0.6dD02*\n" ; (x, y)

    Draw = "X%0.6dY%0.6dD01*\n" ; (x, y)

    Flash = "X%0.6dY%0.6dD03*\n" ; (x, y)

    Aperture = "%s*\n" ; (Aperture code)

    Units = mm

    Decimals = 4

    Info = "Plotfile Info:\n"\

    "\n"\

    " Coordinate Format : 3.3\n"\

    " Coordinate Units : mm\n"\

    " Data Mode : Absolute\n"\

    " Zero Suppression : None\n"\

    " End Of Block : *\n"\

    "\n"

     

     

    @GERBER_MM_33

    Long = "Gerber photoplotter with automatic aperture wheel

    generation"

    Wheel = "" ; avoids message!

    AutoAperture = "D%d" ; (Aperture number)

    FirstAperture = 10

    Decimals = 4

    Units = mm

     

     

     

     

    @GERBERAUTO_MM_33

    Long = "Gerber photoplotter with RS-274-X aperture generation"

    Units = mm

    Init = "G75*\n" \ allow positive and negative coordinates

    "G71*\n" \ units are mm

    "%%OFA0B0*%%\n" \ horizonal and vertical OFfset is 0

    "%%FSLAX33Y33*%%\n"\ Format Statement is Absolute (I for

    incremental) 3.3

    "%%IPPOS*%%\n" \ Image Polarity is POSitive (NEG for

    negative)

    "%%LPD*%%\n" \ Layer Polarity Dark (C for clear on

    negative planes)

    "%%AMOC8\n5,1,8,0,0,1.08239X$1,22.5\n"\ Octagons are

    emulated with a circle (using 8 vertices)

    "%%\n" ; and therefore the diameter must be

    enlarged with '1 / cos(pi / 8)'

    Reset = "M02*\n"

    Circle = "%%AD%sC,%6.3f*%%\n" ; (code, diameter)

    Rectangle = "%%AD%sR,%6.3fX%6.3f*%%\n" ; (code, dx, dy)

    Oval = "%%AD%sO,%6.3fX%6.3f*%%\n" ; (code, dx, dy)

    ; According to the RS-274-X specs there is an aperture macro

    ; primitive that allows us to specify an octagon (i.e. a polygon with

    ; 8 vertices). As some Gerber viewers seem to have problems with that,

    ; we would have to use a round shape for that.

    ; If your Gerber processor cannot handle the polygon primitive you may

    ; uncomment the following line and comment out the line after it:

    ;Octagon = "%%AD%sC,%6.3f*%%\n" ; (code, diameter) (looks like

    there is no octagon, so we take a circle)

    Octagon = "%%AD%sOC8,%6.3f*%%\n" ; (code, diameter)

    Annulus = "%%AMAN%s\n1,1,%6.3f,0,0\n1,0,%6.3f,0,0*\n"\

    "%%\n"\

    "%%AD%sAN%s*%%\n" ; (code, diameter, inner diameter,

    code, code)

    Thermal = "%%AMTH%sX\n1,1,%6.3f,0,0\n1,0,%6.3f,0,0*\n"\

    "21,0,%6.3f,%6.3f,0,0,45\n21,0,%6.3f,%6.3f,0,0,135\n"\

    "%%\n"\

    "%%AD%sTH%sX*%%\n"; (code, diameter, inner diameter,

    diameter + 2mil, gap, diameter + 2mil, gap, code, code)

     

    --

    Web access to CadSoft support forums at www.eaglecentral.ca.  Where the CadSoft EAGLE community meets.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube