Part V: Johnson Solids J1 through J48 in FSL
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.
In 1966, mathematician Norman Johnson cataloged every remaining convex polyhedron made strictly from equal-edged regular polygons (triangles, squares, pentagons, hexagons, octagons, and decagons) that is not already a Platonic solid, Archimedean solid, prism, or antiprism. Three years later, Viktor Zalgaller proved the list was complete at exactly 92 solids.
Pyramids, Cupolas, Rotundas, And Bicupolas (zero Cheater)#
The first 48 Johnson solids (J1 through J48) read like an architectural kit of spires, domes, and towers. They begin with simple Pyramids (J1 and J2), sloped Cupolas (J3 through J5), and the dome-like Pentagonal Rotunda (J6), stretch those shapes with prism or antiprism waists (J7 through J25), and pair them base-to-base into Bicupolas, Cupolarotundas, and Birotundas (J26 through J48). That lineup even includes the playful Elongated Square Gyrobicupola (J37), which looks just like an Archimedean solid until you spot that its top cap is turned 45 degrees out of line.
Best of all, not a single shape in Part V needs a cheater adjustment. Just two standard index gears cover all 48 solids: 23 cut straight on a 96-index wheel (gear = 96), and 25 cut straight on an 80-index wheel (gear = 80). Because FSL works out the exact heights and angles natively, a classic shape like the Square Cupola (J4, pairing an octagon base and a square top with alternating squares and triangles around the sides) takes just four clean cutting tiers:
name = "J4: Square Cupola"
ri = 1.45
gear = bestGear(8) // selects standard 96-index gear
cube = 2.5
// Regular octagon base (P1) + regular square roof (T), joined by
// 4 squares at 45 deg (C1) and 4 equilateral triangles at acos(1/sqrt(3)) (C2)
a = 0.72
h = a / Math.sqrt(2)
z0 = h / 3
r4 = a / 2
ang3 = Math.acosDeg(1 / Math.sqrt(3)) // 54.7356 deg
d_sq = r4 * Math.sinDeg(45) + (h - z0) * Math.cosDeg(45)
d_tri = (a / Math.sqrt(2)) * Math.sinDeg(ang3) + (h - z0) * Math.cosDeg(ang3)
P1 0 @ 0.0 : z0 x1
C1 12 @ 45.0 : d_sq x4
C2 0 @ ang3 : d_tri x4
T 0 @ 0.0 : (h - z0) x1
assert(stone().facetCount == 10)
assert(stone().vertexCount == 12)
All 48 Specimens: J1 Through J48 (champagne Limestone)#
Use the search bar or gear filters below to browse any solid from J1 to J48 in matte Champagne Limestone alongside its 3D SVG blueprint, verified FSL script, and direct Studio link.
BDPT
J1: Square Pyramid
96-indexView exact FSL source ▼
name = "J1: Square Pyramid"
ri = 1.45
gear = 96
cube = 2.5
// 1 unit square base + 4 equilateral triangles (exact upper half of an octahedron)
a = 1.0
r = a / 2
h = a / Math.sqrt(2)
z0 = h / 2
slope = Math.acosDeg(1 / Math.sqrt(3)) // 54.7356 deg
d_cap = r * Math.sinDeg(slope) + z0 * Math.cosDeg(slope)
P1 0 @ 0.0 : z0 x1
C1 0 @ slope : d_cap x4
assert(stone().facetCount == 5)
assert(stone().vertexCount == 5)
BDPT
J2: Pentagonal Pyramid
80-indexView exact FSL source ▼
name = "J2: Pentagonal Pyramid"
ri = 1.45
gear = bestGear(5) // 80-index commercial bench gear
cube = 2.5
// 1 regular pentagon base + 5 equilateral triangles (polar cap of an icosahedron)
a = 0.90
R = a / (2 * Math.sinDeg(36))
r = a / (2 * Math.tanDeg(36))
h = Math.sqrt(a * a - R * R)
z0 = h / 2
slope = Math.atanDeg(h / r) // 37.3774 deg
d_cap = r * Math.sinDeg(slope) + z0 * Math.cosDeg(slope)
P1 0 @ 0.0 : z0 x1
C1 0 @ slope : d_cap x5
assert(stone().facetCount == 6)
assert(stone().vertexCount == 6)
BDPT
J3: Triangular Cupola
96-indexView exact FSL source ▼
name = "J3: Triangular Cupola"
ri = 1.45
gear = bestGear(6)
cube = 2.5
// Regular 6-gon base + regular 3-gon roof linked by 3 squares and 3 triangles
n = 3
a = 0.68
R_bot = a / (2 * Math.sinDeg(90 / n))
r_bot = a / (2 * Math.tanDeg(90 / n))
R_top = a / (2 * Math.sinDeg(180 / n))
r_top = a / (2 * Math.tanDeg(180 / n))
dx = R_bot * Math.cosDeg(90 / n) - R_top * Math.cosDeg(180 / n)
dy = R_bot * Math.sinDeg(90 / n) - R_top * Math.sinDeg(180 / n)
h = Math.sqrt(a * a - dx * dx - dy * dy)
z0 = h / 2
ang_sq = Math.atanDeg(h / (r_bot - r_top))
ang_tri = Math.atanDeg(h / (r_bot - R_top))
d_sq = r_bot * Math.sinDeg(ang_sq) - z0 * Math.cosDeg(ang_sq)
d_tri = r_bot * Math.sinDeg(ang_tri) - z0 * Math.cosDeg(ang_tri)
half = gear / (2 * n)
P1 0 @ 0.0 : z0 x1
C1 0 @ ang_sq : d_sq x n
C2 half @ ang_tri : d_tri x n
T 0 @ 0.0 : (h - z0) x1
assert(stone().facetCount == 8)
assert(stone().vertexCount == 9)
BDPT
J4: Square Cupola
96-indexView exact FSL source ▼
name = "J4: Square Cupola"
ri = 1.45
gear = bestGear(8)
cube = 2.5
// Regular 8-gon base + regular 4-gon roof linked by 4 squares and 4 triangles
n = 4
a = 0.68
R_bot = a / (2 * Math.sinDeg(90 / n))
r_bot = a / (2 * Math.tanDeg(90 / n))
R_top = a / (2 * Math.sinDeg(180 / n))
r_top = a / (2 * Math.tanDeg(180 / n))
dx = R_bot * Math.cosDeg(90 / n) - R_top * Math.cosDeg(180 / n)
dy = R_bot * Math.sinDeg(90 / n) - R_top * Math.sinDeg(180 / n)
h = Math.sqrt(a * a - dx * dx - dy * dy)
z0 = h / 2
ang_sq = Math.atanDeg(h / (r_bot - r_top))
ang_tri = Math.atanDeg(h / (r_bot - R_top))
d_sq = r_bot * Math.sinDeg(ang_sq) - z0 * Math.cosDeg(ang_sq)
d_tri = r_bot * Math.sinDeg(ang_tri) - z0 * Math.cosDeg(ang_tri)
half = gear / (2 * n)
P1 0 @ 0.0 : z0 x1
C1 0 @ ang_sq : d_sq x n
C2 half @ ang_tri : d_tri x n
T 0 @ 0.0 : (h - z0) x1
assert(stone().facetCount == 10)
assert(stone().vertexCount == 12)
BDPT
J5: Pentagonal Cupola
80-indexView exact FSL source ▼
name = "J5: Pentagonal Cupola"
ri = 1.45
gear = bestGear(10)
cube = 2.5
// Regular 10-gon base + regular 5-gon roof linked by 5 squares and 5 triangles
n = 5
a = 0.56
R_bot = a / (2 * Math.sinDeg(90 / n))
r_bot = a / (2 * Math.tanDeg(90 / n))
R_top = a / (2 * Math.sinDeg(180 / n))
r_top = a / (2 * Math.tanDeg(180 / n))
dx = R_bot * Math.cosDeg(90 / n) - R_top * Math.cosDeg(180 / n)
dy = R_bot * Math.sinDeg(90 / n) - R_top * Math.sinDeg(180 / n)
h = Math.sqrt(a * a - dx * dx - dy * dy)
z0 = h / 2
ang_sq = Math.atanDeg(h / (r_bot - r_top))
ang_tri = Math.atanDeg(h / (r_bot - R_top))
d_sq = r_bot * Math.sinDeg(ang_sq) - z0 * Math.cosDeg(ang_sq)
d_tri = r_bot * Math.sinDeg(ang_tri) - z0 * Math.cosDeg(ang_tri)
half = gear / (2 * n)
P1 0 @ 0.0 : z0 x1
C1 0 @ ang_sq : d_sq x n
C2 half @ ang_tri : d_tri x n
T 0 @ 0.0 : (h - z0) x1
assert(stone().facetCount == 12)
assert(stone().vertexCount == 15)
BDPT
J6: Pentagonal Rotunda
80-indexView exact FSL source ▼
name = "J6: Pentagonal Rotunda"
ri = 1.45
gear = bestGear(10) // 80-index commercial bench gear
cube = 2.5
// Exact upper half of a unit-edge Icosidodecahedron sliced at its equatorial decagon!
phi = Math.PHI
a = 0.54
R_ico = a * phi // circumradius = a * phi
R_pent = a / (2 * Math.sinDeg(36))
d_p5 = Math.sqrt(R_ico * R_ico - R_pent * R_pent) // pentagon inradius from equator
d_t3 = Math.sqrt(R_ico * R_ico - a * a / 3) // triangle inradius from equator
z0 = d_p5 / 2 // shift origin to vertical midpoint
ang_p5 = Math.atanDeg(2) // 63.4349 deg (5 tilted pentagons)
ang_t1 = Math.acosDeg((phi + 1) / Math.sqrt(3 * (phi + 2))) // 37.3774 deg (5 upper triangles)
ang_t2 = Math.acosDeg((phi - 1) / Math.sqrt(3 * (phi + 2))) // 79.1877 deg (5 lower triangles)
half = gear / 10 // 36 deg half-step (tooth 8 on 80)
P1 0 @ 0.0 : z0 x1
C1 0 @ ang_p5 : (d_p5 - z0 * Math.cosDeg(ang_p5)) x5
C2 half @ ang_t1 : (d_t3 - z0 * Math.cosDeg(ang_t1)) x5
C3 half @ ang_t2 : (d_t3 - z0 * Math.cosDeg(ang_t2)) x5
T 0 @ 0.0 : (d_p5 - z0) x1
assert(stone().facetCount == 17)
assert(stone().vertexCount == 20)
BDPT
J7: Elongated Triangular Pyramid
96-indexView exact FSL source ▼
name = "J7: Elongated Triangular Pyramid"
ri = 1.45
gear = bestGear(3)
cube = 2.5
// Unit 3-gonal prism topped by a unit 3-gonal pyramid
n = 3
a = 0.72
R = a / (2 * Math.sinDeg(180 / n))
r = a / (2 * Math.tanDeg(180 / n))
h_pyr = Math.sqrt(a * a - R * R)
z_mid = (a + h_pyr) / 2
z_jnt = a - z_mid // prism-to-pyramid join plane
slope = Math.atanDeg(h_pyr / r)
d_cap = r * Math.sinDeg(slope) + z_jnt * Math.cosDeg(slope)
P1 0 @ 0.0 : z_mid x1
G1 0 @ 90.0 : r x n
C1 0 @ slope : d_cap x n
assert(stone().facetCount == 7)
assert(stone().vertexCount == 7)
BDPT
J8: Elongated Square Pyramid
96-indexView exact FSL source ▼
name = "J8: Elongated Square Pyramid"
ri = 1.45
gear = bestGear(4)
cube = 2.5
// Unit 4-gonal prism topped by a unit 4-gonal pyramid
n = 4
a = 0.72
R = a / (2 * Math.sinDeg(180 / n))
r = a / (2 * Math.tanDeg(180 / n))
h_pyr = Math.sqrt(a * a - R * R)
z_mid = (a + h_pyr) / 2
z_jnt = a - z_mid // prism-to-pyramid join plane
slope = Math.atanDeg(h_pyr / r)
d_cap = r * Math.sinDeg(slope) + z_jnt * Math.cosDeg(slope)
P1 0 @ 0.0 : z_mid x1
G1 0 @ 90.0 : r x n
C1 0 @ slope : d_cap x n
assert(stone().facetCount == 9)
assert(stone().vertexCount == 9)
BDPT
J9: Elongated Pentagonal Pyramid
80-indexView exact FSL source ▼
name = "J9: Elongated Pentagonal Pyramid"
ri = 1.45
gear = bestGear(5)
cube = 2.5
// Unit 5-gonal prism topped by a unit 5-gonal pyramid
n = 5
a = 0.72
R = a / (2 * Math.sinDeg(180 / n))
r = a / (2 * Math.tanDeg(180 / n))
h_pyr = Math.sqrt(a * a - R * R)
z_mid = (a + h_pyr) / 2
z_jnt = a - z_mid // prism-to-pyramid join plane
slope = Math.atanDeg(h_pyr / r)
d_cap = r * Math.sinDeg(slope) + z_jnt * Math.cosDeg(slope)
P1 0 @ 0.0 : z_mid x1
G1 0 @ 90.0 : r x n
C1 0 @ slope : d_cap x n
assert(stone().facetCount == 11)
assert(stone().vertexCount == 11)
BDPT
J10: Gyroelongated Square Pyramid
96-indexView exact FSL source ▼
name = "J10: Gyroelongated Square Pyramid"
ri = 1.45
gear = bestGear(8)
cube = 2.5
// Unit 4-gonal antiprism topped by a unit 4-gonal pyramid
n = 4
a = 0.68
R = a / (2 * Math.sinDeg(180 / n))
r = a / (2 * Math.tanDeg(180 / n))
h_ap = Math.sqrt(a * a - 2 * R * R * (1 - Math.cosDeg(180 / n)))
h_pyr = Math.sqrt(a * a - R * R)
z_mid = (h_ap + h_pyr) / 2
z_bot = -z_mid
z_jnt = h_ap - z_mid
ang_ap = Math.atanDeg(h_ap / (R - r))
ang_pyr = Math.atanDeg(h_pyr / r)
d_ap_dn = r * Math.sinDeg(ang_ap) - z_bot * Math.cosDeg(ang_ap) // P: touches bottom edges
d_ap_up = r * Math.sinDeg(ang_ap) + z_jnt * Math.cosDeg(ang_ap) // C: touches top edges
d_pyr = r * Math.sinDeg(ang_pyr) + z_jnt * Math.cosDeg(ang_pyr)
half = gear / (2 * n)
P1 0 @ 0.0 : z_mid x1
P2 0 @ ang_ap : d_ap_dn x n
C1 half @ ang_ap : d_ap_up x n
C2 half @ ang_pyr : d_pyr x n
assert(stone().facetCount == 13)
assert(stone().vertexCount == 9)
BDPT
J11: Gyroelongated Pentagonal Pyramid
80-indexView exact FSL source ▼
name = "J11: Gyroelongated Pentagonal Pyramid"
ri = 1.45
gear = bestGear(10)
cube = 2.5
// Unit 5-gonal antiprism topped by a unit 5-gonal pyramid
n = 5
a = 0.68
R = a / (2 * Math.sinDeg(180 / n))
r = a / (2 * Math.tanDeg(180 / n))
h_ap = Math.sqrt(a * a - 2 * R * R * (1 - Math.cosDeg(180 / n)))
h_pyr = Math.sqrt(a * a - R * R)
z_mid = (h_ap + h_pyr) / 2
z_bot = -z_mid
z_jnt = h_ap - z_mid
ang_ap = Math.atanDeg(h_ap / (R - r))
ang_pyr = Math.atanDeg(h_pyr / r)
d_ap_dn = r * Math.sinDeg(ang_ap) - z_bot * Math.cosDeg(ang_ap) // P: touches bottom edges
d_ap_up = r * Math.sinDeg(ang_ap) + z_jnt * Math.cosDeg(ang_ap) // C: touches top edges
d_pyr = r * Math.sinDeg(ang_pyr) + z_jnt * Math.cosDeg(ang_pyr)
half = gear / (2 * n)
P1 0 @ 0.0 : z_mid x1
P2 0 @ ang_ap : d_ap_dn x n
C1 half @ ang_ap : d_ap_up x n
C2 half @ ang_pyr : d_pyr x n
assert(stone().facetCount == 16)
assert(stone().vertexCount == 11)
BDPT
J12: Triangular Bipyramid
96-indexView exact FSL source ▼
name = "J12: Triangular Bipyramid"
ri = 1.45
gear = 96
cube = 2.5
// 6 equilateral triangles: two regular tetrahedra joined base-to-base
a = 1.0
r = a / (2 * Math.tanDeg(60))
h = a * Math.sqrt(2 / 3)
slope = Math.atanDeg(h / r) // acos(1/3) = 70.5288 deg
d = r * Math.sinDeg(slope)
P1 0 @ slope : d x3
C1 0 @ slope : d x3
assert(stone().facetCount == 6)
assert(stone().vertexCount == 5)
BDPT
J13: Pentagonal Bipyramid
80-indexView exact FSL source ▼
name = "J13: Pentagonal Bipyramid"
ri = 1.45
gear = bestGear(5) // 80-index commercial bench gear
cube = 2.5
// 10 equilateral triangles: two pentagonal pyramids joined base-to-base
a = 0.90
R = a / (2 * Math.sinDeg(36))
r = a / (2 * Math.tanDeg(36))
h = Math.sqrt(a * a - R * R)
slope = Math.atanDeg(h / r) // 37.3774 deg
d = r * Math.sinDeg(slope)
P1 0 @ slope : d x5
C1 0 @ slope : d x5
assert(stone().facetCount == 10)
assert(stone().vertexCount == 7)
BDPT
J14: Elongated Triangular Bipyramid
96-indexView exact FSL source ▼
name = "J14: Elongated Triangular Bipyramid"
ri = 1.45
gear = bestGear(3)
cube = 2.5
// Unit 3-gonal prism capped on both ends by unit 3-gonal pyramids
n = 3
a = 0.62
R = a / (2 * Math.sinDeg(180 / n))
r = a / (2 * Math.tanDeg(180 / n))
h_pyr = Math.sqrt(a * a - R * R)
slope = Math.atanDeg(h_pyr / r)
d_cap = r * Math.sinDeg(slope) + (a / 2) * Math.cosDeg(slope)
P1 0 @ slope : d_cap x n
G1 0 @ 90.0 : r x n
C1 0 @ slope : d_cap x n
assert(stone().facetCount == 9)
assert(stone().vertexCount == 8)
BDPT
J15: Elongated Square Bipyramid
96-indexView exact FSL source ▼
name = "J15: Elongated Square Bipyramid"
ri = 1.45
gear = bestGear(4)
cube = 2.5
// Unit 4-gonal prism capped on both ends by unit 4-gonal pyramids
n = 4
a = 0.62
R = a / (2 * Math.sinDeg(180 / n))
r = a / (2 * Math.tanDeg(180 / n))
h_pyr = Math.sqrt(a * a - R * R)
slope = Math.atanDeg(h_pyr / r)
d_cap = r * Math.sinDeg(slope) + (a / 2) * Math.cosDeg(slope)
P1 0 @ slope : d_cap x n
G1 0 @ 90.0 : r x n
C1 0 @ slope : d_cap x n
assert(stone().facetCount == 12)
assert(stone().vertexCount == 10)
BDPT
J16: Elongated Pentagonal Bipyramid
80-indexView exact FSL source ▼
name = "J16: Elongated Pentagonal Bipyramid"
ri = 1.45
gear = bestGear(5)
cube = 2.5
// Unit 5-gonal prism capped on both ends by unit 5-gonal pyramids
n = 5
a = 0.62
R = a / (2 * Math.sinDeg(180 / n))
r = a / (2 * Math.tanDeg(180 / n))
h_pyr = Math.sqrt(a * a - R * R)
slope = Math.atanDeg(h_pyr / r)
d_cap = r * Math.sinDeg(slope) + (a / 2) * Math.cosDeg(slope)
P1 0 @ slope : d_cap x n
G1 0 @ 90.0 : r x n
C1 0 @ slope : d_cap x n
assert(stone().facetCount == 15)
assert(stone().vertexCount == 12)
BDPT
J17: Gyroelongated Square Bipyramid
96-indexView exact FSL source ▼
name = "J17: Gyroelongated Square Bipyramid"
ri = 1.45
gear = bestGear(8) // 96-index exact
cube = 2.5
// Unit square antiprism capped on both ends by unit square pyramids (16 equilateral triangles!)
n = 4
a = 0.64
R = a / Math.sqrt(2)
r = a / 2
h_ap = Math.sqrt(a * a - 2 * R * R * (1 - Math.cosDeg(45)))
h_pyr = a / Math.sqrt(2)
ang_ap = Math.atanDeg(h_ap / (R - r))
ang_pyr = Math.atanDeg(h_pyr / r)
d_ap = r * Math.sinDeg(ang_ap) + (h_ap / 2) * Math.cosDeg(ang_ap)
d_pyr = r * Math.sinDeg(ang_pyr) + (h_ap / 2) * Math.cosDeg(ang_pyr)
half = gear / (2 * n)
P1 0 @ ang_pyr : d_pyr x4
P2 0 @ ang_ap : d_ap x4
C1 half @ ang_ap : d_ap x4
C2 half @ ang_pyr : d_pyr x4
assert(stone().facetCount == 16)
assert(stone().vertexCount == 10)
BDPT
J18: Elongated Triangular Cupola
96-indexView exact FSL source ▼
name = "J18: Elongated Triangular Cupola"
ri = 1.45
gear = bestGear(6)
cube = 2.5
// Unit 6-gonal prism topped by a unit 3-gonal cupola
n = 3
a = 0.68
R_bot = a / (2 * Math.sinDeg(90 / n))
r_bot = a / (2 * Math.tanDeg(90 / n))
R_top = a / (2 * Math.sinDeg(180 / n))
r_top = a / (2 * Math.tanDeg(180 / n))
dx = R_bot * Math.cosDeg(90 / n) - R_top * Math.cosDeg(180 / n)
dy = R_bot * Math.sinDeg(90 / n) - R_top * Math.sinDeg(180 / n)
h_cup = Math.sqrt(a * a - dx * dx - dy * dy)
z_mid = (a + h_cup) / 2
z_jnt = a - z_mid
ang_sq = Math.atanDeg(h_cup / (r_bot - r_top))
ang_tri = Math.atanDeg(h_cup / (r_bot - R_top))
d_sq = r_bot * Math.sinDeg(ang_sq) + z_jnt * Math.cosDeg(ang_sq)
d_tri = r_bot * Math.sinDeg(ang_tri) + z_jnt * Math.cosDeg(ang_tri)
half = gear / (2 * n)
P1 0 @ 0.0 : z_mid x1
G1 0 @ 90.0 : r_bot x (2 * n)
C1 0 @ ang_sq : d_sq x n
C2 half @ ang_tri : d_tri x n
T 0 @ 0.0 : (z_jnt + h_cup) x1
assert(stone().facetCount == 14)
assert(stone().vertexCount == 15)
BDPT
J19: Elongated Square Cupola
96-indexView exact FSL source ▼
name = "J19: Elongated Square Cupola"
ri = 1.45
gear = bestGear(8)
cube = 2.5
// Unit 8-gonal prism topped by a unit 4-gonal cupola
n = 4
a = 0.68
R_bot = a / (2 * Math.sinDeg(90 / n))
r_bot = a / (2 * Math.tanDeg(90 / n))
R_top = a / (2 * Math.sinDeg(180 / n))
r_top = a / (2 * Math.tanDeg(180 / n))
dx = R_bot * Math.cosDeg(90 / n) - R_top * Math.cosDeg(180 / n)
dy = R_bot * Math.sinDeg(90 / n) - R_top * Math.sinDeg(180 / n)
h_cup = Math.sqrt(a * a - dx * dx - dy * dy)
z_mid = (a + h_cup) / 2
z_jnt = a - z_mid
ang_sq = Math.atanDeg(h_cup / (r_bot - r_top))
ang_tri = Math.atanDeg(h_cup / (r_bot - R_top))
d_sq = r_bot * Math.sinDeg(ang_sq) + z_jnt * Math.cosDeg(ang_sq)
d_tri = r_bot * Math.sinDeg(ang_tri) + z_jnt * Math.cosDeg(ang_tri)
half = gear / (2 * n)
P1 0 @ 0.0 : z_mid x1
G1 0 @ 90.0 : r_bot x (2 * n)
C1 0 @ ang_sq : d_sq x n
C2 half @ ang_tri : d_tri x n
T 0 @ 0.0 : (z_jnt + h_cup) x1
assert(stone().facetCount == 18)
assert(stone().vertexCount == 20)
BDPT
J20: Elongated Pentagonal Cupola
80-indexView exact FSL source ▼
name = "J20: Elongated Pentagonal Cupola"
ri = 1.45
gear = bestGear(10)
cube = 2.5
// Unit 10-gonal prism topped by a unit 5-gonal cupola
n = 5
a = 0.56
R_bot = a / (2 * Math.sinDeg(90 / n))
r_bot = a / (2 * Math.tanDeg(90 / n))
R_top = a / (2 * Math.sinDeg(180 / n))
r_top = a / (2 * Math.tanDeg(180 / n))
dx = R_bot * Math.cosDeg(90 / n) - R_top * Math.cosDeg(180 / n)
dy = R_bot * Math.sinDeg(90 / n) - R_top * Math.sinDeg(180 / n)
h_cup = Math.sqrt(a * a - dx * dx - dy * dy)
z_mid = (a + h_cup) / 2
z_jnt = a - z_mid
ang_sq = Math.atanDeg(h_cup / (r_bot - r_top))
ang_tri = Math.atanDeg(h_cup / (r_bot - R_top))
d_sq = r_bot * Math.sinDeg(ang_sq) + z_jnt * Math.cosDeg(ang_sq)
d_tri = r_bot * Math.sinDeg(ang_tri) + z_jnt * Math.cosDeg(ang_tri)
half = gear / (2 * n)
P1 0 @ 0.0 : z_mid x1
G1 0 @ 90.0 : r_bot x (2 * n)
C1 0 @ ang_sq : d_sq x n
C2 half @ ang_tri : d_tri x n
T 0 @ 0.0 : (z_jnt + h_cup) x1
assert(stone().facetCount == 22)
assert(stone().vertexCount == 25)
BDPT
J21: Elongated Pentagonal Rotunda
80-indexView exact FSL source ▼
name = "J21: Elongated Pentagonal Rotunda"
ri = 1.45
gear = bestGear(10) // 80-index commercial bench gear
cube = 2.5
// Unit decagonal prism topped by a unit pentagonal rotunda
phi = Math.PHI
a = 0.48
R_ico = a * phi
r_dec = R_ico * Math.cosDeg(18)
R_pent = a / (2 * Math.sinDeg(36))
d_p5 = Math.sqrt(R_ico * R_ico - R_pent * R_pent)
d_t3 = Math.sqrt(R_ico * R_ico - a * a / 3)
z_mid = (a + d_p5) / 2
z_jnt = a - z_mid
ang_p5 = Math.atanDeg(2)
ang_t1 = Math.acosDeg((phi + 1) / Math.sqrt(3 * (phi + 2)))
ang_t2 = Math.acosDeg((phi - 1) / Math.sqrt(3 * (phi + 2)))
half = gear / 10
P1 0 @ 0.0 : z_mid x1
G1 0 @ 90.0 : r_dec x10
C1 0 @ ang_p5 : (d_p5 + z_jnt * Math.cosDeg(ang_p5)) x5
C2 half @ ang_t1 : (d_t3 + z_jnt * Math.cosDeg(ang_t1)) x5
C3 half @ ang_t2 : (d_t3 + z_jnt * Math.cosDeg(ang_t2)) x5
T 0 @ 0.0 : (z_jnt + d_p5) x1
assert(stone().facetCount == 27)
assert(stone().vertexCount == 30)
BDPT
J22: Gyroelongated Triangular Cupola
96-indexView exact FSL source ▼
name = "J22: Gyroelongated Triangular Cupola"
ri = 1.45
gear = bestGear(12)
cube = 2.5
// Unit 6-gonal antiprism topped by a unit 3-gonal cupola
n = 3
m = 2 * n
a = 0.68
R_bot = a / (2 * Math.sinDeg(180 / m))
r_bot = a / (2 * Math.tanDeg(180 / m))
R_top = a / (2 * Math.sinDeg(180 / n))
r_top = a / (2 * Math.tanDeg(180 / n))
h_ap = Math.sqrt(a * a - 2 * R_bot * R_bot * (1 - Math.cosDeg(180 / m)))
dx = R_bot * Math.cosDeg(180 / m) - R_top * Math.cosDeg(180 / n)
dy = R_bot * Math.sinDeg(180 / m) - R_top * Math.sinDeg(180 / n)
h_cup = Math.sqrt(a * a - dx * dx - dy * dy)
z_mid = (h_ap + h_cup) / 2
z_bot = -z_mid
z_jnt = h_ap - z_mid
ang_ap = Math.atanDeg(h_ap / (R_bot - r_bot))
ang_sq = Math.atanDeg(h_cup / (r_bot - r_top))
ang_tri = Math.atanDeg(h_cup / (r_bot - R_top))
d_ap_dn = r_bot * Math.sinDeg(ang_ap) - z_bot * Math.cosDeg(ang_ap)
d_ap_up = r_bot * Math.sinDeg(ang_ap) + z_jnt * Math.cosDeg(ang_ap)
d_sq = r_bot * Math.sinDeg(ang_sq) + z_jnt * Math.cosDeg(ang_sq)
d_tri = r_bot * Math.sinDeg(ang_tri) + z_jnt * Math.cosDeg(ang_tri)
q = gear / (2 * m)
// Bottom 6-gon edges sit at q; top join 6-gon edges sit at 0 (aligned with cupola!)
P1 0 @ 0.0 : z_mid x1
P2 q @ ang_ap : d_ap_dn x m
C1 0 @ ang_ap : d_ap_up x m
C2 0 @ ang_sq : d_sq x n
C3 (2 * q) @ ang_tri : d_tri x n
T 0 @ 0.0 : (z_jnt + h_cup) x1
assert(stone().facetCount == 20)
assert(stone().vertexCount == 15)
BDPT
J23: Gyroelongated Square Cupola
96-indexView exact FSL source ▼
name = "J23: Gyroelongated Square Cupola"
ri = 1.45
gear = bestGear(16)
cube = 2.5
// Unit 8-gonal antiprism topped by a unit 4-gonal cupola
n = 4
m = 2 * n
a = 0.68
R_bot = a / (2 * Math.sinDeg(180 / m))
r_bot = a / (2 * Math.tanDeg(180 / m))
R_top = a / (2 * Math.sinDeg(180 / n))
r_top = a / (2 * Math.tanDeg(180 / n))
h_ap = Math.sqrt(a * a - 2 * R_bot * R_bot * (1 - Math.cosDeg(180 / m)))
dx = R_bot * Math.cosDeg(180 / m) - R_top * Math.cosDeg(180 / n)
dy = R_bot * Math.sinDeg(180 / m) - R_top * Math.sinDeg(180 / n)
h_cup = Math.sqrt(a * a - dx * dx - dy * dy)
z_mid = (h_ap + h_cup) / 2
z_bot = -z_mid
z_jnt = h_ap - z_mid
ang_ap = Math.atanDeg(h_ap / (R_bot - r_bot))
ang_sq = Math.atanDeg(h_cup / (r_bot - r_top))
ang_tri = Math.atanDeg(h_cup / (r_bot - R_top))
d_ap_dn = r_bot * Math.sinDeg(ang_ap) - z_bot * Math.cosDeg(ang_ap)
d_ap_up = r_bot * Math.sinDeg(ang_ap) + z_jnt * Math.cosDeg(ang_ap)
d_sq = r_bot * Math.sinDeg(ang_sq) + z_jnt * Math.cosDeg(ang_sq)
d_tri = r_bot * Math.sinDeg(ang_tri) + z_jnt * Math.cosDeg(ang_tri)
q = gear / (2 * m)
// Bottom 8-gon edges sit at q; top join 8-gon edges sit at 0 (aligned with cupola!)
P1 0 @ 0.0 : z_mid x1
P2 q @ ang_ap : d_ap_dn x m
C1 0 @ ang_ap : d_ap_up x m
C2 0 @ ang_sq : d_sq x n
C3 (2 * q) @ ang_tri : d_tri x n
T 0 @ 0.0 : (z_jnt + h_cup) x1
assert(stone().facetCount == 26)
assert(stone().vertexCount == 20)
BDPT
J24: Gyroelongated Pentagonal Cupola
80-indexView exact FSL source ▼
name = "J24: Gyroelongated Pentagonal Cupola"
ri = 1.45
gear = bestGear(20)
cube = 2.5
// Unit 10-gonal antiprism topped by a unit 5-gonal cupola
n = 5
m = 2 * n
a = 0.56
R_bot = a / (2 * Math.sinDeg(180 / m))
r_bot = a / (2 * Math.tanDeg(180 / m))
R_top = a / (2 * Math.sinDeg(180 / n))
r_top = a / (2 * Math.tanDeg(180 / n))
h_ap = Math.sqrt(a * a - 2 * R_bot * R_bot * (1 - Math.cosDeg(180 / m)))
dx = R_bot * Math.cosDeg(180 / m) - R_top * Math.cosDeg(180 / n)
dy = R_bot * Math.sinDeg(180 / m) - R_top * Math.sinDeg(180 / n)
h_cup = Math.sqrt(a * a - dx * dx - dy * dy)
z_mid = (h_ap + h_cup) / 2
z_bot = -z_mid
z_jnt = h_ap - z_mid
ang_ap = Math.atanDeg(h_ap / (R_bot - r_bot))
ang_sq = Math.atanDeg(h_cup / (r_bot - r_top))
ang_tri = Math.atanDeg(h_cup / (r_bot - R_top))
d_ap_dn = r_bot * Math.sinDeg(ang_ap) - z_bot * Math.cosDeg(ang_ap)
d_ap_up = r_bot * Math.sinDeg(ang_ap) + z_jnt * Math.cosDeg(ang_ap)
d_sq = r_bot * Math.sinDeg(ang_sq) + z_jnt * Math.cosDeg(ang_sq)
d_tri = r_bot * Math.sinDeg(ang_tri) + z_jnt * Math.cosDeg(ang_tri)
q = gear / (2 * m)
// Bottom 10-gon edges sit at q; top join 10-gon edges sit at 0 (aligned with cupola!)
P1 0 @ 0.0 : z_mid x1
P2 q @ ang_ap : d_ap_dn x m
C1 0 @ ang_ap : d_ap_up x m
C2 0 @ ang_sq : d_sq x n
C3 (2 * q) @ ang_tri : d_tri x n
T 0 @ 0.0 : (z_jnt + h_cup) x1
assert(stone().facetCount == 32)
assert(stone().vertexCount == 25)
BDPT
J25: Gyroelongated Pentagonal Rotunda
80-indexView exact FSL source ▼
name = "J25: Gyroelongated Pentagonal Rotunda"
ri = 1.45
gear = bestGear(20) // 80-index commercial bench gear
cube = 2.5
// Unit decagonal antiprism topped by a unit pentagonal rotunda
phi = Math.PHI
a = 0.46
R_ico = a * phi
r_dec = R_ico * Math.cosDeg(18)
R_pent = a / (2 * Math.sinDeg(36))
d_p5 = Math.sqrt(R_ico * R_ico - R_pent * R_pent)
d_t3 = Math.sqrt(R_ico * R_ico - a * a / 3)
h_ap = Math.sqrt(a * a - 2 * R_ico * R_ico * (1 - Math.cosDeg(18)))
z_mid = (h_ap + d_p5) / 2
z_bot = -z_mid
z_jnt = h_ap - z_mid
ang_ap = Math.atanDeg(h_ap / (R_ico - r_dec))
ang_p5 = Math.atanDeg(2)
ang_t1 = Math.acosDeg((phi + 1) / Math.sqrt(3 * (phi + 2)))
ang_t2 = Math.acosDeg((phi - 1) / Math.sqrt(3 * (phi + 2)))
d_ap_dn = r_dec * Math.sinDeg(ang_ap) - z_bot * Math.cosDeg(ang_ap)
d_ap_up = r_dec * Math.sinDeg(ang_ap) + z_jnt * Math.cosDeg(ang_ap)
q = gear / 20 // tooth 4 on 80-index (18 deg antiprism half-step)
P1 0 @ 0.0 : z_mid x1
P2 q @ ang_ap : d_ap_dn x10
C1 0 @ ang_ap : d_ap_up x10
C2 0 @ ang_p5 : (d_p5 + z_jnt * Math.cosDeg(ang_p5)) x5
C3 (2 * q) @ ang_t1 : (d_t3 + z_jnt * Math.cosDeg(ang_t1)) x5
C4 (2 * q) @ ang_t2 : (d_t3 + z_jnt * Math.cosDeg(ang_t2)) x5
T 0 @ 0.0 : (z_jnt + d_p5) x1
assert(stone().facetCount == 37)
assert(stone().vertexCount == 30)
BDPT
J26: Gyrobifastigium
96-indexView exact FSL source ▼
name = "J26: Gyrobifastigium"
ri = 1.45
gear = 96
cube = 2.5
// Two unit triangular prisms joined on square faces with a 90-degree gyro twist!
a = 0.84
d_sq = a / 2
d_tri = (a / 2) * Math.sinDeg(60) // equilateral prism roof at 60 deg slope
P1 0 @ 60.0 : d_tri x2
G1 0 @ 90.0 : d_sq x4
C1 24 @ 60.0 : d_tri x2
assert(stone().facetCount == 8)
assert(stone().vertexCount == 8)
BDPT
J27: Triangular Orthobicupola
96-indexView exact FSL source ▼
name = "J27: Triangular Orthobicupola"
ri = 1.45
gear = bestGear(6)
cube = 2.5
// Two unit 3-gonal cupolas joined base-to-base, mirror-aligned (ortho)
n = 3
a = 0.68
R_bot = a / (2 * Math.sinDeg(90 / n))
r_bot = a / (2 * Math.tanDeg(90 / n))
R_top = a / (2 * Math.sinDeg(180 / n))
r_top = a / (2 * Math.tanDeg(180 / n))
dx = R_bot * Math.cosDeg(90 / n) - R_top * Math.cosDeg(180 / n)
dy = R_bot * Math.sinDeg(90 / n) - R_top * Math.sinDeg(180 / n)
h = Math.sqrt(a * a - dx * dx - dy * dy)
ang_sq = Math.atanDeg(h / (r_bot - r_top))
ang_tri = Math.atanDeg(h / (r_bot - R_top))
d_sq = r_bot * Math.sinDeg(ang_sq)
d_tri = r_bot * Math.sinDeg(ang_tri)
half = gear / (2 * n)
P1 0 @ 0.0 : h x1
P2 0 @ ang_sq : d_sq x n
P3 half @ ang_tri : d_tri x n
C1 0 @ ang_sq : d_sq x n
C2 half @ ang_tri : d_tri x n
T 0 @ 0.0 : h x1
assert(stone().facetCount == 14)
assert(stone().vertexCount == 12)
BDPT
J28: Square Orthobicupola
96-indexView exact FSL source ▼
name = "J28: Square Orthobicupola"
ri = 1.45
gear = bestGear(8)
cube = 2.5
// Two unit 4-gonal cupolas joined base-to-base, mirror-aligned (ortho)
n = 4
a = 0.68
R_bot = a / (2 * Math.sinDeg(90 / n))
r_bot = a / (2 * Math.tanDeg(90 / n))
R_top = a / (2 * Math.sinDeg(180 / n))
r_top = a / (2 * Math.tanDeg(180 / n))
dx = R_bot * Math.cosDeg(90 / n) - R_top * Math.cosDeg(180 / n)
dy = R_bot * Math.sinDeg(90 / n) - R_top * Math.sinDeg(180 / n)
h = Math.sqrt(a * a - dx * dx - dy * dy)
ang_sq = Math.atanDeg(h / (r_bot - r_top))
ang_tri = Math.atanDeg(h / (r_bot - R_top))
d_sq = r_bot * Math.sinDeg(ang_sq)
d_tri = r_bot * Math.sinDeg(ang_tri)
half = gear / (2 * n)
P1 0 @ 0.0 : h x1
P2 0 @ ang_sq : d_sq x n
P3 half @ ang_tri : d_tri x n
C1 0 @ ang_sq : d_sq x n
C2 half @ ang_tri : d_tri x n
T 0 @ 0.0 : h x1
assert(stone().facetCount == 18)
assert(stone().vertexCount == 16)
BDPT
J29: Square Gyrobicupola
96-indexView exact FSL source ▼
name = "J29: Square Gyrobicupola"
ri = 1.45
gear = bestGear(8)
cube = 2.5
// Two unit 4-gonal cupolas joined base-to-base, gyro-twisted by 180/n deg
n = 4
a = 0.68
R_bot = a / (2 * Math.sinDeg(90 / n))
r_bot = a / (2 * Math.tanDeg(90 / n))
R_top = a / (2 * Math.sinDeg(180 / n))
r_top = a / (2 * Math.tanDeg(180 / n))
dx = R_bot * Math.cosDeg(90 / n) - R_top * Math.cosDeg(180 / n)
dy = R_bot * Math.sinDeg(90 / n) - R_top * Math.sinDeg(180 / n)
h = Math.sqrt(a * a - dx * dx - dy * dy)
ang_sq = Math.atanDeg(h / (r_bot - r_top))
ang_tri = Math.atanDeg(h / (r_bot - R_top))
d_sq = r_bot * Math.sinDeg(ang_sq)
d_tri = r_bot * Math.sinDeg(ang_tri)
half = gear / (2 * n)
P1 0 @ 0.0 : h x1
P2 half @ ang_sq : d_sq x n
P3 0 @ ang_tri : d_tri x n
C1 0 @ ang_sq : d_sq x n
C2 half @ ang_tri : d_tri x n
T 0 @ 0.0 : h x1
assert(stone().facetCount == 18)
assert(stone().vertexCount == 16)
BDPT
J30: Pentagonal Orthobicupola
80-indexView exact FSL source ▼
name = "J30: Pentagonal Orthobicupola"
ri = 1.45
gear = bestGear(10)
cube = 2.5
// Two unit 5-gonal cupolas joined base-to-base, mirror-aligned (ortho)
n = 5
a = 0.56
R_bot = a / (2 * Math.sinDeg(90 / n))
r_bot = a / (2 * Math.tanDeg(90 / n))
R_top = a / (2 * Math.sinDeg(180 / n))
r_top = a / (2 * Math.tanDeg(180 / n))
dx = R_bot * Math.cosDeg(90 / n) - R_top * Math.cosDeg(180 / n)
dy = R_bot * Math.sinDeg(90 / n) - R_top * Math.sinDeg(180 / n)
h = Math.sqrt(a * a - dx * dx - dy * dy)
ang_sq = Math.atanDeg(h / (r_bot - r_top))
ang_tri = Math.atanDeg(h / (r_bot - R_top))
d_sq = r_bot * Math.sinDeg(ang_sq)
d_tri = r_bot * Math.sinDeg(ang_tri)
half = gear / (2 * n)
P1 0 @ 0.0 : h x1
P2 0 @ ang_sq : d_sq x n
P3 half @ ang_tri : d_tri x n
C1 0 @ ang_sq : d_sq x n
C2 half @ ang_tri : d_tri x n
T 0 @ 0.0 : h x1
assert(stone().facetCount == 22)
assert(stone().vertexCount == 20)
BDPT
J31: Pentagonal Gyrobicupola
80-indexView exact FSL source ▼
name = "J31: Pentagonal Gyrobicupola"
ri = 1.45
gear = bestGear(10)
cube = 2.5
// Two unit 5-gonal cupolas joined base-to-base, gyro-twisted by 180/n deg
n = 5
a = 0.56
R_bot = a / (2 * Math.sinDeg(90 / n))
r_bot = a / (2 * Math.tanDeg(90 / n))
R_top = a / (2 * Math.sinDeg(180 / n))
r_top = a / (2 * Math.tanDeg(180 / n))
dx = R_bot * Math.cosDeg(90 / n) - R_top * Math.cosDeg(180 / n)
dy = R_bot * Math.sinDeg(90 / n) - R_top * Math.sinDeg(180 / n)
h = Math.sqrt(a * a - dx * dx - dy * dy)
ang_sq = Math.atanDeg(h / (r_bot - r_top))
ang_tri = Math.atanDeg(h / (r_bot - R_top))
d_sq = r_bot * Math.sinDeg(ang_sq)
d_tri = r_bot * Math.sinDeg(ang_tri)
half = gear / (2 * n)
P1 0 @ 0.0 : h x1
P2 half @ ang_sq : d_sq x n
P3 0 @ ang_tri : d_tri x n
C1 0 @ ang_sq : d_sq x n
C2 half @ ang_tri : d_tri x n
T 0 @ 0.0 : h x1
assert(stone().facetCount == 22)
assert(stone().vertexCount == 20)
BDPT
J32: Pentagonal Orthocupolarotunda
80-indexView exact FSL source ▼
name = "J32: Pentagonal Orthocupolarotunda"
ri = 1.45
gear = bestGear(10) // 80-index commercial bench gear
cube = 2.5
// Pentagonal cupola (top) joined to a pentagonal rotunda (bottom), ortho-aligned
phi = Math.PHI
a = 0.50
R_dec = a * phi
r_dec = R_dec * Math.cosDeg(18)
R_pent = a / (2 * Math.sinDeg(36))
r_pent = a / (2 * Math.tanDeg(36))
dx = R_dec * Math.cosDeg(18) - R_pent * Math.cosDeg(36)
dy = R_dec * Math.sinDeg(18) - R_pent * Math.sinDeg(36)
h_cup = Math.sqrt(a * a - dx * dx - dy * dy)
d_p5 = Math.sqrt(R_dec * R_dec - R_pent * R_pent)
d_t3 = Math.sqrt(R_dec * R_dec - a * a / 3)
ang_sq = Math.atanDeg(h_cup / (r_dec - r_pent))
ang_tri = Math.atanDeg(h_cup / (r_dec - R_pent))
ang_p5 = Math.atanDeg(2)
ang_t1 = Math.acosDeg((phi + 1) / Math.sqrt(3 * (phi + 2)))
ang_t2 = Math.acosDeg((phi - 1) / Math.sqrt(3 * (phi + 2)))
d_sq = r_dec * Math.sinDeg(ang_sq)
d_tri = r_dec * Math.sinDeg(ang_tri)
half = gear / 10
P1 0 @ 0.0 : d_p5 x1
P2 0 @ ang_p5 : d_p5 x5
P3 half @ ang_t1 : d_t3 x5
P4 half @ ang_t2 : d_t3 x5
C1 0 @ ang_sq : d_sq x5
C2 half @ ang_tri : d_tri x5
T 0 @ 0.0 : h_cup x1
assert(stone().facetCount == 27)
assert(stone().vertexCount == 25)
BDPT
J33: Pentagonal Gyrocupolarotunda
80-indexView exact FSL source ▼
name = "J33: Pentagonal Gyrocupolarotunda"
ri = 1.45
gear = bestGear(10) // 80-index commercial bench gear
cube = 2.5
// Pentagonal cupola (top) joined to a pentagonal rotunda (bottom), gyro-twisted by 36 deg
phi = Math.PHI
a = 0.50
R_dec = a * phi
r_dec = R_dec * Math.cosDeg(18)
R_pent = a / (2 * Math.sinDeg(36))
r_pent = a / (2 * Math.tanDeg(36))
dx = R_dec * Math.cosDeg(18) - R_pent * Math.cosDeg(36)
dy = R_dec * Math.sinDeg(18) - R_pent * Math.sinDeg(36)
h_cup = Math.sqrt(a * a - dx * dx - dy * dy)
d_p5 = Math.sqrt(R_dec * R_dec - R_pent * R_pent)
d_t3 = Math.sqrt(R_dec * R_dec - a * a / 3)
ang_sq = Math.atanDeg(h_cup / (r_dec - r_pent))
ang_tri = Math.atanDeg(h_cup / (r_dec - R_pent))
ang_p5 = Math.atanDeg(2)
ang_t1 = Math.acosDeg((phi + 1) / Math.sqrt(3 * (phi + 2)))
ang_t2 = Math.acosDeg((phi - 1) / Math.sqrt(3 * (phi + 2)))
d_sq = r_dec * Math.sinDeg(ang_sq)
d_tri = r_dec * Math.sinDeg(ang_tri)
half = gear / 10
P1 0 @ 0.0 : d_p5 x1
P2 half @ ang_p5 : d_p5 x5
P3 0 @ ang_t1 : d_t3 x5
P4 0 @ ang_t2 : d_t3 x5
C1 0 @ ang_sq : d_sq x5
C2 half @ ang_tri : d_tri x5
T 0 @ 0.0 : h_cup x1
assert(stone().facetCount == 27)
assert(stone().vertexCount == 25)
BDPT
J34: Pentagonal Orthobirotunda
80-indexView exact FSL source ▼
name = "J34: Pentagonal Orthobirotunda"
ri = 1.45
gear = bestGear(10) // 80-index commercial bench gear
cube = 2.5
// Two pentagonal rotundas joined mirror-symmetrically (gyrating by 36 deg yields the Icosidodecahedron!)
phi = Math.PHI
a = 0.48
R_ico = a * phi
R_pent = a / (2 * Math.sinDeg(36))
d_p5 = Math.sqrt(R_ico * R_ico - R_pent * R_pent)
d_t3 = Math.sqrt(R_ico * R_ico - a * a / 3)
ang_p5 = Math.atanDeg(2)
ang_t1 = Math.acosDeg((phi + 1) / Math.sqrt(3 * (phi + 2)))
ang_t2 = Math.acosDeg((phi - 1) / Math.sqrt(3 * (phi + 2)))
half = gear / 10
P1 0 @ 0.0 : d_p5 x1
P2 0 @ ang_p5 : d_p5 x5
P3 half @ ang_t1 : d_t3 x5
P4 half @ ang_t2 : d_t3 x5
C1 0 @ ang_p5 : d_p5 x5
C2 half @ ang_t1 : d_t3 x5
C3 half @ ang_t2 : d_t3 x5
T 0 @ 0.0 : d_p5 x1
assert(stone().facetCount == 32)
assert(stone().vertexCount == 30)
BDPT
J35: Elongated Triangular Orthobicupola
96-indexView exact FSL source ▼
name = "J35: Elongated Triangular Orthobicupola"
ri = 1.45
gear = bestGear(6)
cube = 2.5
// two 3-cupolas + 6-prism, ortho-aligned
n = 3
a = 0.56
R_bot = a / (2 * Math.sinDeg(90 / n))
r_bot = a / (2 * Math.tanDeg(90 / n))
R_top = a / (2 * Math.sinDeg(180 / n))
r_top = a / (2 * Math.tanDeg(180 / n))
dx = R_bot * Math.cosDeg(90 / n) - R_top * Math.cosDeg(180 / n)
dy = R_bot * Math.sinDeg(90 / n) - R_top * Math.sinDeg(180 / n)
h_cup = Math.sqrt(a * a - dx * dx - dy * dy)
z_jnt = a / 2
ang_sq = Math.atanDeg(h_cup / (r_bot - r_top))
ang_tri = Math.atanDeg(h_cup / (r_bot - R_top))
d_sq = r_bot * Math.sinDeg(ang_sq) + z_jnt * Math.cosDeg(ang_sq)
d_tri = r_bot * Math.sinDeg(ang_tri) + z_jnt * Math.cosDeg(ang_tri)
half = gear / (2 * n)
P1 0 @ 0.0 : (z_jnt + h_cup) x1
P2 0 @ ang_sq : d_sq x n
P3 half @ ang_tri : d_tri x n
G1 0 @ 90.0 : r_bot x (2 * n)
C1 0 @ ang_sq : d_sq x n
C2 half @ ang_tri : d_tri x n
T 0 @ 0.0 : (z_jnt + h_cup) x1
assert(stone().facetCount == 20)
assert(stone().vertexCount == 18)
BDPT
J36: Elongated Triangular Gyrobicupola
96-indexView exact FSL source ▼
name = "J36: Elongated Triangular Gyrobicupola"
ri = 1.45
gear = bestGear(6)
cube = 2.5
// two 3-cupolas + 6-prism, gyro-twisted
n = 3
a = 0.56
R_bot = a / (2 * Math.sinDeg(90 / n))
r_bot = a / (2 * Math.tanDeg(90 / n))
R_top = a / (2 * Math.sinDeg(180 / n))
r_top = a / (2 * Math.tanDeg(180 / n))
dx = R_bot * Math.cosDeg(90 / n) - R_top * Math.cosDeg(180 / n)
dy = R_bot * Math.sinDeg(90 / n) - R_top * Math.sinDeg(180 / n)
h_cup = Math.sqrt(a * a - dx * dx - dy * dy)
z_jnt = a / 2
ang_sq = Math.atanDeg(h_cup / (r_bot - r_top))
ang_tri = Math.atanDeg(h_cup / (r_bot - R_top))
d_sq = r_bot * Math.sinDeg(ang_sq) + z_jnt * Math.cosDeg(ang_sq)
d_tri = r_bot * Math.sinDeg(ang_tri) + z_jnt * Math.cosDeg(ang_tri)
half = gear / (2 * n)
P1 0 @ 0.0 : (z_jnt + h_cup) x1
P2 half @ ang_sq : d_sq x n
P3 0 @ ang_tri : d_tri x n
G1 0 @ 90.0 : r_bot x (2 * n)
C1 0 @ ang_sq : d_sq x n
C2 half @ ang_tri : d_tri x n
T 0 @ 0.0 : (z_jnt + h_cup) x1
assert(stone().facetCount == 20)
assert(stone().vertexCount == 18)
BDPT
J37: Elongated Square Gyrobicupola
96-indexView exact FSL source ▼
name = "J37: Elongated Square Gyrobicupola"
ri = 1.45
gear = bestGear(8)
cube = 2.5
// pseudorhombicuboctahedron: bottom cupola twisted 45 deg!
n = 4
a = 0.56
R_bot = a / (2 * Math.sinDeg(90 / n))
r_bot = a / (2 * Math.tanDeg(90 / n))
R_top = a / (2 * Math.sinDeg(180 / n))
r_top = a / (2 * Math.tanDeg(180 / n))
dx = R_bot * Math.cosDeg(90 / n) - R_top * Math.cosDeg(180 / n)
dy = R_bot * Math.sinDeg(90 / n) - R_top * Math.sinDeg(180 / n)
h_cup = Math.sqrt(a * a - dx * dx - dy * dy)
z_jnt = a / 2
ang_sq = Math.atanDeg(h_cup / (r_bot - r_top))
ang_tri = Math.atanDeg(h_cup / (r_bot - R_top))
d_sq = r_bot * Math.sinDeg(ang_sq) + z_jnt * Math.cosDeg(ang_sq)
d_tri = r_bot * Math.sinDeg(ang_tri) + z_jnt * Math.cosDeg(ang_tri)
half = gear / (2 * n)
P1 0 @ 0.0 : (z_jnt + h_cup) x1
P2 half @ ang_sq : d_sq x n
P3 0 @ ang_tri : d_tri x n
G1 0 @ 90.0 : r_bot x (2 * n)
C1 0 @ ang_sq : d_sq x n
C2 half @ ang_tri : d_tri x n
T 0 @ 0.0 : (z_jnt + h_cup) x1
assert(stone().facetCount == 26)
assert(stone().vertexCount == 24)
BDPT
J38: Elongated Pentagonal Orthobicupola
80-indexView exact FSL source ▼
name = "J38: Elongated Pentagonal Orthobicupola"
ri = 1.45
gear = bestGear(10)
cube = 2.5
// two 5-cupolas + 10-prism, ortho-aligned
n = 5
a = 0.48
R_bot = a / (2 * Math.sinDeg(90 / n))
r_bot = a / (2 * Math.tanDeg(90 / n))
R_top = a / (2 * Math.sinDeg(180 / n))
r_top = a / (2 * Math.tanDeg(180 / n))
dx = R_bot * Math.cosDeg(90 / n) - R_top * Math.cosDeg(180 / n)
dy = R_bot * Math.sinDeg(90 / n) - R_top * Math.sinDeg(180 / n)
h_cup = Math.sqrt(a * a - dx * dx - dy * dy)
z_jnt = a / 2
ang_sq = Math.atanDeg(h_cup / (r_bot - r_top))
ang_tri = Math.atanDeg(h_cup / (r_bot - R_top))
d_sq = r_bot * Math.sinDeg(ang_sq) + z_jnt * Math.cosDeg(ang_sq)
d_tri = r_bot * Math.sinDeg(ang_tri) + z_jnt * Math.cosDeg(ang_tri)
half = gear / (2 * n)
P1 0 @ 0.0 : (z_jnt + h_cup) x1
P2 0 @ ang_sq : d_sq x n
P3 half @ ang_tri : d_tri x n
G1 0 @ 90.0 : r_bot x (2 * n)
C1 0 @ ang_sq : d_sq x n
C2 half @ ang_tri : d_tri x n
T 0 @ 0.0 : (z_jnt + h_cup) x1
assert(stone().facetCount == 32)
assert(stone().vertexCount == 30)
BDPT
J39: Elongated Pentagonal Gyrobicupola
80-indexView exact FSL source ▼
name = "J39: Elongated Pentagonal Gyrobicupola"
ri = 1.45
gear = bestGear(10)
cube = 2.5
// two 5-cupolas + 10-prism, gyro-twisted
n = 5
a = 0.48
R_bot = a / (2 * Math.sinDeg(90 / n))
r_bot = a / (2 * Math.tanDeg(90 / n))
R_top = a / (2 * Math.sinDeg(180 / n))
r_top = a / (2 * Math.tanDeg(180 / n))
dx = R_bot * Math.cosDeg(90 / n) - R_top * Math.cosDeg(180 / n)
dy = R_bot * Math.sinDeg(90 / n) - R_top * Math.sinDeg(180 / n)
h_cup = Math.sqrt(a * a - dx * dx - dy * dy)
z_jnt = a / 2
ang_sq = Math.atanDeg(h_cup / (r_bot - r_top))
ang_tri = Math.atanDeg(h_cup / (r_bot - R_top))
d_sq = r_bot * Math.sinDeg(ang_sq) + z_jnt * Math.cosDeg(ang_sq)
d_tri = r_bot * Math.sinDeg(ang_tri) + z_jnt * Math.cosDeg(ang_tri)
half = gear / (2 * n)
P1 0 @ 0.0 : (z_jnt + h_cup) x1
P2 half @ ang_sq : d_sq x n
P3 0 @ ang_tri : d_tri x n
G1 0 @ 90.0 : r_bot x (2 * n)
C1 0 @ ang_sq : d_sq x n
C2 half @ ang_tri : d_tri x n
T 0 @ 0.0 : (z_jnt + h_cup) x1
assert(stone().facetCount == 32)
assert(stone().vertexCount == 30)
BDPT
J40: Elongated Pentagonal Orthocupolarotunda
80-indexView exact FSL source ▼
name = "J40: Elongated Pentagonal Orthocupolarotunda"
ri = 1.45
gear = bestGear(10) // 80-index commercial bench gear
cube = 2.5
// Pentagonal cupola + decagonal prism + pentagonal rotunda (ortho)
phi = Math.PHI
a = 0.44
R_dec = a * phi
r_dec = R_dec * Math.cosDeg(18)
R_pent = a / (2 * Math.sinDeg(36))
r_pent = a / (2 * Math.tanDeg(36))
dx = R_dec * Math.cosDeg(18) - R_pent * Math.cosDeg(36)
dy = R_dec * Math.sinDeg(18) - R_pent * Math.sinDeg(36)
h_cup = Math.sqrt(a * a - dx * dx - dy * dy)
d_p5 = Math.sqrt(R_dec * R_dec - R_pent * R_pent)
d_t3 = Math.sqrt(R_dec * R_dec - a * a / 3)
z_jnt = a / 2
ang_sq = Math.atanDeg(h_cup / (r_dec - r_pent))
ang_tri = Math.atanDeg(h_cup / (r_dec - R_pent))
ang_p5 = Math.atanDeg(2)
ang_t1 = Math.acosDeg((phi + 1) / Math.sqrt(3 * (phi + 2)))
ang_t2 = Math.acosDeg((phi - 1) / Math.sqrt(3 * (phi + 2)))
half = gear / 10
P1 0 @ 0.0 : (z_jnt + d_p5) x1
P2 0 @ ang_p5 : (d_p5 + z_jnt * Math.cosDeg(ang_p5)) x5
P3 half @ ang_t1 : (d_t3 + z_jnt * Math.cosDeg(ang_t1)) x5
P4 half @ ang_t2 : (d_t3 + z_jnt * Math.cosDeg(ang_t2)) x5
G1 0 @ 90.0 : r_dec x10
C1 0 @ ang_sq : (r_dec * Math.sinDeg(ang_sq) + z_jnt * Math.cosDeg(ang_sq)) x5
C2 half @ ang_tri : (r_dec * Math.sinDeg(ang_tri) + z_jnt * Math.cosDeg(ang_tri)) x5
T 0 @ 0.0 : (z_jnt + h_cup) x1
assert(stone().facetCount == 37)
assert(stone().vertexCount == 35)
BDPT
J41: Elongated Pentagonal Gyrocupolarotunda
80-indexView exact FSL source ▼
name = "J41: Elongated Pentagonal Gyrocupolarotunda"
ri = 1.45
gear = bestGear(10) // 80-index commercial bench gear
cube = 2.5
// Pentagonal cupola + decagonal prism + pentagonal rotunda (gyro)
phi = Math.PHI
a = 0.44
R_dec = a * phi
r_dec = R_dec * Math.cosDeg(18)
R_pent = a / (2 * Math.sinDeg(36))
r_pent = a / (2 * Math.tanDeg(36))
dx = R_dec * Math.cosDeg(18) - R_pent * Math.cosDeg(36)
dy = R_dec * Math.sinDeg(18) - R_pent * Math.sinDeg(36)
h_cup = Math.sqrt(a * a - dx * dx - dy * dy)
d_p5 = Math.sqrt(R_dec * R_dec - R_pent * R_pent)
d_t3 = Math.sqrt(R_dec * R_dec - a * a / 3)
z_jnt = a / 2
ang_sq = Math.atanDeg(h_cup / (r_dec - r_pent))
ang_tri = Math.atanDeg(h_cup / (r_dec - R_pent))
ang_p5 = Math.atanDeg(2)
ang_t1 = Math.acosDeg((phi + 1) / Math.sqrt(3 * (phi + 2)))
ang_t2 = Math.acosDeg((phi - 1) / Math.sqrt(3 * (phi + 2)))
half = gear / 10
P1 0 @ 0.0 : (z_jnt + d_p5) x1
P2 half @ ang_p5 : (d_p5 + z_jnt * Math.cosDeg(ang_p5)) x5
P3 0 @ ang_t1 : (d_t3 + z_jnt * Math.cosDeg(ang_t1)) x5
P4 0 @ ang_t2 : (d_t3 + z_jnt * Math.cosDeg(ang_t2)) x5
G1 0 @ 90.0 : r_dec x10
C1 0 @ ang_sq : (r_dec * Math.sinDeg(ang_sq) + z_jnt * Math.cosDeg(ang_sq)) x5
C2 half @ ang_tri : (r_dec * Math.sinDeg(ang_tri) + z_jnt * Math.cosDeg(ang_tri)) x5
T 0 @ 0.0 : (z_jnt + h_cup) x1
assert(stone().facetCount == 37)
assert(stone().vertexCount == 35)
BDPT
J42: Elongated Pentagonal Orthobirotunda
80-indexView exact FSL source ▼
name = "J42: Elongated Pentagonal Orthobirotunda"
ri = 1.45
gear = bestGear(10) // 80-index commercial bench gear
cube = 2.5
// Two pentagonal rotundas separated by a decagonal prism (ortho-aligned)
phi = Math.PHI
a = 0.42
R_ico = a * phi
r_dec = R_ico * Math.cosDeg(18)
R_pent = a / (2 * Math.sinDeg(36))
d_p5 = Math.sqrt(R_ico * R_ico - R_pent * R_pent)
d_t3 = Math.sqrt(R_ico * R_ico - a * a / 3)
z_jnt = a / 2
ang_p5 = Math.atanDeg(2)
ang_t1 = Math.acosDeg((phi + 1) / Math.sqrt(3 * (phi + 2)))
ang_t2 = Math.acosDeg((phi - 1) / Math.sqrt(3 * (phi + 2)))
half = gear / 10
P1 0 @ 0.0 : (z_jnt + d_p5) x1
P2 0 @ ang_p5 : (d_p5 + z_jnt * Math.cosDeg(ang_p5)) x5
P3 half @ ang_t1 : (d_t3 + z_jnt * Math.cosDeg(ang_t1)) x5
P4 half @ ang_t2 : (d_t3 + z_jnt * Math.cosDeg(ang_t2)) x5
G1 0 @ 90.0 : r_dec x10
C1 0 @ ang_p5 : (d_p5 + z_jnt * Math.cosDeg(ang_p5)) x5
C2 half @ ang_t1 : (d_t3 + z_jnt * Math.cosDeg(ang_t1)) x5
C3 half @ ang_t2 : (d_t3 + z_jnt * Math.cosDeg(ang_t2)) x5
T 0 @ 0.0 : (z_jnt + d_p5) x1
assert(stone().facetCount == 42)
assert(stone().vertexCount == 40)
BDPT
J43: Elongated Pentagonal Gyrobirotunda
80-indexView exact FSL source ▼
name = "J43: Elongated Pentagonal Gyrobirotunda"
ri = 1.45
gear = bestGear(10) // 80-index commercial bench gear
cube = 2.5
// Two pentagonal rotundas separated by a decagonal prism (gyro-twisted 36 deg)
phi = Math.PHI
a = 0.42
R_ico = a * phi
r_dec = R_ico * Math.cosDeg(18)
R_pent = a / (2 * Math.sinDeg(36))
d_p5 = Math.sqrt(R_ico * R_ico - R_pent * R_pent)
d_t3 = Math.sqrt(R_ico * R_ico - a * a / 3)
z_jnt = a / 2
ang_p5 = Math.atanDeg(2)
ang_t1 = Math.acosDeg((phi + 1) / Math.sqrt(3 * (phi + 2)))
ang_t2 = Math.acosDeg((phi - 1) / Math.sqrt(3 * (phi + 2)))
half = gear / 10
P1 0 @ 0.0 : (z_jnt + d_p5) x1
P2 half @ ang_p5 : (d_p5 + z_jnt * Math.cosDeg(ang_p5)) x5
P3 0 @ ang_t1 : (d_t3 + z_jnt * Math.cosDeg(ang_t1)) x5
P4 0 @ ang_t2 : (d_t3 + z_jnt * Math.cosDeg(ang_t2)) x5
G1 0 @ 90.0 : r_dec x10
C1 0 @ ang_p5 : (d_p5 + z_jnt * Math.cosDeg(ang_p5)) x5
C2 half @ ang_t1 : (d_t3 + z_jnt * Math.cosDeg(ang_t1)) x5
C3 half @ ang_t2 : (d_t3 + z_jnt * Math.cosDeg(ang_t2)) x5
T 0 @ 0.0 : (z_jnt + d_p5) x1
assert(stone().facetCount == 42)
assert(stone().vertexCount == 40)
BDPT
J44: Gyroelongated Triangular Bicupola
96-indexView exact FSL source ▼
name = "J44: Gyroelongated Triangular Bicupola"
ri = 1.45
gear = bestGear(12)
cube = 2.5
// Chiral gyroelongated bicupola: two 3-cupolas joined by a 6-gonal antiprism
n = 3
m = 2 * n
a = 0.56
R_bot = a / (2 * Math.sinDeg(180 / m))
r_bot = a / (2 * Math.tanDeg(180 / m))
R_top = a / (2 * Math.sinDeg(180 / n))
r_top = a / (2 * Math.tanDeg(180 / n))
h_ap = Math.sqrt(a * a - 2 * R_bot * R_bot * (1 - Math.cosDeg(180 / m)))
dx = R_bot * Math.cosDeg(180 / m) - R_top * Math.cosDeg(180 / n)
dy = R_bot * Math.sinDeg(180 / m) - R_top * Math.sinDeg(180 / n)
h_cup = Math.sqrt(a * a - dx * dx - dy * dy)
z_jnt = h_ap / 2
ang_ap = Math.atanDeg(h_ap / (R_bot - r_bot))
ang_sq = Math.atanDeg(h_cup / (r_bot - r_top))
ang_tri = Math.atanDeg(h_cup / (r_bot - R_top))
d_ap = r_bot * Math.sinDeg(ang_ap) + z_jnt * Math.cosDeg(ang_ap)
d_sq = r_bot * Math.sinDeg(ang_sq) + z_jnt * Math.cosDeg(ang_sq)
d_tri = r_bot * Math.sinDeg(ang_tri) + z_jnt * Math.cosDeg(ang_tri)
q = gear / (2 * m)
// Bottom cupola aligns on q, 3*q; antiprism twists by q; top cupola aligns on 0, 2*q
P1 0 @ 0.0 : (z_jnt + h_cup) x1
P2 q @ ang_sq : d_sq x n
P3 (3 * q) @ ang_tri : d_tri x n
P4 q @ ang_ap : d_ap x m
C1 0 @ ang_ap : d_ap x m
C2 0 @ ang_sq : d_sq x n
C3 (2 * q) @ ang_tri : d_tri x n
T 0 @ 0.0 : (z_jnt + h_cup) x1
assert(stone().facetCount == 26)
assert(stone().vertexCount == 18)
BDPT
J45: Gyroelongated Square Bicupola
96-indexView exact FSL source ▼
name = "J45: Gyroelongated Square Bicupola"
ri = 1.45
gear = bestGear(16)
cube = 2.5
// Chiral gyroelongated bicupola: two 4-cupolas joined by a 8-gonal antiprism
n = 4
m = 2 * n
a = 0.56
R_bot = a / (2 * Math.sinDeg(180 / m))
r_bot = a / (2 * Math.tanDeg(180 / m))
R_top = a / (2 * Math.sinDeg(180 / n))
r_top = a / (2 * Math.tanDeg(180 / n))
h_ap = Math.sqrt(a * a - 2 * R_bot * R_bot * (1 - Math.cosDeg(180 / m)))
dx = R_bot * Math.cosDeg(180 / m) - R_top * Math.cosDeg(180 / n)
dy = R_bot * Math.sinDeg(180 / m) - R_top * Math.sinDeg(180 / n)
h_cup = Math.sqrt(a * a - dx * dx - dy * dy)
z_jnt = h_ap / 2
ang_ap = Math.atanDeg(h_ap / (R_bot - r_bot))
ang_sq = Math.atanDeg(h_cup / (r_bot - r_top))
ang_tri = Math.atanDeg(h_cup / (r_bot - R_top))
d_ap = r_bot * Math.sinDeg(ang_ap) + z_jnt * Math.cosDeg(ang_ap)
d_sq = r_bot * Math.sinDeg(ang_sq) + z_jnt * Math.cosDeg(ang_sq)
d_tri = r_bot * Math.sinDeg(ang_tri) + z_jnt * Math.cosDeg(ang_tri)
q = gear / (2 * m)
// Bottom cupola aligns on q, 3*q; antiprism twists by q; top cupola aligns on 0, 2*q
P1 0 @ 0.0 : (z_jnt + h_cup) x1
P2 q @ ang_sq : d_sq x n
P3 (3 * q) @ ang_tri : d_tri x n
P4 q @ ang_ap : d_ap x m
C1 0 @ ang_ap : d_ap x m
C2 0 @ ang_sq : d_sq x n
C3 (2 * q) @ ang_tri : d_tri x n
T 0 @ 0.0 : (z_jnt + h_cup) x1
assert(stone().facetCount == 34)
assert(stone().vertexCount == 24)
BDPT
J46: Gyroelongated Pentagonal Bicupola
80-indexView exact FSL source ▼
name = "J46: Gyroelongated Pentagonal Bicupola"
ri = 1.45
gear = bestGear(20)
cube = 2.5
// Chiral gyroelongated bicupola: two 5-cupolas joined by a 10-gonal antiprism
n = 5
m = 2 * n
a = 0.48
R_bot = a / (2 * Math.sinDeg(180 / m))
r_bot = a / (2 * Math.tanDeg(180 / m))
R_top = a / (2 * Math.sinDeg(180 / n))
r_top = a / (2 * Math.tanDeg(180 / n))
h_ap = Math.sqrt(a * a - 2 * R_bot * R_bot * (1 - Math.cosDeg(180 / m)))
dx = R_bot * Math.cosDeg(180 / m) - R_top * Math.cosDeg(180 / n)
dy = R_bot * Math.sinDeg(180 / m) - R_top * Math.sinDeg(180 / n)
h_cup = Math.sqrt(a * a - dx * dx - dy * dy)
z_jnt = h_ap / 2
ang_ap = Math.atanDeg(h_ap / (R_bot - r_bot))
ang_sq = Math.atanDeg(h_cup / (r_bot - r_top))
ang_tri = Math.atanDeg(h_cup / (r_bot - R_top))
d_ap = r_bot * Math.sinDeg(ang_ap) + z_jnt * Math.cosDeg(ang_ap)
d_sq = r_bot * Math.sinDeg(ang_sq) + z_jnt * Math.cosDeg(ang_sq)
d_tri = r_bot * Math.sinDeg(ang_tri) + z_jnt * Math.cosDeg(ang_tri)
q = gear / (2 * m)
// Bottom cupola aligns on q, 3*q; antiprism twists by q; top cupola aligns on 0, 2*q
P1 0 @ 0.0 : (z_jnt + h_cup) x1
P2 q @ ang_sq : d_sq x n
P3 (3 * q) @ ang_tri : d_tri x n
P4 q @ ang_ap : d_ap x m
C1 0 @ ang_ap : d_ap x m
C2 0 @ ang_sq : d_sq x n
C3 (2 * q) @ ang_tri : d_tri x n
T 0 @ 0.0 : (z_jnt + h_cup) x1
assert(stone().facetCount == 42)
assert(stone().vertexCount == 30)
BDPT
J47: Gyroelongated Pentagonal Cupolarotunda
80-indexView exact FSL source ▼
name = "J47: Gyroelongated Pentagonal Cupolarotunda"
ri = 1.45
gear = bestGear(20) // 80-index commercial bench gear
cube = 2.5
// Chiral solid: pentagonal cupola + decagonal antiprism + pentagonal rotunda
phi = Math.PHI
a = 0.44
R_dec = a * phi
r_dec = R_dec * Math.cosDeg(18)
R_pent = a / (2 * Math.sinDeg(36))
r_pent = a / (2 * Math.tanDeg(36))
dx = R_dec * Math.cosDeg(18) - R_pent * Math.cosDeg(36)
dy = R_dec * Math.sinDeg(18) - R_pent * Math.sinDeg(36)
h_cup = Math.sqrt(a * a - dx * dx - dy * dy)
d_p5 = Math.sqrt(R_dec * R_dec - R_pent * R_pent)
d_t3 = Math.sqrt(R_dec * R_dec - a * a / 3)
h_ap = Math.sqrt(a * a - 2 * R_dec * R_dec * (1 - Math.cosDeg(18)))
z_jnt = h_ap / 2
ang_ap = Math.atanDeg(h_ap / (R_dec - r_dec))
ang_sq = Math.atanDeg(h_cup / (r_dec - r_pent))
ang_tri = Math.atanDeg(h_cup / (r_dec - R_pent))
ang_p5 = Math.atanDeg(2)
ang_t1 = Math.acosDeg((phi + 1) / Math.sqrt(3 * (phi + 2)))
ang_t2 = Math.acosDeg((phi - 1) / Math.sqrt(3 * (phi + 2)))
d_ap = r_dec * Math.sinDeg(ang_ap) + z_jnt * Math.cosDeg(ang_ap)
q = gear / 20 // tooth 4 on 80-index (18 deg antiprism half-step)
P1 0 @ 0.0 : (z_jnt + d_p5) x1
P2 q @ ang_p5 : (d_p5 + z_jnt * Math.cosDeg(ang_p5)) x5
P3 (3 * q) @ ang_t1 : (d_t3 + z_jnt * Math.cosDeg(ang_t1)) x5
P4 (3 * q) @ ang_t2 : (d_t3 + z_jnt * Math.cosDeg(ang_t2)) x5
P5 q @ ang_ap : d_ap x10
C1 0 @ ang_ap : d_ap x10
C2 0 @ ang_sq : (r_dec * Math.sinDeg(ang_sq) + z_jnt * Math.cosDeg(ang_sq)) x5
C3 (2 * q) @ ang_tri : (r_dec * Math.sinDeg(ang_tri) + z_jnt * Math.cosDeg(ang_tri)) x5
T 0 @ 0.0 : (z_jnt + h_cup) x1
assert(stone().facetCount == 47)
assert(stone().vertexCount == 35)
BDPT
J48: Gyroelongated Pentagonal Birotunda
80-indexView exact FSL source ▼
name = "J48: Gyroelongated Pentagonal Birotunda"
ri = 1.45
gear = bestGear(20) // 80-index commercial bench gear
cube = 2.5
// Chiral solid: two pentagonal rotundas joined by a decagonal antiprism
phi = Math.PHI
a = 0.42
R_ico = a * phi
r_dec = R_ico * Math.cosDeg(18)
R_pent = a / (2 * Math.sinDeg(36))
d_p5 = Math.sqrt(R_ico * R_ico - R_pent * R_pent)
d_t3 = Math.sqrt(R_ico * R_ico - a * a / 3)
h_ap = Math.sqrt(a * a - 2 * R_ico * R_ico * (1 - Math.cosDeg(18)))
z_jnt = h_ap / 2
ang_ap = Math.atanDeg(h_ap / (R_ico - r_dec))
ang_p5 = Math.atanDeg(2)
ang_t1 = Math.acosDeg((phi + 1) / Math.sqrt(3 * (phi + 2)))
ang_t2 = Math.acosDeg((phi - 1) / Math.sqrt(3 * (phi + 2)))
d_ap = r_dec * Math.sinDeg(ang_ap) + z_jnt * Math.cosDeg(ang_ap)
q = gear / 20
P1 0 @ 0.0 : (z_jnt + d_p5) x1
P2 q @ ang_p5 : (d_p5 + z_jnt * Math.cosDeg(ang_p5)) x5
P3 (3 * q) @ ang_t1 : (d_t3 + z_jnt * Math.cosDeg(ang_t1)) x5
P4 (3 * q) @ ang_t2 : (d_t3 + z_jnt * Math.cosDeg(ang_t2)) x5
P5 q @ ang_ap : d_ap x10
C1 0 @ ang_ap : d_ap x10
C2 0 @ ang_p5 : (d_p5 + z_jnt * Math.cosDeg(ang_p5)) x5
C3 (2 * q) @ ang_t1 : (d_t3 + z_jnt * Math.cosDeg(ang_t1)) x5
C4 (2 * q) @ ang_t2 : (d_t3 + z_jnt * Math.cosDeg(ang_t2)) x5
T 0 @ 0.0 : (z_jnt + d_p5) x1
assert(stone().facetCount == 52)
assert(stone().vertexCount == 40)