OffTheDop
✦ Convex Library · Part IV of VI · 4 Infinite Families 3 min read ← Library Overview

Part IV: Uniform Prisms, Antiprisms, Bipyramids, and Trapezohedra

• ProFacet Computational Faceting
Computation Craft & Practice

A quick note: I'm not a trained gemologist. No GIA diploma, no mineralogy degree, no formal apprenticeship. Just an engineer taking Feynman literally: "What I cannot create, I do not understand." Everything here comes from rebuilding faceting from first principles: geometry, ray-traced light physics, and custom machines.

Beyond the finite Platonic, Archimedean, and Catalan sets sit four open-ended families that work for any number of sides from 3 upward: uniform Prisms, half-twisted Antiprisms, and their dual twins, Bipyramids and Trapezohedra (the familiar shape of a 10-sided gaming die). Each entire family boils down to a few clean lines of FSL for any side count, with bestGear(n) or bestGear(2 * n) picking the right standard index wheel automatically.

Standard index-gear divisibility spectrum for uniform Prisms, Antiprisms, Bipyramids, and Trapezohedra across n = 3 to 12
Standard index wheels across 3-sided through 12-sided shapes, comparing straight-aligned Prisms and Bipyramids from bestGear(n) against twisted Antiprisms and Trapezohedra from bestGear(2n).

How Standard Index Gears Cover Prisms And Antiprisms#

A Prism or Bipyramid stacks its top and bottom facets directly above each other around the stone, so any index wheel divisible by the side count works (gear = bestGear(n)). An Antiprism or Trapezohedron twists one half by half a step relative to the other, doubling the number of positions around the circle so the wheel needs to divide twice the side count (gear = bestGear(2 * n)).

With everyday commercial index gears (96, 80, 84, 72, 64, and 120), every single side count from 3 through 12 cuts cleanly without a cheater, leaving prime 11 as the only exception: 3, 4, 6, 8, and 12 sides stay on a 96-index wheel (gear = 96); 5 and 10 sides use an 80-index wheel (gear = 80, covering both the Pentagonal Antiprism and the 10-sided Pentagonal Trapezohedron); 7 sides use an 84-index wheel (gear = 84, covering both 7-fold prisms and 14-step antiprisms); and 9 sides use a 72-index wheel (gear = 72).

Here is the Heptagonal Antiprism (two 7-sided caps joined by 14 equilateral triangles), stepping cleanly every 6 teeth on an 84-index gear:

FSL Faceting Script
name = "Heptagonal Antiprism (84-Index Gear)"
ri   = 1.45
gear = bestGear(14)   // selects standard 84-index gear (84 / 14 = 6 teeth)
cube = 2.5

// Uniform 7-gonal antiprism: 14 equilateral triangles + 2 regular 7-gon caps
n      = 7
R      = 0.72
a      = 2 * R * Math.sinDeg(180 / n)
r_in   = R * Math.cosDeg(180 / n)
h      = Math.sqrt(a * a - 2 * R * R * (1 - Math.cosDeg(180 / n)))
slope  = Math.atanDeg(h / (R - r_in))
d_side = ((R + r_in) / 2) * Math.sinDeg(slope)
half   = gear / (2 * n)

P1 0    @ 0.0   : (h / 2) x1
P2 half @ slope : d_side x n
C1 0    @ slope : d_side x n
T  0    @ 0.0   : (h / 2) x1

assert(stone().facetCount == 16)
assert(stone().vertexCount == 14)

Twelve Showcase Specimens (nordic Slate Ceramic)#

Showing 12 of 12 verified specimens · click any render or SVG to zoom
Triangular Prism matte mineral GPU render BDPT
Triangular Prism 3D SVG geometric blueprint with 96-index wheel SVG

Triangular Prism

96-index
V=6 · E=9 · F=5 | 2x3 + 3x4
View exact FSL source ▼
name = "Triangular Prism"
ri   = 1.45
gear = bestGear(3)   // 96-index: standard bench gear dividing 3
cube = 2.5

// Uniform 3-gonal prism: 3 congruent squares + 2 regular 3-gon caps
n = 3
a = 0.72
r = a / (2 * Math.tanDeg(180 / n))   // inradius of regular 3-gon with edge a
h = a / 2                             // half-height so every side face is a unit square

P1 0 @ 0.0  : h x1
G1 0 @ 90.0 : r x n
T  0 @ 0.0  : h x1

assert(stone().facetCount == 5)
assert(stone().vertexCount == 6)
Pentagonal Prism matte mineral GPU render BDPT
Pentagonal Prism 3D SVG geometric blueprint with 80-index wheel SVG

Pentagonal Prism

80-index
V=10 · E=15 · F=7 | 5x4 + 2x5
View exact FSL source ▼
name = "Pentagonal Prism"
ri   = 1.45
gear = bestGear(5)   // 80-index: standard bench gear dividing 5
cube = 2.5

// Uniform 5-gonal prism: 5 congruent squares + 2 regular 5-gon caps
n = 5
a = 0.72
r = a / (2 * Math.tanDeg(180 / n))   // inradius of regular 5-gon with edge a
h = a / 2                             // half-height so every side face is a unit square

P1 0 @ 0.0  : h x1
G1 0 @ 90.0 : r x n
T  0 @ 0.0  : h x1

assert(stone().facetCount == 7)
assert(stone().vertexCount == 10)
Hexagonal Prism matte mineral GPU render BDPT
Hexagonal Prism 3D SVG geometric blueprint with 96-index wheel SVG

Hexagonal Prism

96-index
V=12 · E=18 · F=8 | 6x4 + 2x6
View exact FSL source ▼
name = "Hexagonal Prism"
ri   = 1.45
gear = bestGear(6)   // 96-index: standard bench gear dividing 6
cube = 2.5

// Uniform 6-gonal prism: 6 congruent squares + 2 regular 6-gon caps
n = 6
a = 0.72
r = a / (2 * Math.tanDeg(180 / n))   // inradius of regular 6-gon with edge a
h = a / 2                             // half-height so every side face is a unit square

P1 0 @ 0.0  : h x1
G1 0 @ 90.0 : r x n
T  0 @ 0.0  : h x1

assert(stone().facetCount == 8)
assert(stone().vertexCount == 12)
Heptagonal Prism matte mineral GPU render BDPT
Heptagonal Prism 3D SVG geometric blueprint with 84-index wheel SVG

Heptagonal Prism

84-index
V=14 · E=21 · F=9 | 7x4 + 2x7
View exact FSL source ▼
name = "Heptagonal Prism"
ri   = 1.45
gear = bestGear(7)   // 84-index: standard bench gear dividing 7
cube = 2.5

// Uniform 7-gonal prism: 7 congruent squares + 2 regular 7-gon caps
n = 7
a = 0.72
r = a / (2 * Math.tanDeg(180 / n))   // inradius of regular 7-gon with edge a
h = a / 2                             // half-height so every side face is a unit square

P1 0 @ 0.0  : h x1
G1 0 @ 90.0 : r x n
T  0 @ 0.0  : h x1

assert(stone().facetCount == 9)
assert(stone().vertexCount == 14)
Square Antiprism matte mineral GPU render BDPT
Square Antiprism 3D SVG geometric blueprint with 96-index wheel SVG

Square Antiprism

96-index
V=8 · E=16 · F=10 | 8x3 + 2x4
View exact FSL source ▼
name = "Square Antiprism"
ri   = 1.45
gear = bestGear(8)   // 96-index: standard bench gear dividing 8
cube = 2.5

// Uniform 4-gonal antiprism: 8 equilateral triangles + 2 regular 4-gon caps
n      = 4
R      = 0.72
a      = 2 * R * Math.sinDeg(180 / n)
r_in   = R * Math.cosDeg(180 / n)
h      = Math.sqrt(a * a - 2 * R * R * (1 - Math.cosDeg(180 / n)))
slope  = Math.atanDeg(h / (R - r_in))
d_side = ((R + r_in) / 2) * Math.sinDeg(slope)
half   = gear / (2 * n)

P1 0    @ 0.0   : (h / 2) x1
P2 half @ slope : d_side x n
C1 0    @ slope : d_side x n
T  0    @ 0.0   : (h / 2) x1

assert(stone().facetCount == 10)
assert(stone().vertexCount == 8)
Pentagonal Antiprism matte mineral GPU render BDPT
Pentagonal Antiprism 3D SVG geometric blueprint with 80-index wheel SVG

Pentagonal Antiprism

80-index
V=10 · E=20 · F=12 | 10x3 + 2x5
View exact FSL source ▼
name = "Pentagonal Antiprism"
ri   = 1.45
gear = bestGear(10)   // 80-index: standard bench gear dividing 10
cube = 2.5

// Uniform 5-gonal antiprism: 10 equilateral triangles + 2 regular 5-gon caps
n      = 5
R      = 0.72
a      = 2 * R * Math.sinDeg(180 / n)
r_in   = R * Math.cosDeg(180 / n)
h      = Math.sqrt(a * a - 2 * R * R * (1 - Math.cosDeg(180 / n)))
slope  = Math.atanDeg(h / (R - r_in))
d_side = ((R + r_in) / 2) * Math.sinDeg(slope)
half   = gear / (2 * n)

P1 0    @ 0.0   : (h / 2) x1
P2 half @ slope : d_side x n
C1 0    @ slope : d_side x n
T  0    @ 0.0   : (h / 2) x1

assert(stone().facetCount == 12)
assert(stone().vertexCount == 10)
Hexagonal Antiprism matte mineral GPU render BDPT
Hexagonal Antiprism 3D SVG geometric blueprint with 96-index wheel SVG

Hexagonal Antiprism

96-index
V=12 · E=24 · F=14 | 12x3 + 2x6
View exact FSL source ▼
name = "Hexagonal Antiprism"
ri   = 1.45
gear = bestGear(12)   // 96-index: standard bench gear dividing 12
cube = 2.5

// Uniform 6-gonal antiprism: 12 equilateral triangles + 2 regular 6-gon caps
n      = 6
R      = 0.72
a      = 2 * R * Math.sinDeg(180 / n)
r_in   = R * Math.cosDeg(180 / n)
h      = Math.sqrt(a * a - 2 * R * R * (1 - Math.cosDeg(180 / n)))
slope  = Math.atanDeg(h / (R - r_in))
d_side = ((R + r_in) / 2) * Math.sinDeg(slope)
half   = gear / (2 * n)

P1 0    @ 0.0   : (h / 2) x1
P2 half @ slope : d_side x n
C1 0    @ slope : d_side x n
T  0    @ 0.0   : (h / 2) x1

assert(stone().facetCount == 14)
assert(stone().vertexCount == 12)
Heptagonal Antiprism matte mineral GPU render BDPT
Heptagonal Antiprism 3D SVG geometric blueprint with 84-index wheel SVG

Heptagonal Antiprism

84-index
V=14 · E=28 · F=16 | 14x3 + 2x7
View exact FSL source ▼
name = "Heptagonal Antiprism"
ri   = 1.45
gear = bestGear(14)   // 84-index: standard bench gear dividing 14
cube = 2.5

// Uniform 7-gonal antiprism: 14 equilateral triangles + 2 regular 7-gon caps
n      = 7
R      = 0.72
a      = 2 * R * Math.sinDeg(180 / n)
r_in   = R * Math.cosDeg(180 / n)
h      = Math.sqrt(a * a - 2 * R * R * (1 - Math.cosDeg(180 / n)))
slope  = Math.atanDeg(h / (R - r_in))
d_side = ((R + r_in) / 2) * Math.sinDeg(slope)
half   = gear / (2 * n)

P1 0    @ 0.0   : (h / 2) x1
P2 half @ slope : d_side x n
C1 0    @ slope : d_side x n
T  0    @ 0.0   : (h / 2) x1

assert(stone().facetCount == 16)
assert(stone().vertexCount == 14)
Hexagonal Bipyramid matte mineral GPU render BDPT
Hexagonal Bipyramid 3D SVG geometric blueprint with 96-index wheel SVG

Hexagonal Bipyramid

96-index
V=8 · E=18 · F=12 | 12x3
View exact FSL source ▼
name = "Hexagonal Bipyramid"
ri   = 1.45
gear = bestGear(6)   // 96-index: standard bench gear dividing 6
cube = 2.5

// Dual of the uniform 6-gonal prism: 12 congruent isosceles triangles
n     = 6
slope = Math.atanDeg(1 / Math.tanDeg(180 / n))   // polar dual of unit-edge 6-prism!
r     = 0.68

P1 0 @ slope : r x n
C1 0 @ slope : r x n

assert(stone().facetCount == 12)
assert(stone().vertexCount == 8)
Heptagonal Bipyramid matte mineral GPU render BDPT
Heptagonal Bipyramid 3D SVG geometric blueprint with 84-index wheel SVG

Heptagonal Bipyramid

84-index
V=9 · E=21 · F=14 | 14x3
View exact FSL source ▼
name = "Heptagonal Bipyramid"
ri   = 1.45
gear = bestGear(7)   // 84-index: standard bench gear dividing 7
cube = 2.5

// Dual of the uniform 7-gonal prism: 14 congruent isosceles triangles
n     = 7
slope = Math.atanDeg(1 / Math.tanDeg(180 / n))   // polar dual of unit-edge 7-prism!
r     = 0.68

P1 0 @ slope : r x n
C1 0 @ slope : r x n

assert(stone().facetCount == 14)
assert(stone().vertexCount == 9)
Pentagonal Trapezohedron matte mineral GPU render BDPT
Pentagonal Trapezohedron 3D SVG geometric blueprint with 80-index wheel SVG

Pentagonal Trapezohedron

80-index
V=12 · E=20 · F=10 | 10x4
View exact FSL source ▼
name = "Pentagonal Trapezohedron"
ri   = 1.45
gear = bestGear(10)   // 80-index: standard bench gear dividing 10
cube = 2.5

// Dual of the uniform 5-gonal antiprism: 10 congruent kites (n=5 is the d10 die!)
n     = 5
R     = 1.0
a     = 2 * Math.sinDeg(180 / n)
h     = Math.sqrt(a * a - 2 * (1 - Math.cosDeg(180 / n)))
slope = Math.atanDeg(2 * R / h)       // exact dual plane angle from antiprism vertices!
r     = 0.68
half  = gear / (2 * n)

P1 half @ slope : r x n
C1 0    @ slope : r x n

assert(stone().facetCount == 10)
assert(stone().vertexCount == 12)
Heptagonal Trapezohedron matte mineral GPU render BDPT
Heptagonal Trapezohedron 3D SVG geometric blueprint with 84-index wheel SVG

Heptagonal Trapezohedron

84-index
V=16 · E=28 · F=14 | 14x4
View exact FSL source ▼
name = "Heptagonal Trapezohedron"
ri   = 1.45
gear = bestGear(14)   // 84-index: standard bench gear dividing 14
cube = 2.5

// Dual of the uniform 7-gonal antiprism: 14 congruent kites (n=5 is the d10 die!)
n     = 7
R     = 1.0
a     = 2 * Math.sinDeg(180 / n)
h     = Math.sqrt(a * a - 2 * (1 - Math.cosDeg(180 / n)))
slope = Math.atanDeg(2 * R / h)       // exact dual plane angle from antiprism vertices!
r     = 0.68
half  = gear / (2 * n)

P1 half @ slope : r x n
C1 0    @ slope : r x n

assert(stone().facetCount == 14)
assert(stone().vertexCount == 16)
Click outside or press Esc to close