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
Forum Have a question about CadSoft EAGLE?  Ask our Expert, Richard! (Archive)
  • 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 1129 replies
  • Subscribers 245 subscribers
  • Views 51465 views
  • Users 0 members are here
  • eagle
  • expert
  • richard_hammerl
  • cadsoft
Related

Have a question about CadSoft EAGLE?  Ask our Expert, Richard! (Archive)

nlarson
nlarson over 16 years ago

This thread is now locked - but you can still ask Richard by posting your questions here.  If you'd rather browse other member's questions you can read the CadSoft EAGLE Forums for past questions and answers. Enjoy!

 

Browse past Q&A help on anything technical relating to CadSoft EAGLE!


image

 

Richard Hammerl

Richard is an engineer with 16 years experience in EAGLE customer support and is waiting for your questions.

  • Sign in to reply
  • Cancel
Parents
  • auspoundy
    auspoundy over 15 years ago

    Hopefully a simple question..... I'm not a very frequent user, so I can't say for sure if this is new behaviour or what.  Previously (well before the latest 5.11.0 update) I used the drill-aid.ulp to create drill-locator holes on my PCB.  I use blue press-n-peel paper on home made PCBs, so this is actually pretty important image

     

    I have a CAM job that exports a postscript file, and I use GhostScript to open and print the file.

     

    When I look at the PCB, I can see the drill aid layer 116 with what appears to be the correct fill.  When I went to do this with my latest board, the postscript file has regular size holes in the pads - so I checked my CAM job and confirmed that 116 was selected, but it doesn't seem to have come through to the output.

     

    Has anyone seen this kind of behaviour?  Any thoughts on how I might get my CAM job working fine again?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Richard_H
    Richard_H over 15 years ago in reply to auspoundy

    Hi,

     

    besides of the drill-aid.ulp you need a modified PS device for the CAM Processor. Please add to the file eagle.def the following:

     

    [EPS-Drillaid]

     

    @EPS
    Long     = "Postscript with max hole size in pads/etc, ala drill-aid.ulp"

     

    Header3  = "%% redefine our /h function with a fixed diameter\n"\
               "/h {  %% draw a hole\n"\
               "   /d  exch def\n  %% Still need to pop diam off stack\n"\
               "   d 5000 gt {\n"\
               "      /d  5000 def\n  %% But override it to 0.5mm\n"\
               "   } if\n"\
               "   /y  exch def\n"\
               "   /x  exch def\n"\
               "   d 0 gt {\n"\
               "     newpath\n"\
               "     x EU y EU d 2 div EU 0 360 arc\n"\
               "     currentgray dup\n"\
               "     1 exch sub setgray\n"\
               "     fill\n"\
               "     setgray\n"\
               "     } if\n"\
               "   } def\n"\
               "%% The drawing\n"

     


    [PS-Drillaid]

     

    @PS
    Long     = "Postscript (printable) with max hold size ala Drill-aid.ulp"

     

    Header2  = "%% redefine our /h function with a fixed diameter\n"\
               "/h {  %% draw a hole\n"\
               "   /d  exch def\n  %% Still need to pop diam off stack\n"\
               "   d 5000 gt {\n"\
               "      /d  5000 def\n  %% But override it to 0.5mm\n"\
               "   } if\n"\
               "   /y  exch def\n"\
               "   /x  exch def\n"\
               "   d 0 gt {\n"\
               "     newpath\n"\
               "     x EU y EU d 2 div EU 0 360 arc\n"\
               "     currentgray dup\n"\
               "     1 exch sub setgray\n"\
               "     fill\n"\
               "     setgray\n"\
               "     } if\n"\
               "   } def\n"\
               "%% Remainder of Header2 copied from define for PS device\n"\
               "%% the real drawing size:\n"\
               "\n"\
               "/MinDrawX %6d EU def\n"\
               "/MinDrawY %6d EU def\n"\
               "/MaxDrawX %6d EU def\n"\
               "/MaxDrawY %6d EU def\n"\
               "\n"\
               "%% the usable page size:\n"\
               "\n"\
               "/LeftMargin 0.25 inch def  %% change these if drawing gets clipped!\n"\
               "/BotMargin  0.25 inch def\n"\
               "/PageWidth  %7.4f inch def\n"\
               "/PageHeight %7.4f inch def\n"\
               "\n"\
               "%% are we going to rotate?:\n"\
               "\n"\
               "/RotateDrawing %d 0 ne def\n"\
               "\n"
               ;(x1, y1, x2, y2, Width, Height, DoRotate)

     


    Now it should work as expected.

    Regards,

    Richard

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • auspoundy
    auspoundy over 15 years ago in reply to Richard_H

    Thanks Richard, perfect.  I added these to the DEF file, changed my CAM job to use the modified driver, and my output PS file now has the drill holes.  Does this negate the need to use the drill-aid?  I tested it out and it seems that even after I've taken the drill layer 116 off, I get the modified holes. Is there a way (or a need??) to specify the drill hole equivalent that the drill-aid script did?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Richard_H
    Richard_H over 15 years ago in reply to auspoundy

    Hi,

     

    drill-aid.ulp is no longer neccessary. The EPS device draws the pads with a defined hole diameter. IMHO the line

     

       "      /d  5000 def\n  %% But override it to 0.5mm\n"\

     

    defines the diameter of the opening in the pad.

     

    Regards,

    Richard

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

    Hi,

     

    drill-aid.ulp is no longer neccessary. The EPS device draws the pads with a defined hole diameter. IMHO the line

     

       "      /d  5000 def\n  %% But override it to 0.5mm\n"\

     

    defines the diameter of the opening in the pad.

     

    Regards,

    Richard

    • 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.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube