summaryrefslogtreecommitdiff
path: root/gerbonara/cad/protoboard.py
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/protoboard.py
parent552f30c15dc1fc11b418d08e3f598d170bbea5c4 (diff)
downloadgerbonara-ef3b5d5e1c242d98a03b9527862d0216a5188796.tar.gz
gerbonara-ef3b5d5e1c242d98a03b9527862d0216a5188796.tar.bz2
gerbonara-ef3b5d5e1c242d98a03b9527862d0216a5188796.zip
Spiky proto also works now
Diffstat (limited to 'gerbonara/cad/protoboard.py')
-rw-r--r--gerbonara/cad/protoboard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/cad/protoboard.py b/gerbonara/cad/protoboard.py
index f009e7a..0a5bbbe 100644
--- a/gerbonara/cad/protoboard.py
+++ b/gerbonara/cad/protoboard.py
@@ -538,7 +538,7 @@ class SpikyProto(ObjectGroup):
self.fp_between = kfp.Footprint.load(res.joinpath('pad-between-spiked.kicad_mod').read_text(encoding='utf-8'))
self.right_pad = kfp.FootprintInstance(1.27, 0, self.fp_between, unit=MM)
- self.top_pad = kfp.FootprintInstance(0, 1.27, self.fp_between, rotation=math.pi/2, unit=MM)
+ self.top_pad = kfp.FootprintInstance(0, 1.27, self.fp_between, rotation=-math.pi/2, unit=MM)
@property
def objects(self):