From f5322e66f3fc195ac92b2028a646e3edc779088c Mon Sep 17 00:00:00 2001 From: daniel watson Date: Sat, 25 Feb 2017 16:55:45 -0800 Subject: [PATCH] add layer_height parameter --- spin-data.scad | 3 ++- spin.scad | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/spin-data.scad b/spin-data.scad index 62e216a..0c83d85 100644 --- a/spin-data.scad +++ b/spin-data.scad @@ -95,7 +95,8 @@ module spin(weight_radius, weight_lip_overhang = 0.3, bearing_lip_overhang = 0.3, wall = 3, - arms = 3) { + arms = 3, + layer_height = 0.15) { layer_height = 0.15; thicker_thickness = (bearing_thickness > weight_thickness) ? bearing_thickness : weight_thickness; diff --git a/spin.scad b/spin.scad index 23c61b1..3697f5e 100644 --- a/spin.scad +++ b/spin.scad @@ -14,7 +14,8 @@ if (object == "spin") { weight_lip_overhang, bearing_lip_overhang, wall, - arms); } + arms, + layer_height); } else if (object == "cap") { cap(bearing_inner_radius, bearing_cap_footprint_radius, -- 2.30.2