add layer_height parameter
authordaniel watson <ozzloy@gmail.com>
Sun, 26 Feb 2017 00:55:45 +0000 (16:55 -0800)
committerdaniel watson <ozzloy@gmail.com>
Sun, 26 Feb 2017 00:55:45 +0000 (16:55 -0800)
spin-data.scad
spin.scad

index 62e216ab4a5135972db6ebb5fbc653be53efc492..0c83d85bcad1a929d25e26a26e08fcd362b2cd9e 100644 (file)
@@ -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;
index 23c61b103d9838621f9b2cac70609e5b169e7e04..3697f5edaddc815b732cb4d9be43ae51f5778e00 100644 (file)
--- 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,