update puzzle to latest version to match solution instructions
[ozzloy@gmail.com/3d-printables] / spin.scad
index 3697f5edaddc815b732cb4d9be43ae51f5778e00..d72e2dd0452a5311e0b19e27f6d42b14b938b8ec 100644 (file)
--- a/spin.scad
+++ b/spin.scad
@@ -2,20 +2,38 @@
    see bottom for more license info */
 
 /* spin thing that erin likes */
-include<spin-data.scad>
+include <spin-data.scad>
 
-object = "spin";
+object = "spin_cosine";
 
-if (object == "spin") {
-  spin(weight_radius,
-       weight_thickness,
-       bearing_radius,
-       bearing_thickness,
-       weight_lip_overhang,
-       bearing_lip_overhang,
-       wall,
-       arms,
-       layer_height); }
+if (object == "spin_slices") {
+  spin_slices(weight_radius,
+              weight_thickness,
+              bearing_radius,
+              bearing_thickness,
+              weight_lip_overhang,
+              bearing_lip_overhang,
+              wall,
+              arms,
+              layer_height); }
+else if (object == "spin_donut") {
+  spin_donut(weight_radius,
+             weight_thickness,
+             bearing_radius,
+             bearing_thickness,
+             weight_lip_overhang,
+             bearing_lip_overhang,
+             wall,
+             arms); }
+else if (object == "spin_cosine") {
+  spin_cosine(weight_radius,
+              weight_thickness,
+              bearing_radius,
+              bearing_thickness,
+              weight_lip_overhang,
+              bearing_lip_overhang,
+              wall,
+              arms); }
 else if (object == "cap") {
   cap(bearing_inner_radius,
       bearing_cap_footprint_radius,