X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=itx-aperture-grommet.scad;h=53f74faf48dbedb334cb0c451390d72038e18eda;hb=6dba99d4594590c1af949fbd0379d366a05c2ca6;hp=badb4ab196dfc09e195c90100fbaca496c5012cf;hpb=1c1ad15875e3c70d98287fd665668f9d6acc7ed8;p=reprap-play.git diff --git a/itx-aperture-grommet.scad b/itx-aperture-grommet.scad index badb4ab..53f74fa 100644 --- a/itx-aperture-grommet.scad +++ b/itx-aperture-grommet.scad @@ -5,12 +5,12 @@ include ap_width = 21.30; ap_height = 16.45; -tot_height = 22.74; +tot_height = 22.74 + 1.0; screw_ctr_to_tr = [ 7.89, 3.87 ]; tab_th = 2.5; wall_th = 1; -wall_h = 1; +wall_h = 2; app_slop = 0.60; // total across both sides @@ -18,15 +18,15 @@ app_slop = 0.60; // total across both sides tab_h = tot_height - ap_height; -real_ap_sz = [ ap_width, ap_height ] - app_slop * [ 1,1 ]; -real_main_sz = real_ap_sz + wall_th * [ 2,1 ]; +real_main_sz = [ ap_width, ap_height ] - app_slop * [ 1,1 ]; real_all_sz = real_main_sz + tab_h * [0,1]; +real_inner_sz = real_main_sz - wall_th * [ 2,1 ]; screw_pos = real_all_sz - (screw_ctr_to_tr - 0.5 * app_slop * [1,1]); module GapPlan() { rectfromto([ wall_th, -1 ], - [ real_main_sz[0] - wall_th, real_ap_sz[1] - wall_th ]); + real_main_sz - wall_th * [1,1]); } module MainPlan() {