kicad2ems.core.importers.kicad.outline¶
Board outline from the Edge.Cuts layer.
- kicad2ems.core.importers.kicad.outline.board_outline(board, with_holes=False)[source]¶
Board outline polygon (KiCad mm, y down) from every Edge.Cuts item - lines, arcs, rectangles, polygons, circles and curves, on the board and inside footprints - or None. The pieces are snapped to a 1 nm grid, joined and polygonized; the largest face is the board. Cutouts (mounting holes, slots: the faces inside it) are removed when with_holes, else only the outer edge is returned.