chiark / gitweb /
fairphone4-case-tripod: wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 May 2023 22:02:54 +0000 (23:02 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 May 2023 22:02:54 +0000 (23:02 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone4-case-tripod.scad [new file with mode: 0644]

diff --git a/fairphone4-case-tripod.scad b/fairphone4-case-tripod.scad
new file mode 100644 (file)
index 0000000..a204e87
--- /dev/null
@@ -0,0 +1,27 @@
+// -*- C -*-
+
+include <camera-mount.scad>
+
+cube_sz = [8,8,8];
+
+module Mount(){
+  difference(){
+    translate([0, cube_sz[1]/2, cube_sz[2]/2])
+      cube(cube_sz, center=true);
+    translate([0, 0, cube_sz[2]/2])
+      rotate([90,0,0])
+      render() CameraMountThread(cube_sz[1]);
+  }
+}
+
+module CaseMounted(){ ////toplevel
+  render() Case();
+  translate([ phone_width/2,
+             -phone_height - cube_sz[1],
+             epp3[1] - case_th_bottom ])
+    Mount();
+}
+
+//// toplevels-from:
+include <fairphone4-case.scad>
+$suppress_hinge = true;