chiark / gitweb /
fairphone4-case-tripod: wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 May 2023 22:08:37 +0000 (23:08 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 May 2023 22:08:37 +0000 (23:08 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone4-case-tripod.scad

index dbe876249598bf5c89aed227f39e4276de2374ab..fb8abc22db11ed4436de8685f7886a2ac952c424 100644 (file)
@@ -3,6 +3,7 @@
 include <camera-mount.scad>
 
 cube_sz = [12, 12, 12];
+around = 10;
 
 module Mount(){
   difference(){
@@ -15,7 +16,13 @@ module Mount(){
 }
 
 module CaseMounted(){ ////toplevel
-  render() Case();
+  difference(){
+    render() Case();
+    translate([ phone_width/2, -phone_height/2 ])
+      linextr(-50, 50)
+      square([phone_width, phone_height] - around * 2 * [1,1],
+            center=true);
+  }
   translate([ phone_width * 0.15,
              -phone_height - cube_sz[1],
              epp3[1] - case_th_bottom ])