From d64890c0391dcacd93946a4b8ddc86354c6f5ab6 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 9 Dec 2022 15:31:54 +0000 Subject: [PATCH] poster-tube-lid: CatchPinProfileDemo: adhoc translate Signed-off-by: Ian Jackson --- poster-tube-lid.scad | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/poster-tube-lid.scad b/poster-tube-lid.scad index 07944b2..5ac63e4 100644 --- a/poster-tube-lid.scad +++ b/poster-tube-lid.scad @@ -713,27 +713,29 @@ module CatchDemoS(){ /////toplevel } module CatchPinProfileDemo(){ /////toplevel - echo("G ", - bayo_n[0] - bayo_e[0]); - color("blue") translate([0,0, - +1, - ]) { - CatchAssemblyCoreProfile(); - CatchHeadProfile(); - } - translate([0,0,10]) - color("red") - CatchTipProfile(0); + translate([0, 0 * -bayo_behind,0]) { + echo("G ", + bayo_n[0] - bayo_e[0]); + color("blue") translate([0,0, + +1, + ]) { + CatchAssemblyCoreProfile(); + CatchHeadProfile(); + } + translate([0,0,10]) + color("red") + CatchTipProfile(0); - polygon(bayo_polygon, convexity=10); + polygon(bayo_polygon, convexity=10); - // adhoc show a position - color("purple") - translate(concat( - cppa, - 10 - )) difference(){ circle(2.5); circle(2.0); } + // adhoc show a position + color("purple") + translate(concat( + cppa, + 10 + )) difference(){ circle(2.5); circle(2.0); } + } } //ProfilesDemo(); -- 2.30.2