From f13cc591b8a952a8f0c120bbdf96b3c2f4518c1c Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 5 Nov 2017 22:33:32 +0000 Subject: [PATCH] introduce TopSlice (nfc) Signed-off-by: Ian Jackson --- moebius-demo.scad | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/moebius-demo.scad b/moebius-demo.scad index 25ebe12..84356c1 100644 --- a/moebius-demo.scad +++ b/moebius-demo.scad @@ -22,11 +22,15 @@ pin_height = 5; sliceat = moebiuscore_sliceat * moebiuscore_nomsize; +module TopSlice(){ + translate([0,0, 200-sliceat]) + cube(center=true, 400); +} + module MainBody(){ intersection(){ MoebiusCore(); - translate([0,0, 200-sliceat]) - cube(center=true, 400); + TopSlice(); } } -- 2.30.2