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

index cc03267e1e5db7adef35fc12682619b3f58eb661..08e92d87b81b4d395ae06064a3361716a8a0b567 100644 (file)
@@ -73,10 +73,26 @@ module AnchorProfile(){
   }
 }
 
+module AnchorWallProfile(){
+  UsualProfile();
+  NearAnchorProfile();
+  hull(){
+    for (bev = [bevel, a_bevel]) {
+      upp_app_Vars(bev) {
+       polygon([ $xppE,
+                 $xppF,
+                 $xppI,
+                 $xppJ ]);
+      }
+    }
+  }
+}
+
 module Demo(){
+  translate([0,0,-2]) color("yellow") AnchorWallProfile();
   color("red") AnchorProfile();
   translate([0,0,2]) color("black") NearAnchorProfile();
-  color("blue") UsualProfile();
+  translate([0,0,4]) color("blue") UsualProfile();
 }
 
 Demo();