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

index c60d33fc1d79b243a071a4c0dd40f6c2f7ab5cc3..3aec1b2227afddfde10ea6bad1d0460c337e4a06 100644 (file)
@@ -266,12 +266,23 @@ module TestPlatesPrint() { ////toplevel
 
 module FixingDemo() { ////toplevel
   color("grey") intersection() {
-    projection(cut=true)
-      rotate([-90, 0, 0])
+    projection(cut=true) rotate([-90, 0, 0]) {
       translate(fixing_pitch * [-1, -0.5, 0])
-      FullPlate();
+       // hole comes out a little small due to low side count on hole circle
+       FullPlate();
+    }
     square([ fixing_pitch*3 + 1, 50 ], center=true);
   }
+
+  color("red") {
+    difference(){
+      projection(cut=true) rotate([-90, 0, 0]) {
+        FixingSurround($fixing_depth = fixing_depth);
+      }
+      rectfromto([ -fixing_hole_d/2, -1 ],
+                [ +fixing_hole_d/2, fixing_depth ]);
+    }
+  }
 }
 
 module OdAt(x,y) {