shorten a little bit to fit in makerfarm
[ozzloy@gmail.com/3d-printables] / foot-riser-data.scad
index 590b1f057a3a752ea83574b9f41c8bdbbc4c5993..905dd3ac4136bcfa1337f8040ff8bf32f7ebd552 100644 (file)
@@ -3,6 +3,8 @@
 
 /* riser foot for raising bathroom shelves */
 
+$fn = 100;
+
 fudge = 1;
 // how much higher the shelf needs to be
 extra_height = 150;
@@ -17,8 +19,13 @@ module ring_2d(inner_radius, outer_radius) {
     circle(inner_radius); } }
 
 module foot_riser(foot_radius, extra_height) {
+  foot_surround_height = 25;
   outer_radius = foot_radius + wall_thickness;
-  linear_extrude(height = 200) {
+  // raise the foot
+  linear_extrude(height = extra_height) {
+    circle(foot_radius); }
+  // surround the foot so it stays on riser
+  linear_extrude(height = extra_height + foot_surround_height) {
     ring_2d(foot_radius, outer_radius); } }
 
 /*