Polygonal Tori
Polygonal Tori
This Demonstration shows a torus with a polygonal cross section.
To get a better view of its inside, open up the meridional and longitudinal gaps.
The Serret–Frenet formulas (using Mathematica's built-in FrenetSerretSystem) are used to generate the parametric equation of the torus surface.