From c42c6393c567af43172f3e84ecd6f80eff344ea5 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 23 Jul 2016 14:51:23 +0100 Subject: [PATCH] earring-stand: commitids on tests --- earring-stand.scad | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) 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 -- 2.30.2