From 26e85279dc4fa41583f1ebffe7610c097ebe136d Mon Sep 17 00:00:00 2001 From: jaseg Date: Sun, 7 Jul 2024 21:57:29 +0200 Subject: protoboard: improve permanent breadboard rail rendering --- gerbonara/cad/protoboard.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gerbonara') 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): -- cgit