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 cc03267..08e92d8 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();