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: hexagonal-trapezohedron.tex% Description:% A geometric representation of the hexagonal trapezohedron is shown.%% Date of creation: June, 27th, 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 482 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{80}{110}%\begin{tikzpicture}[tdplot_main_coords]% Change the value of the number at {\escala}{##} to scale the figure up or down\pgfmathsetmacro{\escala}{1.5}\pgfmathsetmacro{\r}{\escala}\pgfmathsetmacro{\cero}{sqrt(2 * (3 * sqrt(3) - 5)) / 4}\pgfmathsetmacro{\uno}{sqrt(3) / 2}\pgfmathsetmacro{\dos}{sqrt(2 * (19 + 11 * sqrt(3))) / 4}% Coordinates of the vertices\coordinate(1) at (\escala*0.0,\escala*0.0,\escala*\dos);\coordinate(2) at (\escala*0.0, \escala*0.0, -\escala*\dos);\coordinate(3) at (\escala*0.0, \escala*1.0, \escala*\cero);\coordinate(4) at (\escala*0.0, -\escala*1.0, \escala*\cero);\coordinate(5) at (\escala*1.0, \escala*0.0, -\escala*\cero);\coordinate(6) at (-\escala*1.0, \escala*0.0, -\escala*\cero);
Click to download: hexagonal-trapezohedron.tex • hexagonal-trapezohedron.pdf
Open in Overleaf: hexagonal-trapezohedron.tex
See more on the author page of Efraín Soto Apolinar.