X-Git-Url: http://git.hcoop.net/clinton/3d-models.git/blobdiff_plain/623e1176ee541e77d997e01189fa8cff096cd74f..HEAD:/pacman-ghost/pacman-ghost.scad diff --git a/pacman-ghost/pacman-ghost.scad b/pacman-ghost/pacman-ghost.scad index 35c8d03..e314b97 100644 --- a/pacman-ghost/pacman-ghost.scad +++ b/pacman-ghost/pacman-ghost.scad @@ -4,7 +4,7 @@ // // Created by Joao Alves (jpralves@gmail.com) // Tea Light added by Clinton Ebadi -// Pac Guy model by Fry Hyde (https://www.thingiverse.com/thing:612888) +// Pac Guy model by Fry Hyde // ------------------------------------------ // // Parameters: @@ -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; @@ -81,8 +84,13 @@ module tea_light_base () { cylinder (d = base_diameter + 1, h = base_height + 1); led_hole (led_d = bulb_diameter, led_h = base_height+8); } + // sacrificial support layer, subtracted since this will be + // subtracted from the ghost body + 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 () {