summaryrefslogtreecommitdiff
path: root/gerbonara/cad/kicad/pcb.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-07-06 22:42:39 +0200
committerjaseg <git@jaseg.de>2023-07-06 22:42:39 +0200
commit572486aa25711a432ff08ff8fad8ad91670661b7 (patch)
tree75dc09f1ea2def4185618fccaf7c07c50f8a0959 /gerbonara/cad/kicad/pcb.py
parent0799cc55adc096b488820ebac46fbb4c54b24e45 (diff)
downloadgerbonara-572486aa25711a432ff08ff8fad8ad91670661b7.tar.gz
gerbonara-572486aa25711a432ff08ff8fad8ad91670661b7.tar.bz2
gerbonara-572486aa25711a432ff08ff8fad8ad91670661b7.zip
kicad: Fix layers attribute handling and improve rotation API
Diffstat (limited to 'gerbonara/cad/kicad/pcb.py')
-rw-r--r--gerbonara/cad/kicad/pcb.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gerbonara/cad/kicad/pcb.py b/gerbonara/cad/kicad/pcb.py
index 2b28655..9ab00b3 100644
--- a/gerbonara/cad/kicad/pcb.py
+++ b/gerbonara/cad/kicad/pcb.py
@@ -251,6 +251,10 @@ class Board:
def __before_sexp__(self):
self.properties = [Property(key, value) for key, value in self.properties.items()]
+ def unfill_zones(self):
+ for zone in self.zones:
+ zone.unfill()
+
def find_pads(self, net=None):
for fp in self.footprints:
for pad in fp.pads: