Better defaults, hide pi body on compile
This commit is contained in:
parent
1c3430e758
commit
79de2e5e85
13
PiZero.scad
13
PiZero.scad
|
@ -8,15 +8,11 @@
|
||||||
PiZeroVer = "W"; // [1.2/1.3/W/WH] for version of Pi
|
PiZeroVer = "W"; // [1.2/1.3/W/WH] for version of Pi
|
||||||
|
|
||||||
// visibility options
|
// visibility options
|
||||||
// ShowPiZero = true;
|
|
||||||
ShowPiZero = false;
|
ShowPiZero = false;
|
||||||
ShowTestPads = true;
|
ShowTestPads = false;
|
||||||
//ShowTestPads = false;
|
|
||||||
ShowGPIOheader = 0; // 0 = dont' show, 1 = show above, -1 = show below (version WH overrides this)
|
ShowGPIOheader = 0; // 0 = dont' show, 1 = show above, -1 = show below (version WH overrides this)
|
||||||
ShowGPIOsound = true;
|
ShowGPIOsound = false;
|
||||||
//ShowGPIOsound = false;
|
ShowGPIOcolour = false;
|
||||||
ShowGPIOcolour = true;
|
|
||||||
//ShowGPIOcolour = false;
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Loads of variables
|
// Loads of variables
|
||||||
|
@ -121,8 +117,7 @@ if(ShowPiZero) PiZeroBody();
|
||||||
if (ShowTestPads) PiZeroTestPads();
|
if (ShowTestPads) PiZeroTestPads();
|
||||||
|
|
||||||
// Model the GPIO headers if required (always show for WH)
|
// Model the GPIO headers if required (always show for WH)
|
||||||
if (PiZeroVer=="WH") PiGPIO(1);
|
//PiGPIO(ShowGPIOheader);
|
||||||
else if (ShowGPIOheader) PiGPIO(ShowGPIOheader);
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -7,7 +7,7 @@ case_height = 7;
|
||||||
outer_rect_size=[PiSizeX + wall_thickness_mod, PiSizeY + wall_thickness_mod];
|
outer_rect_size=[PiSizeX + wall_thickness_mod, PiSizeY + wall_thickness_mod];
|
||||||
PiZeroVer = "WH";
|
PiZeroVer = "WH";
|
||||||
|
|
||||||
up(cap_thickness) PiZeroBody(false);
|
%up(cap_thickness) PiZeroBody(false);
|
||||||
union() {
|
union() {
|
||||||
// Case Walls
|
// Case Walls
|
||||||
up(cap_thickness - 0.05) difference() {
|
up(cap_thickness - 0.05) difference() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user