From b7bf309d8ac43d28e52922b8242b821941666f3a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 21 May 2023 23:22:58 +0100 Subject: [PATCH] fairphone4-case-tripod: wip Signed-off-by: Ian Jackson --- fairphone4-case-tripod.scad | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/fairphone4-case-tripod.scad b/fairphone4-case-tripod.scad index b66dbf7..c61a821 100644 --- a/fairphone4-case-tripod.scad +++ b/fairphone4-case-tripod.scad @@ -2,17 +2,17 @@ include -cube_sz = [20, 20, 15]; -around = 10; -over = 1; +tr_cube_sz = [20, 20, 15]; +tr_around = 10; +tr_over = 1; module Mount(){ difference(){ - translate([0, cube_sz[1]/2, cube_sz[2]/2]) - cube(cube_sz, center=true); - translate([0, cube_sz[1]/2, 0]) -// rotate([90,0,0]) - render() CameraMountThread(cube_sz[2] - over); + translate([0, tr_cube_sz[1]/2, tr_cube_sz[2]/2]) + cube(tr_cube_sz, center=true); + translate([0, tr_cube_sz[1]/2, 0]) + rotate([180,0,0]) + render() CameraMountThread(tr_cube_sz[2] - tr_over); } } @@ -21,11 +21,11 @@ module CaseMounted(){ ////toplevel render() Case(); translate([ phone_width/2, -phone_height/2 ]) linextr(-50, 50) - square([phone_width, phone_height] - around * 2 * [1,1], + square([phone_width, phone_height] - tr_around * 2 * [1,1], center=true); } translate([ phone_width * 0.85, - -phone_height - cube_sz[1], + -phone_height - tr_cube_sz[1], epp3[1] - case_th_bottom ]) Mount(); } -- 2.30.2