yaqwsx / PcbDraw

Convert your KiCAD board into a nicely looking 2D drawing suitable for pinout diagrams
MIT License
1.16k stars 91 forks source link

Kicad 6.99 - Wrong board outline #108

Closed cchaine closed 1 year ago

cchaine commented 2 years ago

Hi,

I have encountered this issue while trying to use PcbDraw with nightly version 6.99.0-3148-gdb6c153ad9-dirty of Kicad.

The board layer is broken on the generated image.

There seem to be an issue with the get_board_polygon function. I rewrote the algorithm for that function which seemed to have fixed the issue.

PR #106 should fix this issue.

yaqwsx commented 1 year ago

I believe this was addressed in PcbDraw v1.