chiark / gitweb /
toolbox-inserts: wip fixingdemo
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 22 Apr 2025 18:51:39 +0000 (19:51 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 22 Apr 2025 18:51:39 +0000 (19:51 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
toolbox-inserts.scad

index 201f356a312b694ab7c2a5e8c70dc60e5d8323ca..42be6e45e92f416b9ddf9e8026b02863e18a86f6 100644 (file)
@@ -21,6 +21,7 @@ fixing_nom_d = 4;
 fixing_thread_d = fixing_nom_d + 0.375;
 fixing_thread_pitch = 0.5; // M4
 fixing_hole_d = fixing_nom_d + 0.375;
+fixing_demo_nom_len = 8;
 
 fixing_receptacle_d = 4 + 2.5 + 2.5;
 
@@ -281,10 +282,20 @@ module FixingDemo() { ////toplevel
       projection(cut=true) rotate([-90, 0, 0]) {
         FixingSurround($fixing_depth = fixing_depth);
       }
-      rectfromto([ -fixing_hole_d/2, -1 ],
-                [ +fixing_hole_d/2, fixing_depth ]);
     }
   }
+
+  color("white") translate([0,0, 5]) {
+    rectfromto([ -fixing_hole_d/2, -1 ],
+              [ +fixing_hole_d/2, fixing_depth ]);
+  }
+
+  color("blue") translate([0, fixing_head_top_z, 10]) {
+    rectfromto([ -fixing_head_d/2, -fixing_head_th ],
+              [ +fixing_head_d/2, 0]);
+    rectfromto([ -fixing_nom_d/2, -0.1 ],
+              [ +fixing_nom_d/2, fixing_demo_nom_len ]);
+  }
 }
 
 module OdAt(x,y) {