From 6fea359a13f0700f6386b984c759d1cefcd4e107 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 8 Oct 2017 02:23:56 +0100 Subject: [PATCH] poster-tube-lid: BayonetCutout rotation thing --- poster-tube-lid.scad | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/poster-tube-lid.scad b/poster-tube-lid.scad index 2ce691e..1b2cb0e 100644 --- a/poster-tube-lid.scad +++ b/poster-tube-lid.scad @@ -27,7 +27,7 @@ bayo_above_gap = 1.0; bayo_entry = bayo_behind/3; -bayo_slice_size = 10; +bayo_slice_size = 1; // calculated @@ -131,9 +131,10 @@ module BayonetCutoutSlice(offset){ } module BayonetCutout(){ - offs = [ for (i=[-5 : +5]) i ] * bayo_slice_size; + offs = [ for (i=[ bayo_c[0] : + bayo_slice_size : + bayo_i[0] + bayo_slice_size ]) i ]; echo (offs); -* BayonetCutoutSlice(5); for (off =offs //[ -20 : bayo_slice_size : 20 ] -- 2.30.2