summaryrefslogtreecommitdiff
path: root/gerbonara/cad/kicad
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2024-07-07 00:52:38 +0200
committerjaseg <git@jaseg.de>2024-07-07 00:52:38 +0200
commitef3b5d5e1c242d98a03b9527862d0216a5188796 (patch)
treeefe3ebb313c32c29f815f84ad47c3987a345187b /gerbonara/cad/kicad
parent552f30c15dc1fc11b418d08e3f598d170bbea5c4 (diff)
downloadgerbonara-ef3b5d5e1c242d98a03b9527862d0216a5188796.tar.gz
gerbonara-ef3b5d5e1c242d98a03b9527862d0216a5188796.tar.bz2
gerbonara-ef3b5d5e1c242d98a03b9527862d0216a5188796.zip
Spiky proto also works now
Diffstat (limited to 'gerbonara/cad/kicad')
-rw-r--r--gerbonara/cad/kicad/footprints.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gerbonara/cad/kicad/footprints.py b/gerbonara/cad/kicad/footprints.py
index 9debaa9..31a5f33 100644
--- a/gerbonara/cad/kicad/footprints.py
+++ b/gerbonara/cad/kicad/footprints.py
@@ -908,7 +908,7 @@ class Footprint:
for fe in obj.render(variables=variables):
fe.rotate(rotation)
- fe.offset(x, -y, MM)
+ fe.offset(x, y, MM)
layer_stack[layer].objects.append(fe)
for obj in self.pads:
@@ -940,7 +940,7 @@ class Footprint:
for fe in obj.render(margin=margin, cache=cache):
fe.rotate(rotation)
- fe.offset(x, -y, MM)
+ fe.offset(x, y, MM)
if isinstance(fe, go.Flash) and fe.aperture:
fe.aperture = fe.aperture.rotated(rotation)
layer_stack[layer_map[layer]].objects.append(fe)
@@ -948,7 +948,7 @@ class Footprint:
for obj in self.pads:
for fe in obj.render_drill():
fe.rotate(rotation)
- fe.offset(x, -y, MM)
+ fe.offset(x, y, MM)
if obj.type == Atom.np_thru_hole:
layer_stack.drill_npth.append(fe)