chiark / gitweb /
ksafe-base: wip KsafeBase
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 30 Oct 2018 18:35:11 +0000 (18:35 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 30 Oct 2018 18:35:11 +0000 (18:35 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
ksafe-base.scad

index 248119c..2ef442b 100644 (file)
@@ -24,6 +24,8 @@ bevel = 5;
 
 // ----- calculated -----
 
+hsz = main_sz/2;
+
 gppA = [0,0];
 gppB = gppA - [ wall_thick, 0 ];
 
@@ -137,6 +139,20 @@ module WebProfile(){
   }
 }
 
+module KsafeBase(){
+  for (xm=[0,1]) for (ym=[0,1]) {
+    mirror([xm,0]) mirror([0,ym])
+    translate((hsz - cnr_rad) * [1,1])
+    intersection(){
+      rotate_extrude(convexity=10)
+       translate([-cnr_rad,0])
+       UsualProfile();
+      translate([0,0,-250])
+       cube([50,50,500]);
+    }
+  }
+}
+
 module DemoProfiles(){
   translate([0,0,-2]) color("yellow") AnchorWallProfile();
   color("red") AnchorProfile();
@@ -145,4 +161,5 @@ module DemoProfiles(){
   translate([0,0,-4]) color("pink") WebProfile();
 }
 
-DemoProfiles();
+//DemoProfiles();
+KsafeBase();