Electronic – Grounded mounting slot in Eagle

eaglepcb-design

My PCB requires a mounting slot connected to the ground. I know how to use grounded mounting holes, but I can't figure out how to produce the desired result using a single slot. Is there a component in some library that I could use? Or do I need to define the shapes using the Pad (17) and Milling (46) layer? If so, how should I set up the shapes so that the fab house understands that the slots are to be plated?

This image shows what I can do:
enter image description here

This edited image shows what I would like to achieve:
enter image description here

Best Answer

Perhaps this guide from Autodesk titled "What you didn’t know about EAGLE: Slotted Holes" could help: https://www.autodesk.com/products/eagle/blog/what-you-didnt-know-about-eagle-slotted-holes/