From f8841c89fa8f7f0647e6fb592ef5176979bb0fbb Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 8 Jun 2014 15:33:45 +0100 Subject: [PATCH] tablet-case-corner-mount: hook --- tablet-case-corner-mount.scad | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/tablet-case-corner-mount.scad b/tablet-case-corner-mount.scad index 7c09008..1ab1d96 100644 --- a/tablet-case-corner-mount.scad +++ b/tablet-case-corner-mount.scad @@ -1,14 +1,18 @@ // -*- C -*- -main_sz = 20; +main_sz = 20; //xxx wall_th = 3; -front_fullsz = 10; +front_fullsz = 10; //xxx -back_tot_l = 30; +front_th = 2; +back_th = 4; +gap_th = 5; //xxx + +back_tot_l = 30; //xxx back_cut_l = 4; -back_cut_w = 10; +back_cut_w = 10; //xxx back_prong_w = 3; module MidPlan(){ @@ -44,6 +48,22 @@ module BackPlan(){ } } +module Hook(){ + rotate([90,0,0]){ + difference(){ + union(){ + linear_extrude(height=back_th) + BackPlan(); + linear_extrude(height=back_th+gap_th+front_th) + MidPlan(); + translate([0,0, back_th+gap_th]) + linear_extrude(height=front_th) FrontPlan(); + } + } + } +} + //MidPlan(); //FrontPlan(); -BackPlan(); +//BackPlan(); +Hook(); -- 2.30.2