From 65634175dd5002a6ab030d901cccc8a6f67b5af4 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 25 May 2017 01:56:03 +0100 Subject: [PATCH] sewing-table: introduce POST_TCROSSSZ (for TEST only) (nfc) --- sewing-table.scad.m4 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sewing-table.scad.m4 b/sewing-table.scad.m4 index d3930c5..7942528 100644 --- a/sewing-table.scad.m4 +++ b/sewing-table.scad.m4 @@ -130,6 +130,9 @@ interlock_sq_adj = 0.2; // arbitrary first_front = machine_front_profile[len(machine_front_profile)-1]; +m4_define(`POST_TCROSSSZ', + `2*( tile_hard_edge_hole_dist - test_edge + 1 )') + module Post(){ mirror([0,0,1]) { difference(){ @@ -140,10 +143,9 @@ module Post(){ } } 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); + cube([post_dia, POST_TCROSSSZ, tile_th], center=true); + cube([POST_TCROSSSZ, post_dia, tile_th], center=true); } } } -- 2.30.2