yaqwsx / PcbDraw

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

Fixed zero return with ComputeBoundingBox #77

Closed Electro707 closed 2 years ago

Electro707 commented 2 years ago

Without calling board.SetVisibleAlls(), at least on a certain board I was working on the bounding box will not be properly calculated (a 0 return), and the board will not be properly generated:

Before fix: image

After fix: image

Related KiCad issue: https://gitlab.com/kicad/code/kicad/-/issues/9452

yaqwsx commented 2 years ago

Thanks!