From 267bb43fa7d4fc52a669169acb2e04b445f7d1b3 Mon Sep 17 00:00:00 2001 From: Clinton Ebadi Date: Fri, 1 Nov 2019 16:59:39 -0400 Subject: [PATCH] pacman-ghost: add optional sacrificial support layer back Turns out it really is easier to print with this instead of using slicer supports, at least on my machine. --- pacman-ghost/pacman-ghost.scad | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pacman-ghost/pacman-ghost.scad b/pacman-ghost/pacman-ghost.scad index 8ad72e0..e314b97 100644 --- a/pacman-ghost/pacman-ghost.scad +++ b/pacman-ghost/pacman-ghost.scad @@ -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 () { -- 2.20.1