chiark / gitweb /
shelf-label-holder: Main instead. Test reveals Print does not work due to "flashing...
[reprap-play.git] / sprinkler-spike-receptacle.scad
index bf470dc06aaa6eac2c53635c932fa751d60bad83..c806941aa0646891a87375c4b13424fe0bc927d9 100644 (file)
@@ -2,12 +2,12 @@
 
 main_height = 95;
 
-spike_web_thick = 2.52 + 0.5;
+spike_web_thick = 2.52 + 0.75;
 
-spike_top_width = 21.04;
+spike_top_width = 21.04 + 1.5;
 
 spike_botpos_height = 9.5;
-spike_botpos_width = 11.68;
+spike_botpos_width = 11.68 + 0.00;
 
 topwall_width = 1.5;
 
@@ -51,10 +51,7 @@ module SomeMidRounding(sq_size, z_extra) {
 }
 
 module PositiveMidRounding(){
-//  translate([0,0,-5])
-//    linear_extrude(height= main_height + 10)
-//    rotate(45)
-//    square( spike_web_thick*2.5, center=true );
+  SomeMidRounding(pos_web_thick*2, 0);
 }
 
 module NegativeMidRounding(){
@@ -135,14 +132,23 @@ module PlanTest(){
 }
 
 module MainFitTest(){
-  intersection(){
-    translate([0,0, -main_height + 0.5])
-      Main();
-    translate([-50,-50,0])
-      cube([100,100,100]);
+  for (top = [0,1]) {
+    translate([ top * (mount_dist*2 + mount_width), 0,0 ]){
+      intersection(){
+       translate([0, 0, (-main_height + 0.5) * top])
+         Main();
+       translate([-50,-50,0])
+         cube([100,100, spike_botpos_height + 1.5]);
+      }
+    }
   }
 }
 
-//PlanTest();
-//Main();
-MainFitTest();
+module Tests(){
+  translate([-mount_dist*3, 0,0])
+    PlanTest();
+  MainFitTest();
+}
+
+//Tests();
+Main();