An antiprism is a uniform polyhedron consisting of 2 n-gon faces, rotated with respect to each other, connected by 2n equilateral triangles. With practice, these antiprisms can easily be constructed by using Moi interactively. The height can be constructed.
https://en.wikipedia.org/wiki/Antiprism
So far, this antiprism script creates only the vertex points, or else only a polyline of portions of the side triangles.
The minimum n-gon Side number is 2, which yields tetrahedron vertices. This "n-gon" is "degenerate".
An n-gon Side number of 3, yields octahedron vertices.
Possible improvements:
1. Use polygon factory to add top and bottom faces.
2. Modify the script to create the triangular side faces, and/or top and bottom faces.
3. Use circular array.
3. Add code for a 3D convex hull, such as 3D Gift Wrap algorithm. This would be very useful.
- Brian
|