diff --git a/AuerNameTag.scad b/AuerNameTag.scad index a53230e..38a3019 100644 --- a/AuerNameTag.scad +++ b/AuerNameTag.scad @@ -15,32 +15,37 @@ $fn = 128; module tag() { - difference(){ - linear_extrude(height = 10 + label_thickness / 2) translate([ 91.62, 9.25 ]) + difference() { - difference() + linear_extrude(height = 10 + label_thickness / 2) + translate([ 91.62, 9.25 ]) { - union() + difference() { - for (a = [0:180:180]) - rotate(v = [ 0, 0, 1 ], a = a) - { - polygon( - [ [ 1, 1 ], [ 10.9, 2 ], [ 10.2, 7.5 ], [ 0, 4 ] ]); - polygon([ - [ 0, 0 ], - [ -10.3, 5 ], - [ -10.2, 8.1 ], - [ -5, 8.3 ] - ]); - } + union() + { + for (a = [0:180:180]) + rotate(v = [ 0, 0, 1 ], a = a) + { + polygon([ + [ 1, 1 ], + [ 10.9, 2 ], + [ 10.2, 7.5 ], + [ 0, 4 ] + ]); + polygon([ + [ 0, 0 ], + [ -10.3, 5 ], + [ -10.2, 8.1 ], + [ -5, 8.3 ] + ]); + } + } + circle(d = 16.1, h = 15); } - circle(d = 16.1,h=15); - } - } - - #translate([80,12,0])cube([10,10,20]); + +#translate([ 80, 12, 0 ]) cube([ 10, 10, 20 ]); } translate([ 88.7, 9.25, 0 ]) cube([ 181, 20, label_thickness ], center = true); @@ -68,7 +73,6 @@ module name(str) { text(str, size = font_size, font = font); - translate([ textSize.advance[0], 0, 0 ]) text(symbolPost, font_size, symbolFont); }