diff options
author | jaseg <git@jaseg.de> | 2024-07-07 21:57:29 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2024-07-07 21:57:29 +0200 |
commit | 26e85279dc4fa41583f1ebffe7610c097ebe136d (patch) | |
tree | 3635223c564c9e695eb0acf099363bfc8ae2d2ff | |
parent | 1ed127e3b324bad221a58bbc953a5a725ed4f21f (diff) | |
download | gerbonara-26e85279dc4fa41583f1ebffe7610c097ebe136d.tar.gz gerbonara-26e85279dc4fa41583f1ebffe7610c097ebe136d.tar.bz2 gerbonara-26e85279dc4fa41583f1ebffe7610c097ebe136d.zip |
protoboard: improve permanent breadboard rail rendering
-rw-r--r-- | gerbonara/cad/protoboard.py | 7 |
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): |