summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2024-07-07 15:16:01 +0200
committerjaseg <git@jaseg.de>2024-07-07 15:16:01 +0200
commit6de138bf7c0c261e123997dcd014350bc5e2f9a3 (patch)
tree308157f4a880bd37b074229f8798a3728c79f1cd
parent224a666219b5d71fb6517459409565c18870fc0d (diff)
downloadgerbonara-6de138bf7c0c261e123997dcd014350bc5e2f9a3.tar.gz
gerbonara-6de138bf7c0c261e123997dcd014350bc5e2f9a3.tar.bz2
gerbonara-6de138bf7c0c261e123997dcd014350bc5e2f9a3.zip
protoboard: reduce hole keepout margins
-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 fa81952..004694f 100644
--- a/gerbonara/cad/protoboard.py
+++ b/gerbonara/cad/protoboard.py
@@ -27,7 +27,7 @@ class ProtoBoard(Board):
if mounting_hole_dia:
mounting_hole_offset = mounting_hole_offset or mounting_hole_dia*2
- ko = mounting_hole_offset*2
+ ko = mounting_hole_offset + mounting_hole_dia*(0.5 + 0.25)
stack = MechanicalHoleStack(mounting_hole_dia, unit=unit)
self.add(Pad(mounting_hole_offset, mounting_hole_offset, pad_stack=stack, unit=unit))