From 575010dd63e7ff3dfc93278fbfe2d7e203faa062 Mon Sep 17 00:00:00 2001
From: Neil Gershenfeld <gersh@cba.mit.edu>
Date: Tue, 29 Nov 2022 08:38:09 -0500
Subject: [PATCH] wip

---
 python/pcb.py | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/python/pcb.py b/python/pcb.py
index bca093f..150d288 100755
--- a/python/pcb.py
+++ b/python/pcb.py
@@ -32,7 +32,8 @@ output = "top, labels, holes, and exterior"
 #output = "interior"
 #output = "holes and interior"
 #output = "exterior"
-#output = "solder mask"
+#output = "top solder mask"
+#output = "bottom solder mask"
 
 ############################################################
 # import
@@ -9005,9 +9006,12 @@ elif (output == "holes and interior"):
    outputs["function"] = color(White,
       subtract(pcb.interior,pcb.holes))
    outputs["layers"] = [zb]
-elif (output == "solder mask"):
+elif (output == "top solder mask"):
    outputs["function"] = color(White,pcb.mask)
    outputs["layers"] = [zt]
+elif (output == "bottom solder mask"):
+   outputs["function"] = color(White,pcb.mask)
+   outputs["layers"] = [zb]
 else:
    print("oops -- don't recognize output")
 
-- 
GitLab