Astromar
Research

Bahtinov Mask Generator

Complete

A browser-based generator that builds a custom-fitted, 3D-printable Bahtinov mask for any telescope — enter your aperture and tube diameter, preview the pattern, download an STL.

TypeScriptComputational geometrySTL export
View code repository →

A browser-based tool on the guide page that generates a custom, 3D-printable Bahtinov mask for any telescope: enter aperture, tube diameter and rim width, and it builds the slit-grating plate and a deep, self-supporting mounting collar sized to slide over that exact tube — live preview included, no CAD software needed.

The geometry follows real Bahtinov mask optics — three groups of parallel slits at different angles, producing three diffraction spikes that only cross at a single point when the scope is exactly in focus — with advanced controls for slit count, strut width and offset angle for anyone who wants to tune the pattern rather than take the defaults.