From fa708c659d238de0e4a9ea8c29cac8e86da99948 Mon Sep 17 00:00:00 2001 From: Dirk Heilig Date: Wed, 31 Jul 2024 19:17:05 +0200 Subject: [PATCH] remove one nupsi for better fit --- AuerNameTag.scad | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/AuerNameTag.scad b/AuerNameTag.scad index d83abc0..a53230e 100644 --- a/AuerNameTag.scad +++ b/AuerNameTag.scad @@ -15,6 +15,7 @@ $fn = 128; module tag() { + difference(){ linear_extrude(height = 10 + label_thickness / 2) translate([ 91.62, 9.25 ]) { difference() @@ -34,9 +35,13 @@ tag() ]); } } - circle(d = 16.1); + circle(d = 16.1,h=15); + } } + + #translate([80,12,0])cube([10,10,20]); + } translate([ 88.7, 9.25, 0 ]) cube([ 181, 20, label_thickness ], center = true); translate([ 157.5, 12.6, 0 ]) cube([ 17, 5, 4 + label_thickness / 2 ]); @@ -58,13 +63,11 @@ module name(str) { text(symbolPre, font_size, symbolFont); symbolPreSize = textmetrics(symbolPre, font_size, font); - echo(symbolPreSize); translate([ symbolPreSize.size[0] + symbolPreSize.advance[0], 0, 0 ]) { text(str, size = font_size, font = font); - echo(textSize); translate([ textSize.advance[0], 0, 0 ]) text(symbolPost, font_size, symbolFont); @@ -94,3 +97,5 @@ if (part < 4) { } color("black") name(name); } + +!tag();