Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Generate a mesh region representing the tetrahelix
ResourceFunction["TetrahelixMesh"][n,s] gives a mesh region representing the Boerdijk–Coxeter tetrahelix made from n regular tetrahedra of unit edge length, with s set to 1 for the counterclockwise orientation or -1 for the clockwise orientation. | |
ResourceFunction["TetrahelixMesh"][n] gives a mesh region representing an counterclockwise tetrahelix. |
A tetrahelix with 10 tetrahedra, oriented counterclockwise:
| In[1]:= |
|
| Out[1]= |
|
A tetrahelix with 10 tetrahedra, oriented clockwise:
| In[2]:= |
|
| Out[2]= |
|
Use MeshRegion options to change the style:
| In[3]:= |
|
| Out[3]= |
|
Compute the volume and surface area of the helix:
| In[4]:= |
|
| Out[4]= |
|
These can be expressed in terms of the volume and surface area of a single tetrahedron:
| In[5]:= |
|
| Out[5]= |
|
Use TransformedRegion to rescale or translate the tetrahelix:
| In[6]:= |
|
| Out[6]= |
|
Use MeshConnectivityGraph to obtain a Graph representation of the tetrahelix:
| In[7]:= |
|
| Out[7]= |
|
The tetrahelix can be inscribed inside a cylinder with radius
, and a cylinder of radius
can be inscribed in the helix:
| In[8]:= |
|
| Out[8]= |
|
Visualize a helical sphere packing:
| In[9]:= |
|
| Out[9]= |
|
This work is licensed under a Creative Commons Attribution 4.0 International License