Sundial 3D print: equatorial sundial for your location
What is an equatorial sundial?
This generator makes a 3D-printable sundial for the place where you live. It is an equatorial sphere-shadow sundial: a ring tilted so that it is parallel to Earth’s equator, with a small sphere at its center. The sun travels across the sky at a steady 15° per hour, so the shadow of the sphere sweeps along the inside of the ring at the same rate, whatever the season. Numbers engraved into the ring turn the shadow into an hour reading.
You enter your latitude, longitude and time zone, and the generator tilts the ring to your latitude, turns the numbers to your clock time and builds the printable model. Download it as an STL or 3MF file for any slicer. The examples are ready-made dials for cities such as Prague, New York and Sydney. To start from the defaults, open the generator.
How the generator works
Everything runs in your browser. Nothing is uploaded; the design lives only in the link you can share. Change a value and the preview rebuilds in about a second.
The model is one single part: a round base disc, a post, an arc, the hour ring and a shaft with the sphere. The ring is cut off at the horizon, so the shadow reaches its edge at sunrise and sunset. On the base disc you find a raised analemma, a figure eight that corrects the reading, and small labels with latitude, longitude and time zone.
The design is a port of the OpenSCAD sundial by RyanDMott (see the credits at the end). The generator recreates it in TypeScript and keeps its geometry. We compared four cases (Prague, Sydney, New York with a 65 mm ring and Reykjavík) with the OpenSCAD original, and volume and size matched.
Setting up your location
The three fields in the group “Location” decide what the dial shows:
- “Latitude” (−80 to 80°, default 50.11): degrees north of the equator, negative for south. It sets how steeply the ring is tilted against the base.
- “Longitude” (−180 to 180°, default 14.44): degrees east, negative for west.
- “Time zone (UTC offset)” (−12 to 14 h, default 1): the standard-time offset of your clocks from UTC, for example +1 for Central Europe, −5 for New York or 5.5 for India.
Longitude and time zone work together. The sun is highest at solar noon, which is not 12:00 on your clock unless you stand on the central meridian of your time zone. The generator turns the numbers by the difference, so the shadow reads clock time. Madrid is a good example: it lies west of Greenwich but keeps UTC+1, so the numbers are turned by almost 1¼ hours against local solar time. Reykjavík keeps UTC±0 although it lies almost 22° west of Greenwich. Look at the Madrid and Reykjavík examples.
Leave daylight saving time out of the UTC offset. The ring has a second row of numbers, one hour ahead, for the months when your clocks run on summer time.
Designing the dial
The group “Dial” shapes the ring:
- “Ring radius” (40–70 mm, default 50): the inner radius of the hour ring. The base disc, the arc and the analemma grow with it.
- “Ring thickness” (3–6 mm, default 3): how deep the ring is radially; the numbers are engraved into its inside.
- “Number size” (4–8 mm, default 6): the height of the engraved numbers. Numbers that are too wide for a facet of the ring are made smaller, and the editor tells you the new size.
- “Sphere radius” (1.5–4 mm, default 2): the ball at the center whose shadow marks the time.
The group “Stand and base” holds the rest:
- “Shaft radius” (2–4 mm, default 3): the rod that carries the sphere; near the sphere it tapers to 70 % of the sphere radius.
- “Arc width” (5–12 mm, default 8) and “Arc thickness” (2–5 mm, default 3): the arc that joins ring, shaft and base, and the post below it.
- “Post height” (10–30 mm, default 16): the post between the base disc and the ring. It is raised automatically when the ring or the arc would otherwise touch the base, and the editor shows a note when that happens.
- “Base thickness” (3–8 mm, default 4): the round base disc.
Two switches complete the design. “Analemma” adds the raised figure eight to the base, and “Labels” adds the raised text with latitude, longitude and time zone. Turn the labels off if you do not want your coordinates on a model you give away; the Cape Town example does.
Sizes
At the default ring radius of 50 mm the dial measures about 94 × 106 × 68 mm. A 65 mm ring (New York) gives about 121 × 137 × 83 mm with wider facets and bigger numbers. A 40 mm ring (Tokyo, compact) shrinks it to about 80 × 86 × 58 mm. The largest ring (70 mm) at 80° north measures about 150 × 146 × 88 mm, so it still fits a 180 mm build volume.
Reading the time and the date
Read the hour number nearest the center of the shadow on the inside of the ring. The facet edges mark the top of each hour. The shadow’s height on the ring shows the season: it is at the bottom edge at the summer solstice, at the top edge at the winter solstice and at the middle crease at the equinoxes, as described for the northern hemisphere in the source README.
Correcting with the analemma
Because of Earth’s elliptical orbit and tilted axis, the sun runs up to about 16 minutes fast or slow against a perfect clock during the year. The analemma on the base encodes this at the same scale as the ring. The horizontal axis is the offset in minutes: a point to the right means the shadow is ahead, so subtract those minutes; a point to the left means it is behind, so add them. The vertical axis is the sun’s declination, which helps you find today’s date on the curve. The curve in the generator uses the same data table as the source, computed for the year 2030.
Printing the sundial
Supports are required, and only on the build plate. The ring, the arc and the tilted shaft overhang, and a support-free version would need a different design. The source’s own 3MF project is sliced with supports on the build plate only, and we follow it. In PrusaSlicer enable “Generate support material” and tick “Support on build plate only”; in Bambu Studio and OrcaSlicer enable supports and choose “On build plate only”.
Print the model as it comes: the base disc lies flat on the bed. Use 0.2 mm layers and a 0.4 mm nozzle. The numbers are engraved into the ring’s inside; the default 6 mm is a safe size, while smaller numbers get harder to read. PLA is fine for a first dial, but if it stands outside in the sun, PETG or ASA tolerate heat and weather better than PLA.
These numbers come from our own slices with PrusaSlicer (Prusa MINI, 0.20 mm SPEED profile, Prusament PLA, no supports):
| Example | Ring | Filament | Print time |
|---|---|---|---|
| Prague (default) | 50 mm | 27.9 g | 1 h 51 min |
| Berlin | 50 mm, 4 mm thick | 29.9 g | 2 h 0 min |
| Sydney | 50 mm | 28.2 g | 1 h 58 min |
| Tokyo, compact | 40 mm | 18.9 g | 1 h 29 min |
| New York | 65 mm | 47.5 g | 2 h 55 min |
Automatic supports on the build plate add 5 to 12 g depending on the design, for example about 10.7 g for the Prague dial, and make the print longer. Slicers differ, so treat the figures as a guide. We have not printed and tested the dials ourselves.
Setting it up outside
- Place the base on a level surface in a spot that gets sun. The cut at the top of the ring should be level with the horizon.
- Turn the whole dial so that the arc behind the ring points toward true north in the northern hemisphere or true south in the southern hemisphere. The inside of the ring then faces the equator. A compass shows magnetic north, so correct it for the magnetic declination of your location.
- Do not tilt anything: the latitude is built into the model, which is why it has to be set to your own latitude before printing.
- Read the shadow of the sphere on the ring, and add or subtract the analemma correction if you want clock time.
Southern hemisphere
For a negative latitude the generator mirrors the dial and turns the numbers upside down, and the shadow moves from right in the morning to left in the evening. The source README lists “Check southern hemisphere logic” among its extension ideas, so this part is an open point of the original. Our port reproduces the source’s behavior, and we have not checked a southern dial against the real sun. If you build one, compare it with a clock first. Examples: Sydney, Cape Town and Buenos Aires.
What changed from the original
The port follows the OpenSCAD files and makes a few adaptations:
- The original takes the current local time and GMT time to derive the offset. The generator asks for the UTC offset directly, and the base label prints it. The turn of the numbers is the same.
- The horizon cut is a true half-space cut.
- The sphere uses 32 segments instead of 64, the analemma line is 0.8 mm wide instead of 0.5 mm, and the base labels are bold, so that they print cleanly with a 0.4 mm nozzle.
- The analemma and the label rows scale with the ring radius, and the “shadow offset” label only appears together with the analemma.
- If the ring or arc would reach the base, the post is raised; if the numbers do not fit a facet, they are made smaller.
Credits and licenses
The design is a port of equatorial-sundial by RyanDMott, published under the MIT license (© 2026 RyanDMott). The license file is shipped unchanged with this site. The numbers and labels use Liberation Sans, bundled under the SIL Open Font License. All credits are listed on the licenses page.
Looking for more projects for your desk or shelf? The Clock Hands generator makes hands for clock kits, and the Bahtinov focus mask helps with stargazing. Or go back to the sundial generator and set your own location.
All parameters
The numeric settings of the generator with their default values and allowed ranges. Text, fonts, patterns and colors are set directly in the generator.
| Parameter | Default | Range | Meaning |
|---|---|---|---|
| Location | |||
| Latitude | 50.11 ° | -80 – 80 ° | Degrees north (negative = south) of the place where the sundial will stand. It sets the tilt of the hour ring against the base. |
| Longitude | 14.44 ° | -180 – 180 ° | Degrees east (negative = west). Together with the time zone it turns the hour numbers, so the shadow reads clock time instead of local solar time. |
| Time zone (UTC offset) | 1 h | -12 – 14 h | Standard-time offset of your clocks from UTC/GMT, e.g. +1 for Central Europe or −5 for New York. Leave daylight saving time out: the lower row of numbers is one hour ahead for it. |
| Dial | |||
| Ring radius | 50 mm | 40 – 70 mm | Inner radius of the hour ring. The base disc, the arc and the analemma grow with it. |
| Ring thickness | 3 mm | 3 – 6 mm | Radial thickness of the hour ring. The numbers are engraved into its inside. |
| Number size | 6 mm | 4 – 8 mm | Height of the engraved hour numbers. Numbers too wide for a facet of the ring are made smaller. |
| Sphere radius | 2 mm | 1.5 – 4 mm | The small ball at the center whose shadow marks the time on the ring. |
| Stand and base | |||
| Shaft radius | 3 mm | 2 – 4 mm | Radius of the rod that holds the sphere; near the sphere it tapers to 70% of the sphere radius. |
| Arc width | 8 mm | 5 – 12 mm | Radial width of the arc that joins the ring, the shaft and the base. |
| Arc thickness | 3 mm | 2 – 5 mm | Thickness of the arc and of the post below it. |
| Post height | 16 mm | 10 – 30 mm | Height of the post between the base disc and the ring. It is raised automatically when the ring or the arc would reach the base. |
| Base thickness | 4 mm | 3 – 8 mm | Thickness of the round base disc. |
Frequently asked questions
Do I need supports?
Yes. Print with supports on the build plate only, as the source design’s own 3MF file does. The ring, the arc and the tilted shaft overhang, and the supports add about 5–12 g of filament.
How accurate is the sundial?
It shows clock time by the sun’s shadow, and the analemma on the base lets you correct the sun’s fast and slow running of up to about 16 minutes. We have not test-printed it ourselves and make no promise about exact minutes; alignment and print quality decide how well it reads.
Does it work in the southern hemisphere?
You can enter a negative latitude and the generator mirrors the dial for it. The source README, however, lists “check southern hemisphere logic” as an open point, so treat southern dials as untested and compare the reading with a clock on a sunny day.
What do I do about daylight saving time?
Enter your standard-time UTC offset, never the summer-time one. The ring carries a second row of numbers, one hour ahead, which you read while your clocks are on daylight saving time.
How do I set the sundial up?
Put the base on a level surface in the sun and turn the arc toward true north (northern hemisphere) or true south (southern hemisphere), using a compass corrected for magnetic declination. The latitude tilt is already printed into the model, so you do not tilt anything.
Is my location uploaded anywhere?
No. The generator runs in your browser, and your coordinates only appear in the link you share yourself. Switch off “Labels” if you do not want them printed on the base.
Origin & license
- equatorial-sundial by RyanDMott · MIT · code ported