From: Ian Jackson Date: Sat, 23 Jul 2016 13:51:23 +0000 (+0100) Subject: earring-stand: commitids on tests X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=c42c6393c567af43172f3e84ecd6f80eff344ea5;p=reprap-play.git earring-stand: commitids on tests --- diff --git a/earring-stand.scad b/earring-stand.scad index 0114a37..abbef45 100644 --- a/earring-stand.scad +++ b/earring-stand.scad @@ -1,5 +1,7 @@ // -*- C -*- +include + eclip_inner_rad = 2.5; eclip_gap_rad = 0.5; eclip_prong_th = 3; @@ -95,17 +97,24 @@ module TestBase(){ ////toplevel EclipRPlan(test_alpha, test_main_th); } } - translate([-r2, -eclip_each_len, -test_base_th]) - cube([r2*2, - test_len, - test_base_th]); + translate([-r2, -eclip_each_len, -test_base_th]){ + difference(){ + cube([r2*2, + test_len, + test_base_th]); + mirror([0,0,1]) Commitid_BestCount_M([r2*2, test_len]); + } + } } module TestProtr(){ ////toplevel - translate([0,0, test_main_th - eclip_wall_offset]) - rotate([0,90,0]) - linear_extrude(height=test_len) - EclipPPlan(test_main_th); + difference(){ + translate([0,0, test_main_th - eclip_wall_offset]) + rotate([0,90,0]) + linear_extrude(height=test_len) + EclipPPlan(test_main_th); + mirror([0,0,1]) Commitid_BestCount_M([test_len, r2]); + } } module TestRAProtr(){ ////toplevel