summaryrefslogtreecommitdiff
path: root/gerbonara/cad/kicad/footprints.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerbonara/cad/kicad/footprints.py')
-rw-r--r--gerbonara/cad/kicad/footprints.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gerbonara/cad/kicad/footprints.py b/gerbonara/cad/kicad/footprints.py
index d7ccc9f..ece7b53 100644
--- a/gerbonara/cad/kicad/footprints.py
+++ b/gerbonara/cad/kicad/footprints.py
@@ -404,7 +404,7 @@ class Pad:
yield go.Flash(self.at.x+ox, self.at.y+oy, aperture, unit=MM)
def aperture(self, margin=None):
- rotation = -math.radians(self.at.rotation)
+ rotation = math.radians(self.at.rotation)
margin = margin or 0
if self.shape == Atom.circle:
@@ -437,7 +437,7 @@ class Pad:
if dx != 0:
x, y = y, x
dy = dx
- rotation -= math.pi/2
+ rotation += math.pi/2
if margin <= 0:
# Note: KiCad already uses MM units, so no conversion needed here.