mead-horn: note dependency on dotscad
[clinton/3d-models.git] / pacman-ghost / pacman-ghost.scad
index 8ad72e0..e314b97 100644 (file)
@@ -33,6 +33,9 @@ $fa=4; // [20:Low Res, 10:Normal Res, 4:Hi Res]
 base_diameter = 30;
 base_height   = 16.2;
 bulb_diameter = 9;
+// Built in sacrificial support layer
+tea_light_support = true;
+tea_light_support_thickness = 0.3;
 
 /* [Hidden] */
 $fs=0.1;
@@ -83,9 +86,11 @@ module tea_light_base () {
          }
          // sacrificial support layer, subtracted since this will be
          // subtracted from the ghost body
-         translate ([0, 0, base_height+0.7]) #cylinder (d=base_diameter+2, h=0.3);
+         if (tea_light_support) {
+              translate ([0, 0, base_height+(1 - tea_light_support_thickness)])
+                   #cylinder (d=base_diameter+2, h=tea_light_support_thickness);
+         }
      }
-
 }
 
 module pacguy () {