
A horizontal sundial is a flat dial with a fin, the gnomon. The top edge of the fin points at the celestial pole, so it is parallel to the Earth's axis, and its shadow turns around it once a day at a steady 15° per hour of the Sun's hour angle. On the flat dial those equal steps become unequal angles, and that is what has to be calculated for each latitude.
The LyraMaker Sundial Generator does the calculation for your latitude, cuts the hour, half hour and quarter hour lines, sets the gnomon at the right angle and can shift everything so the dial reads your clock time instead of local solar time.
The LyraMaker Sundial Generator makes a horizontal garden sundial that really tells the time. Enter your latitude, and the hour lines and the gnomon are calculated for it. The dial and gnomon print as one piece, flat on the bed and without supports.
For a horizontal dial at latitude φ, the hour line for hour angle h makes an angle θ with the noon line, where tan θ = sin φ · tan h. The hour angle grows by 15° per hour and is zero at local solar noon. At 45° north, for example, the 1 pm line is 10.7° from noon, 3 pm is 35.3° and 6 pm lies exactly on the east–west line. At 30° the same 3 pm line is only 26.6° from noon, at 60° it is 40.9°. The generator computes each line from the direction of the Sun and checks the result against this formula.
The gnomon's style, its sloping top edge, must rise at an angle equal to your latitude, so that it is parallel to the Earth's axis. Only then does the shadow fall on the same line at the same hour all year round, whatever the season.
A plain sundial shows local solar time. Your clock follows the standard time of a time zone whose central meridian is a multiple of 15°. If you live east of that meridian, the Sun reaches its highest point before clock noon; each degree of longitude is four minutes. Switch on the correction, enter longitude and time zone, and the lines are turned by longitude minus 15° × time zone. In summer time, add one hour to the dial reading.
Because the Earth's orbit is an ellipse and its axis is tilted, the Sun runs up to about 16 minutes fast in early November and about 14 minutes slow in mid February. The optional table on the dial gives, for the middle of each month, the minutes to add to the dial reading to get clock time. The numbers come from a standard approximation that is good to about a minute.
The dial prints in one piece with the plate on the bed. Outdoors use PETG or ASA: both handle sun and rain far better than PLA. The engraving is 0.8 mm deep, so a 0.4 mm nozzle draws even the quarter hour lines cleanly. A dial of 200 mm or more prints for many hours; the gnomon is the tallest part and should get at least four perimeters so it stays straight.
The dial is for a horizontal mounting only; on a wall it would show the wrong time. Hours when the Sun cannot be above your horizon on any day of the year are left out, and very early or late lines that would run into the motto are dropped. Near the equator the morning and evening lines crowd together and the shadow becomes short around midsummer noon. A printed sundial is accurate to a few minutes if it is levelled and turned with care; it is a beautiful clock, not a precision instrument.
Sundials are built with OpenSCAD WebAssembly in your browser — nothing is uploaded. For a star clock that works at night, try the planisphere generator; for an indoor clock, the wall clock generator; or explore every LyraMaker generator.
Yes. Both the gnomon angle and the spacing of the hour lines depend on latitude. A dial made for 45° used at 51° is several minutes wrong in the morning and evening, so enter your own latitude to the nearest degree.
The high end of the gnomon must point to true north in the northern hemisphere and to true south in the southern hemisphere, with the dial plate level. Magnetic north is not the same as true north in most places.
Three things cause the difference: your longitude within the time zone, the equation of time, which shifts the Sun by up to about 16 minutes during the year, and summer time. Turn on the clock correction, use the table on the dial and add one hour in summer.
PLA softens at about 60 °C and a dark dial in strong summer sun can get that hot, so the gnomon can bend. PETG or ASA are better choices for a garden dial.
The lines are calculated exactly for your latitude. In use, the accuracy depends on how level and how well aligned the dial is: with care a few minutes, which is about the width of the shadow edge on a dial this size.