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
  • 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) Excellon output...  Extra digits at end of X and Y positions
  • 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 7 replies
  • Subscribers 180 subscribers
  • Views 1274 views
  • Users 0 members are here
Related

Excellon output...  Extra digits at end of X and Y positions

Former Member
Former Member over 16 years ago

 

I cannot seem to figure out how to suppress this extra end "1" digit

for the X position and an extra "8" digit for the Y position of the

excellon drill output (Eagle 5.50 or 5.60 these days)

 

I cannot find where to adjust this format in eagle.def in the Excellon

area either.  I only see the option to edit the drill size length as far

as what the comments in eagle.def say.

 

 

  For example, I get this:

 

T01

X8981Y13548

X8971Y12958

X8971Y12378

X9771Y13498

X9761Y12828

X9761Y12238

X1101Y15808

X971Y15198

X811Y14628

....

 

when I SHOULD be getting this:

 

T01

X898Y1354

X897Y1295

X897Y1237

X977Y1349

X976Y1282

X976Y1223

X110Y1580

X97Y1519

X81Y1462

 

 

They are the same except for the extra constant digits.  If I edit them

off, GC Prevue reads it just fine.

 

 

How can I fix this besides editing the output file

by hand  or editor ?   It may be that the PCB makers have been editing

these off for me for years, but this should not have to be the case.

 

 

Thanks,

boB

 

 

 

 

  • Sign in to reply
  • Cancel
Parents
  • Richard_H
    Richard_H over 16 years ago

    boB Gudgel schrieb:

     

    I cannot seem to figure out how to suppress this extra end "1" digit

    for the X position and an extra "8" digit for the Y position of the

    excellon drill output (Eagle 5.50 or 5.60 these days)

     

    I cannot find where to adjust this format in eagle.def in the Excellon

    area either.  I only see the option to edit the drill size length as far

    as what the comments in eagle.def say.

     

     

    For example, I get this:

     

    T01

    X8981Y13548

    X8971Y12958

    X8971Y12378

    X9771Y13498

    X9761Y12828

    X9761Y12238

    X1101Y15808

    X971Y15198

    X811Y14628

    .....

     

    when I SHOULD be getting this:

     

    T01

    X898Y1354

    X897Y1295

    X897Y1237

    X977Y1349

    X976Y1282

    X976Y1223

    X110Y1580

    X97Y1519

    X81Y1462

     

     

    They are the same except for the extra constant digits.  If I edit them

    off, GC Prevue reads it just fine.

     

     

    How can I fix this besides editing the output file

    by hand  or editor ?   It may be that the PCB makers have been editing

    these off for me for years, but this should not have to be the case.

     

     

    Thanks,

    boB

     

     

    The EXCELLON device has a resolution of 1/10000 inch. I suppose you

    want to reduce the precision. This can be done in the file eagle.def

    which is in the eagle/bin directory.

    The device definition looks like this:

     

     

     

    Type     = DrillStation

    Long     = "Excellon drill station"

    Init     = "%%\nM48\nM72\n"

    Reset    = "M30\n"

    ResX     = 10000

    ResY     = 10000

    ;Rack     = ""

    DrillSize  = "%sC%0.4f\n"        ; (Tool code, tool size)

    AutoDrill  = "T%02d"             ; (Tool number)

    FirstDrill = 1

    BeginData  = "%%\n"

    Units    = Inch

    Select   = "%s\n"                ; (Drill code)

    Drill    = "X%1.0fY%1.0f\n"      ; (x, y)

    Info     = "Drill File Info:\n"\

               "\n"\

               " Data Mode         : Absolute\n"\

               " Units             : 1/10000 Inch\n"\

               "\n"

     

     

    Change the lines ResX and ResY:

     

    ResX     = 1000

    ResY     = 1000

     

    Now it should work as expected. Change the Units line in

    the Info section as well.

     

    Info     = "Drill File Info:\n"\

               "\n"\

               " Data Mode         : Absolute\n"\

               " Units             : 1/1000 Inch\n"\

               "\n"

     

     

    By the way:

    It's a coincidence tht the ast digit is always the same here.

    This can have to do with the CAM Processor's option "Positive

    Coordinates" which moves the whole layout into the positive

    coordinate area.

     

     

    --

    Mit freundlichen Gruessen / Best regards

    Richard Hammerl

    CadSoft Support -- hotline@cadsoft.de

    FAQ: http://www.cadsoft.de/faq.htm

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Richard_H
    Richard_H over 16 years ago

    boB Gudgel schrieb:

     

    I cannot seem to figure out how to suppress this extra end "1" digit

    for the X position and an extra "8" digit for the Y position of the

    excellon drill output (Eagle 5.50 or 5.60 these days)

     

    I cannot find where to adjust this format in eagle.def in the Excellon

    area either.  I only see the option to edit the drill size length as far

    as what the comments in eagle.def say.

     

     

    For example, I get this:

     

    T01

    X8981Y13548

    X8971Y12958

    X8971Y12378

    X9771Y13498

    X9761Y12828

    X9761Y12238

    X1101Y15808

    X971Y15198

    X811Y14628

    .....

     

    when I SHOULD be getting this:

     

    T01

    X898Y1354

    X897Y1295

    X897Y1237

    X977Y1349

    X976Y1282

    X976Y1223

    X110Y1580

    X97Y1519

    X81Y1462

     

     

    They are the same except for the extra constant digits.  If I edit them

    off, GC Prevue reads it just fine.

     

     

    How can I fix this besides editing the output file

    by hand  or editor ?   It may be that the PCB makers have been editing

    these off for me for years, but this should not have to be the case.

     

     

    Thanks,

    boB

     

     

    The EXCELLON device has a resolution of 1/10000 inch. I suppose you

    want to reduce the precision. This can be done in the file eagle.def

    which is in the eagle/bin directory.

    The device definition looks like this:

     

     

     

    Type     = DrillStation

    Long     = "Excellon drill station"

    Init     = "%%\nM48\nM72\n"

    Reset    = "M30\n"

    ResX     = 10000

    ResY     = 10000

    ;Rack     = ""

    DrillSize  = "%sC%0.4f\n"        ; (Tool code, tool size)

    AutoDrill  = "T%02d"             ; (Tool number)

    FirstDrill = 1

    BeginData  = "%%\n"

    Units    = Inch

    Select   = "%s\n"                ; (Drill code)

    Drill    = "X%1.0fY%1.0f\n"      ; (x, y)

    Info     = "Drill File Info:\n"\

               "\n"\

               " Data Mode         : Absolute\n"\

               " Units             : 1/10000 Inch\n"\

               "\n"

     

     

    Change the lines ResX and ResY:

     

    ResX     = 1000

    ResY     = 1000

     

    Now it should work as expected. Change the Units line in

    the Info section as well.

     

    Info     = "Drill File Info:\n"\

               "\n"\

               " Data Mode         : Absolute\n"\

               " Units             : 1/1000 Inch\n"\

               "\n"

     

     

    By the way:

    It's a coincidence tht the ast digit is always the same here.

    This can have to do with the CAM Processor's option "Positive

    Coordinates" which moves the whole layout into the positive

    coordinate area.

     

     

    --

    Mit freundlichen Gruessen / Best regards

    Richard Hammerl

    CadSoft Support -- hotline@cadsoft.de

    FAQ: http://www.cadsoft.de/faq.htm

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube