I want to create a rectangular slot in my PCB for this component. Do I draw the milling outline on the footprint library or on the board after placing the component? Does it matter? I am using EAGLE v 9.2.2
A little more detail
I am using this SPDT switch in my circuit and it is to be PCB mounted. The legs are rectangular lugs which make it better suited for a slotted hole, rather than circular (I’m aware I could use a circular hole and increase diameter to accommodate the lug).
EAGLE does not natively support slotted holes. After doing some research, I have found some threads that say this is perfectly doable, however we have to draw the region that is to be cut out, and alert the PCB fab house of this fact. For instance, see these threads/articles:
I’ve drawn a 1.6mm x 0.55mm rectangular slot around my pad using lines of 0 width on the milling layer (layer 46). See here:
Does it matter if this is done in the footprint library file? Does this have to be done after placing the component on the board? Perhaps I missed it, but I didn’t see this discussed in my research. I have drawn the milling outline in the footprint library, but I don’t see it when I place the part on my board. See here:
As an aside, I contacted the PCB fabricator (PCBway, in this case) and they recommended drawing the outline of the region to be cutout on the mechanical layer, not the milling layer which was recommended in the Autodesk article. To quote a PCBway representative:
"If you need one 1.6*0.55 slot, you can design it on a mechanical layer. Generate gerber from your brd file,#https://www.pcbway.com/member/brdtogerber.aspx,then check it in a online gerber viewer for double check."
Follow up questions
To make a slot plated, simply put copper right to or over the slot on both layers.
Does that mean copper traces? e.g. Layer 1 (Top) and Layer 16 (Bottom). I’ve already got copper traces routed to the pads, see for instance this image:
Their part looks similar to mine, except they’ve drawn a type of cross-hair symbol on the Drills layer (layer 44), as well as placing tStop and bStop layers over the pad itself. Do I need to place tStop and bStop layers? I’ve just googled what those are and apparently they’re manually defining where soldermask is not to go. They’ve placed it over a pad, I wouldn’t have thought that soldermask is going over the pad at all anyway, no?
The slot is probably not visible on your board since either you didn't update the library in the project, or layer Milling (46) is not visible.
Yep, Layer 46 was not visible. For anyone reading that’s curious, go View > Layer Settings > Click the eye symbol on layer 46