[X] I use KiKit at least version 1.4.0 (older version are not supported)
KiKit version
1.4.0+46.g5445c99
KiCAD version
8.0.0
Operating system
MacOS Sonoma 14.1.2
Description
As found and discussed in https://github.com/yaqwsx/KiKit/issues/644, the process of polygon reconstruction introduces zero-length segments into final separated boards, which seems to be a DRC error in Kicad 8.
kikit separate --looseArcs --source 'annotation; ref: A' edgecuts.kicad_pcb A.kicad_pcb
kikit fab jlcpcb A.kicad_pcb . or just open it and run DRC
Following error occurs:
[invalid_outline]: Board has malformed outline (Segment has null or very small length: 0 nm)
Local override; Severity: error
@(144.5000 mm, 30.0000 mm): Segment on Edge.Cuts
open the A.kicad_pcb as a text file and search for "144.5 30". You'll find a segment which has zero length:
Prerequisites
KiKit version
1.4.0+46.g5445c99
KiCAD version
8.0.0
Operating system
MacOS Sonoma 14.1.2
Description
As found and discussed in https://github.com/yaqwsx/KiKit/issues/644, the process of polygon reconstruction introduces zero-length segments into final separated boards, which seems to be a DRC error in Kicad 8.
Steps to Reproduce
download edgecuts.kicad_pcb.zip
kikit separate --looseArcs --source 'annotation; ref: A' edgecuts.kicad_pcb A.kicad_pcb
kikit fab jlcpcb A.kicad_pcb .
or just open it and run DRCFollowing error occurs:
open the A.kicad_pcb as a text file and search for
"144.5 30"
. You'll find a segment which has zero length:Delete this whole (gr_line ...) segment from the
A.kicad_pcb
, open it and run DRC again - there's no error.