From 2ebcf7a8600e5e939907b6939e0c4d20ade5b836 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 31 Jul 2012 23:26:35 +0100 Subject: [PATCH] refactor parameters, no functional change --- biscuits.scad | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/biscuits.scad b/biscuits.scad index c85403a..c230477 100644 --- a/biscuits.scad +++ b/biscuits.scad @@ -1,9 +1,12 @@ +scale=1.0; +rad=30*scale; +hbase=28.4*scale; +voff=10*scale; +height=70*scale; -rad=30; -hbase=28.4; -voff=10; -height=70; +wallheight = 15 +thick=0.8; module flatsolid() { circle(r=rad,$fn=50); @@ -13,7 +16,7 @@ module flatsolid() { module mink() { minkowski() { flatsolid(); - circle(r=0.4); + circle(r=thick/2); } } @@ -24,4 +27,4 @@ module hollow() { } } -linear_extrude(height = 15) hollow(); +linear_extrude(height=wallheight) hollow(); -- 2.30.2