PCB Slots.  Best practices? - Page 1
Forum section: electronics / general

author: phil from seattle
author_rank: Super Contributor
timestamp: May 25, 2021, 07:12:14 pm
content: I suspect the answer will be "depends on your PCB House".Anyway, I want to make slots in a PCB with KiCad. In googling I found 2 answers:draw a line on the edge cuts layer with the desired slot thickness.draw a polygon (via lines) on the edge cut layer.What do other people do for slots in the PCB? Note, these are just simple slots for things like an air gap or stress isolation. Should be pretty straight forward, eh?Option one seems a lot easier though I get why option two might be more desirable. I tried OSHPark and JLCPCB for each. Both seem to like option one (line with thickness). OSHPark and JLCPCB gerber viewers only show the outline of option two (polygon). However, option one gets a DRC "Board outline does not form a closed polygon" error. I don't like ignoring DRC errors - too easy to let a real error slip through.I sent a board off to JLCPCB with to see what will happen. This is with Kicad 5.1.9, if that matters...

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: May 25, 2021, 08:26:26 pm
content: Draw a line showing the outline of the slot on the board layer, the centre of the line indicating the edge of the cut. The thickness of the line doesn't matter, but should be a sensible size to see on a gerber viewer ( e.g. 0.2mm)Keep slots 1.6mm or over if possible, as smaller needs smaller tools, which must be run slower. .

author: madires
author_rank: Super Contributor
timestamp: May 25, 2021, 08:41:13 pm
content: Here's your answer:https://odysee.com/@voltlog:b/how-to-create-high-voltage-isolation:1

author: liteyear
author_rank: Regular Contributor
timestamp: May 29, 2023, 01:22:35 am
content: Quote from: phil from seattle on May 25, 2021, 07:12:14 pmWhat did you discover?I've always done outlines, but am porting an OrCAD project at the moment that uses a "NCROUTE_PATH" element to explicitly specify a 2mm diameter slot using a single stroke. So it got me wondering if my habit was unnecessary.I think I'll stick with outlines to keep KiCad happy, and perhaps it's slightly superior anyway because the manufacturer is free to create their own NC Route paths, instead of being constrained by some naive designer who thinks a 2mm tool should be used.For the record, the linked voltlog video says at the 3:06 mark: "[edge cuts] need to describe an enclosed shape. It doesn't work if you just place a single 0.8mm thick line [for KiCad to correctly interpret it] ... The board house may be able to understand a single thicker line but in KiCad you need to have a closed perimeter... [which is a little more work]". So echoing the original post pretty closely, I think.

author: Infraviolet
author_rank: Super Contributor
timestamp: June 05, 2023, 02:44:15 pm
content: In eagle you draw them in the "milling" layer, but I'm not sure how that corresponds to KiCAD's layer names.Scroll down to "non plated slots" on this page for exmaples:https://support.jlcpcb.com/article/137-how-to-generate-gerber-and-drill-files-in-autodesk-eaglethe trick will be finding KiCAD's equivalent to the "milling layer".