From 79de2e5e85e8391faaff0327f01f516d6cfb838a Mon Sep 17 00:00:00 2001
From: Nathan Anderson <n8r@tuta.io>
Date: Wed, 20 Mar 2024 13:41:33 -0600
Subject: [PATCH] Better defaults, hide pi body on compile

---
 PiZero.scad         | 13 ++++---------
 pi-camera-case.scad |  2 +-
 2 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/PiZero.scad b/PiZero.scad
index afdc8d3..2232e62 100644
--- a/PiZero.scad
+++ b/PiZero.scad
@@ -8,15 +8,11 @@
 PiZeroVer = "W";        // [1.2/1.3/W/WH] for version of Pi
 
 // visibility options
-// ShowPiZero = true;
 ShowPiZero = false;
-ShowTestPads = true;
-//ShowTestPads = false;
+ShowTestPads = false;
 ShowGPIOheader = 0;     // 0 = dont' show, 1 = show above, -1 = show below (version WH overrides this)
-ShowGPIOsound = true;
-//ShowGPIOsound = false;
-ShowGPIOcolour = true;
-//ShowGPIOcolour = false;
+ShowGPIOsound = false;
+ShowGPIOcolour = false;
 
 //
 // Loads of variables
@@ -121,8 +117,7 @@ if(ShowPiZero) PiZeroBody();
 if (ShowTestPads) PiZeroTestPads();
     
 // Model the GPIO headers if required (always show for WH)
-if (PiZeroVer=="WH") PiGPIO(1);
-	else if (ShowGPIOheader) PiGPIO(ShowGPIOheader);
+//PiGPIO(ShowGPIOheader);
 
 
 /*
diff --git a/pi-camera-case.scad b/pi-camera-case.scad
index d777699..47e9f1e 100644
--- a/pi-camera-case.scad
+++ b/pi-camera-case.scad
@@ -7,7 +7,7 @@ case_height = 7;
 outer_rect_size=[PiSizeX + wall_thickness_mod, PiSizeY + wall_thickness_mod];
 PiZeroVer = "WH";
 
-up(cap_thickness) PiZeroBody(false);
+%up(cap_thickness) PiZeroBody(false);
 union() {
   // Case Walls
 	up(cap_thickness - 0.05) difference() {