remove one nupsi for better fit
parent
03a9dbd90a
commit
fa708c659d
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue