From 8366062d41c1f08d98c23eee6a0d563ec358e109 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 2 Jan 2017 16:46:37 +0000 Subject: [PATCH] sewing-table: working on test version --- sewing-table-test.scad | 2 ++ sewing-table.scad.m4 | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/sewing-table-test.scad b/sewing-table-test.scad index 663ef23..48bf410 100644 --- a/sewing-table-test.scad +++ b/sewing-table-test.scad @@ -1,3 +1,5 @@ //// toplevels-from:sewing-table.scad include TEST = true; +test_tile_th = 0.67; +test_edge = interlock_dia * 0.5 + interlock_fine + 2; diff --git a/sewing-table.scad.m4 b/sewing-table.scad.m4 index fb8313c..9d49493 100644 --- a/sewing-table.scad.m4 +++ b/sewing-table.scad.m4 @@ -65,6 +65,13 @@ module Post(){ cylinder(r= screw_dia/2, h= ply_th, $fn=20); } } + if (TEST) { + tsz = tile_hard_edge_hole_dist - test_edge + 1; + translate([0,0, tile_th/2]) { + cube([post_dia, tsz*2, tile_th], center=true); + cube([tsz*2, post_dia, tile_th], center=true); + } + } } } @@ -88,6 +95,11 @@ module TileBase(botleft, topright){ Commitid_BestCount_M( topright_post-botleft_post + [-post_dia,-post_dia] + [0, thehd[1]]); + if (TEST) { + mirror([0,0,1]) + translate(concat(botleft + [test_edge,test_edge], [test_tile_th])) + cube(concat(size - [test_edge,test_edge]*2, [tile_th])); + } } } -- 2.30.2