Skip to content

Commit bb64138

Browse files
committed
Fix zone rendering for kicad >= 7.0
Old algorithm that used zone min thickness in addition to polygon was retired in 7.0
1 parent 38719da commit bb64138

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

InteractiveHtmlBom/ecad/kicad.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,8 @@ def parse_zones(self, zones):
734734
if (hasattr(zone, 'GetFilledPolysUseThickness') and
735735
not zone.GetFilledPolysUseThickness()):
736736
width = 0
737+
if KICAD_VERSION[0] >= 7:
738+
width = 0
737739
zone_dict = {
738740
"polygons": self.parse_poly_set(poly_set),
739741
"width": width,

0 commit comments

Comments
 (0)