summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2024-07-07 21:57:29 +0200
committerjaseg <git@jaseg.de>2024-07-07 21:57:29 +0200
commit26e85279dc4fa41583f1ebffe7610c097ebe136d (patch)
tree3635223c564c9e695eb0acf099363bfc8ae2d2ff
parent1ed127e3b324bad221a58bbc953a5a725ed4f21f (diff)
downloadgerbonara-26e85279dc4fa41583f1ebffe7610c097ebe136d.tar.gz
gerbonara-26e85279dc4fa41583f1ebffe7610c097ebe136d.tar.bz2
gerbonara-26e85279dc4fa41583f1ebffe7610c097ebe136d.zip
protoboard: improve permanent breadboard rail rendering
-rw-r--r--gerbonara/cad/protoboard.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/gerbonara/cad/protoboard.py b/gerbonara/cad/protoboard.py
index 4bb21ad..a02d20a 100644
--- a/gerbonara/cad/protoboard.py
+++ b/gerbonara/cad/protoboard.py
@@ -360,6 +360,13 @@ class BreadboardArea:
sig = 'H' * (i+1)
layouts.append(f'{pre}R{sig}')
+ for i in range(self.num_holes):
+ sig = 'H' * (i+1)
+ for i in range(self.num_power_rails):
+ pwr = 'P' * (i+1)
+ layouts.append(f'{pre}R{sig}C{sig}R{pwr}')
+ layouts.append(f'{pre}R{sig}R{pwr}')
+
layouts.append(f'{pre}R{sig}C{sig}')
for i in range(self.num_power_rails):