From 572486aa25711a432ff08ff8fad8ad91670661b7 Mon Sep 17 00:00:00 2001 From: jaseg Date: Thu, 6 Jul 2023 22:42:39 +0200 Subject: kicad: Fix layers attribute handling and improve rotation API --- gerbonara/cad/kicad/pcb.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gerbonara/cad/kicad/pcb.py') 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: -- cgit