Regular Tetragonal Toroid

regular-tetragonal-toroid

Edit and compile if you like:

\documentclass{article}
\usepackage{tikz}
\usepackage{tikz-3dplot}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\setlength\PreviewBorder{0.125pt}
%
% File name: regular-tetragonal-toroid.tex
% Description:
% A geometric representation of the
% regular tetragonal toroid with 18 faces is shown.
%
% Date of creation: July, 22nd, 2021.
% Date of last modification: October, 9th, 2022.
% Author: Efraín Soto Apolinar.
% https://www.aprendematematicas.org.mx/author/efrain-soto-apolinar/instructing-courses/
% Source: page 477 of the
% Glosario Ilustrado de Matem\'aticas Escolares.
% https://tinyurl.com/5udm2ufy
%
% Terms of use:
% According to TikZ.net
% https://creativecommons.org/licenses/by-nc-sa/4.0/
% Your commitment to the terms of use is greatly appreciated.
%
\begin{document}
\tdplotsetmaincoords{50}{115}
%
\begin{tikzpicture}[tdplot_main_coords]
% Change the value of the number at {\escala}{##} to scale the figure up or down
\pgfmathsetmacro{\escala}{2.0}
\pgfmathsetmacro{\cero}{sqrt(3.0) / 2.0}
\pgfmathsetmacro{\uno}{(2.0 + sqrt(3.0)) / 4.0}
\pgfmathsetmacro{\dos}{(3.0 + 2.0 * sqrt(3.0)) / 4.0}
\pgfmathsetmacro{\tres}{(2.0 + sqrt(3.0)) / 2.0}
% coordinates of the vertices
\coordinate(0) at (\escala*1.0, \escala*0.0, \escala*0.5);
\coordinate(1) at (\escala*1.0, \escala*0.0, -\escala*0.5);
\coordinate(2) at (\escala*\tres, \escala*0.0, \escala*0.0);
\coordinate(3) at (\escala*0.5, \escala*\cero, \escala*0.5);
\coordinate(4) at (\escala*0.5, \escala*\cero, -\escala*0.5);
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Click to download: regular-tetragonal-toroid.texregular-tetragonal-toroid.pdf
Open in Overleaf:
regular-tetragonal-toroid.tex
See more on the author page of Efraín Soto Apolinar.

Leave a Reply

Your email address will not be published.