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-hexagonal-toroid-type-C.tex% Description:% A geometric representation of the% regular tetragonal toroid type C is shown.%% Date of creation: July, 8th, 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 476 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{75}{75}%\begin{tikzpicture}[tdplot_main_coords]% Change the value of the number at {\escala}{##} to scale the figure up or down\pgfmathsetmacro{\escala}{0.75}\pgfmathsetmacro{\r}{\escala}% Coordinates of the vertices\coordinate(0) at (\escala* 3, \escala*3, \escala*3);\coordinate(1) at (\escala* 3, \escala*3, -\escala*3);\coordinate(2) at (-\escala*3, \escala*3, \escala*3);\coordinate(3) at (\escala* 3, -\escala*3, -\escala*3);\coordinate(4) at (-\escala*3, -\escala*3, \escala*3);\coordinate(5) at (-\escala*3, -\escala*3, -\escala*3);\coordinate(6) at (\escala* 3, \escala*1, \escala*3);\coordinate(7) at (-\escala*3, -\escala*1, -\escala*3);
Click to download: regular-hexagonal-toroid-type-c.tex • regular-hexagonal-toroid-type-c.pdf
Open in Overleaf: regular-hexagonal-toroid-type-c.tex
See more on the author page of Efraín Soto Apolinar.