diff options
author | jaseg <git@jaseg.de> | 2023-04-25 22:21:07 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2023-04-25 22:21:07 +0200 |
commit | 59fe7b3b8314d62834a2dbfa1e9735862f16215f (patch) | |
tree | d4175294b6b0f35236e4e2c4bd794fed9e0faa00 /gerbonara/cad/kicad | |
parent | 1dbe7f1f7365ddd97d1ebbfc9e7298667bcdca44 (diff) | |
download | gerbonara-59fe7b3b8314d62834a2dbfa1e9735862f16215f.tar.gz gerbonara-59fe7b3b8314d62834a2dbfa1e9735862f16215f.tar.bz2 gerbonara-59fe7b3b8314d62834a2dbfa1e9735862f16215f.zip |
WIP
Diffstat (limited to 'gerbonara/cad/kicad')
-rw-r--r-- | gerbonara/cad/kicad/footprints.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/cad/kicad/footprints.py b/gerbonara/cad/kicad/footprints.py index 00fa5f5..13cad7d 100644 --- a/gerbonara/cad/kicad/footprints.py +++ b/gerbonara/cad/kicad/footprints.py @@ -402,7 +402,7 @@ class Pad: elif self.shape == Atom.rect: if margin: return ap.ApertureMacroInstance(GenericMacros.rounded_rect, - [x+2*margin, y+2*margin, + [self.size.x+2*margin, self.size.y+2*margin, margin, 0, 0, # no hole rotation], unit=MM) |