The universal sundial is introduced as an OpenSCAD script. The included .stl files are just there as examples for Rochester NY.
A whole host of parameters may be set such as latitude (northern or southern hemisphere), longitude, time zone, DST requirement, size and shape of dial, type of lettering etc. Having set these the PARTNO setting decides whether to generate the model in whole or in up to 4 parts to suit multi-material printing. PARTNO=1 generates the dial, PARTNO=2 the gnomon etc.
The sundial should be printed in a heat resistant material such as PET-G or ABS for most situations.
The author remixed this model.
Model can be output as 2 to 4 parts (the dial, gnomon, text, lines) for multi-material printing as one part.
If multiple parts are dropped on the build plate simultaneously they will sit at the correct height
Shape can the set to octagonal/square/round
Works with latitudes 30 to 70 degrees when the gnomon shape automatically adjusts.
Works for southern hemisphere when the hours are numbered anticlockwise
A wide range of parameters are settable such as size, thickness, line widths, character heights etc.