yaqwsx / KiKit

Automation tools for KiCAD
https://yaqwsx.github.io/KiKit
MIT License
1.53k stars 201 forks source link

Malformed outline on panel #749

Open bobatsar opened 2 weeks ago

bobatsar commented 2 weeks ago

Prerequisites

KiKit version

kikit, version 1.6.0+7.g309b937

KiCAD version

8.0.5

Operating system

Ubuntu 24.04

Description

A outline imported from dxf files is unfortunately malformed in the resulting panel.

test_outline: Bildschirmfoto vom 2024-10-11 10-36-18

The input outlines render normally in the PCB-3D viewer (correct closed outline for KiCad). test_outline

but the resulting panel is messed up. Bildschirmfoto vom 2024-10-11 11-04-48

Steps to Reproduce

Use the example pcbs in

kikit_malformed_outline.zip

and run e.g.

kikit panelize \
    --layout 'grid; rows: 2; cols: 2;' \
    --tabs full \
    --cuts vcuts \
    test_outline.kicad_pcb panel_outline.kicad_pcb
bobatsar commented 1 week ago

@yaqwsx is there more input required to handle this case? Can I provide more data for debugging or can you help me debug this myself?

It would be very helpful for us to fix this bug.