From 59fe7b3b8314d62834a2dbfa1e9735862f16215f Mon Sep 17 00:00:00 2001 From: jaseg Date: Tue, 25 Apr 2023 22:21:07 +0200 Subject: WIP --- gerbonara/cad/kicad/footprints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gerbonara/cad') 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) -- cgit