I would like to draw a protractor with Mathematica. I hope this is a fun question. Here is some start codes I tried:
r1 = 0.95; r2 = 0.98; r3 = 0.9; R = 1;
Show[{ParametricPlot[{{Cos[x], Sin[x]}, {2 x/Pi - 1, 0}}, {x, 0, Pi},
PlotStyle -> Black],
Table[ParametricPlot[{{Cos[i Degree] x, x Sin[i Degree]}}, {x, r2,
R}, PlotRange -> {-R, R}], {i, 0, 180}],
Table[ParametricPlot[{{Cos[i Degree] x, x Sin[i Degree]}}, {x, r1,
R}, PlotRange -> {-R, R}], {i, 0, 180, 5}],
Table[ParametricPlot[{{Cos[i Degree] x, x Sin[i Degree]}}, {x, r3,
R}, PlotRange -> {-R, R}], {i, 0, 180, 10}]}, Axes -> False]
I draw this protractor just for fun. I hope someone may be interested in this question. As advice from @shrx, the skeleton of the protractor is drawn. However, the labels are not easy for me to add, the alignment and direction are not easy task to do. Any suggestion on this part?
Here are some protractor designs from wiki:
Thanks for @george2079's answer
The correct way to draw this kind object is directly draw each part, not as in the question using parametric equations to draw. I slightly modified @george2079's answer based on @wxffles's suggestion.
Graphics[{{Thickness[.003], Circle[{0, 0}, 1, {0, Pi}],
Circle[{0, 0}, .03],
Line[{{1, 0}, {1, -.1}, {-1, -.1}, {-1, 0}}]},
{Thickness[.001], Line[{{-0.015, 0}, {0.015, 0}}],
Line[{{0, -0.015}, {0, 0.015}}]},
Rotate[{Thickness[.003], Line[{{.03, 0}, {.6, 0}}]}, #, {0,
0}] & /@ {0, Pi/2, Pi},
GeometricTransformation[
Piecewise[{{{Red, Line[{{.8, 0}, {1, 0}}], Black,
Line[{{.2, 0}, {.5, 0}}],
Rotate[{Red,
Text[Style[#, FontSize -> Scaled[0.028],
FontFamily -> "Times"], {.75, 0}, {0, 0}]}, -Pi/2],
Rotate[{Black,
Text[Style[180 - #, FontSize -> Scaled[0.026],
FontFamily -> "Times"], {.65, 0}, {0, 0}]}, -Pi/2]},
Mod[#, 10] == 0}, {{Blue, Line[{{.85, 0}, {1, 0}}]},
Mod[#, 5] == 0}, {Line[{{.9, 0}, {1, 0}}], True}}],
RotationTransform[# Degree]] & /@ (Range[0, 180])}]
Thank you all for your answers and comments!