51 lines
2.7 KiB
OpenSCAD
51 lines
2.7 KiB
OpenSCAD
//$fn=100;
|
|
|
|
module BlockWithText(txt="a"){
|
|
difference(){
|
|
cube([10,5,5]);
|
|
translate([.5,.5,4.5])
|
|
cube([9,4,1]);
|
|
}
|
|
translate([5,1,4.5])
|
|
linear_extrude(0.5)
|
|
text(txt,size=3,font="Hack",halign="center");
|
|
}
|
|
rotate([0,-90,0])
|
|
translate([0,0,-5])
|
|
union(){
|
|
BlockWithText("00");
|
|
translate([10,0,5])
|
|
rotate([0,10,0])
|
|
translate([0,0,-5])
|
|
union(){
|
|
BlockWithText("10");
|
|
translate([10,0,5])
|
|
rotate([0,10,0])
|
|
translate([0,0,-5])
|
|
union(){
|
|
BlockWithText("20");
|
|
translate([10,0,5])
|
|
rotate([0,10,0])
|
|
translate([0,0,-5])
|
|
union(){
|
|
BlockWithText("30");
|
|
translate([10,0,5])
|
|
rotate([0,10,0])
|
|
translate([0,0,-5])
|
|
union(){
|
|
BlockWithText("40");
|
|
translate([10,0,5])
|
|
rotate([0,10,0])
|
|
translate([0,0,-5])
|
|
union(){
|
|
BlockWithText("50");
|
|
translate([10,0,5])
|
|
rotate([0,10,0])
|
|
translate([0,0,-5])
|
|
BlockWithText("60");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |