24 lines
642 B
OpenSCAD
24 lines
642 B
OpenSCAD
// translate([0,0,-6])
|
|
// import("Clock_Face_Background.stl");
|
|
translate([0,0,11])
|
|
import("Clock_Face_Tickmarks.stl");
|
|
|
|
// add digits to the tickmarks
|
|
|
|
function digit(d, t)=
|
|
t=="arabic"?
|
|
str(d):
|
|
["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII"][d-1];
|
|
|
|
for (i=[1:12])
|
|
{
|
|
rotate(360-30*i)
|
|
translate([0,62,0])
|
|
linear_extrude(4.8, convexity=10)
|
|
text(digit(i, "roman"), halign="center", valign="center", size=12, font="Times New Roman:style=Regular");
|
|
}
|
|
|
|
// to raise the tickmarks so they are at the proper height when combined by the slicer
|
|
|
|
translate([0,58,0])
|
|
cylinder(d=1, h=2); |