Better defaults, hide pi body on compile

This commit is contained in:
Nathan Anderson 2024-03-20 13:41:33 -06:00
parent 1c3430e758
commit 79de2e5e85
2 changed files with 5 additions and 10 deletions

View File

@ -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);
/*

View File

@ -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() {