summaryrefslogtreecommitdiff
path: root/gerbonara/cad/kicad/footprints.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-07-05 17:25:28 +0200
committerjaseg <git@jaseg.de>2023-07-05 17:25:28 +0200
commit9f2f1f97f9f361add53c2fab6901dec4de087b6f (patch)
tree3ff8190a4841466ab2040e00200f382fbee3b6ac /gerbonara/cad/kicad/footprints.py
parentcb188ac593b6f39b93d26224e9b16faa22babf8d (diff)
downloadgerbonara-9f2f1f97f9f361add53c2fab6901dec4de087b6f.tar.gz
gerbonara-9f2f1f97f9f361add53c2fab6901dec4de087b6f.tar.bz2
gerbonara-9f2f1f97f9f361add53c2fab6901dec4de087b6f.zip
Improve coil gen, and fix some kicad s-expr issues
Diffstat (limited to 'gerbonara/cad/kicad/footprints.py')
-rw-r--r--gerbonara/cad/kicad/footprints.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/gerbonara/cad/kicad/footprints.py b/gerbonara/cad/kicad/footprints.py
index 24488f4..82c0d62 100644
--- a/gerbonara/cad/kicad/footprints.py
+++ b/gerbonara/cad/kicad/footprints.py
@@ -612,14 +612,9 @@ class Footprint:
def __after_parse__(self, parent):
- self.properties = {prop.key: prop for prop in self.properties}
-
for pad in self.pads:
pad.footprint = self
- def __before_sexp__(self):
- self.properties = list(self.properties.values())
-
def property_value(self, key, default=_MISSING):
if default is not _MISSING and key not in self.properties:
return default