góra-ściany

prawa-ściany

szer

tył-krawędzie

przód-krawędzie

lewa-ściana

A = Point(yAxis)
a_4 = OrthogonalLine(A, yAxis)
B = Point(a_4)
b = OrthogonalLine(B, a_4)
C = Point(b)
C' = Rotate(C, 120*°, B)
α = Angle(C, B, C')
c = Line(B, C')
A' = Mirror(A, c)
c' = Mirror(c, a_4)
D = Point(b)
E = Point(c')
d = Line(E, b)
e = Line(D, c')
H = Point(b)
h = Line(H, c')
F = Intersect(d, e)
G = Point(e)
f = Line(G, d)
I = Point(b)
g = Line(I, c')
J = Intersect(f, g)
K = Point(e)
i = Line(K, f)
L = Point(e)
j = Line(L, b)
M = Intersect(g, i)
N = Intersect(h, i)
O = Intersect(h, j)
P = Intersect(g, j)
Q = Intersect(d, g)
R = Intersect(h, f)
wielokąt1, b_1, e_1, q, j_1, g_1, k, m, p, o, h_1 = Polygon(B, E, Q, J, G, K, M, P, O, H)
l = Line(E, c)
n = Line(Q, l)
r = Line(J, n)
s = Line(G, r)
t = Line(K, s)
a_1 = Line(P, t)
c_1 = Line(O, t)
d_1 = Line(H, c)
S = Point(l)
f_1 = Line(S, d)
T = Intersect(n, f_1)
i_1 = Line(T, q)
U = Intersect(r, i_1)
k_1 = Line(U, f_1)
l_1 = Line(S, c')
wielokąt2, e_2, s_1, t_1, q_1 = Polygon(E, S, T, Q)
wielokąt3, j_2, q_2, t_2, u = Polygon(J, Q, T, U)
V = Intersect(s, k_1)
W = Intersect(r, i_1)
wielokąt4, j_3, u_1, v, g_2 = Polygon(J, U, V, G)
m_1 = Line(V, e)
Z = Intersect(t, m_1)
wielokąt5, k_2, g_3, v_1, z = Polygon(K, G, V, Z)
n_1 = Line(M, r)
p_1 = Line(Z, f_1)
A_1 = Intersect(n_1, i_1)
B_1 = Intersect(a_1, i_1)
wielokąt6, p_2, m_2, a_2, b_2 = Polygon(P, M, A_1, B_1)
r_1 = Line(B_1, f)
D_1 = Intersect(r_1, c_1)
c_2 = Line(D_1, i_1)
E_1 = Intersect(d_1, c_2)
wielokąt7, o_1, d_2, e_3, h_2 = Polygon(O, D_1, E_1, H)
wielokąt8, p_3, b_3, d_3, o_2 = Polygon(P, B_1, D_1, O)
f_2 = Line(E_1, b)
i_2 = Line(S, c')
F_1 = Intersect(f_2, i_2)
n_2 = Segment(E_1, F_1)
r_2 = Segment(B, F_1)
C_1 = Point(c)
s_2 = Segment(B, C_1)
w = Vector(B, C_1)
w_1 = Vector(H, D)
G_1 = Point(c')
a_3 = Segment(E, G_1)
z_1 = Vector(E, G_1)
c_3 = Segment(F_1, S)
f_3 = Segment(H, B)
h_3 = Segment(B, E)
i_3 = Segment(E, Q)
k_3 = Segment(Q, J)
q_3 = Segment(M, P)
u_2 = true
v_2 = true
s_3 = Segment(E, S)
t_3 = Segment(Q, T)
b_4 = Segment(J, U)
c_4 = Segment(T, U)
d_4 = Segment(S, T)
e_4 = Segment(G, V)
f_4 = Segment(K, Z)
h_4 = Segment(P, B_1)
i_4 = Segment(O, D_1)
j_4 = Segment(H, E_1)
k_4 = Segment(E_1, D_1)
l_4 = Segment(D_1, B_1)
m_4 = Segment(B_1, A_1)
wielokąt9, z_2, k_5, m_5, a_5 = Polygon(Z, K, M, A_1)
p_4 = Segment(M, A_1)
w_2 = true
q_4 = Segment(A_1, Z)
r_4 = Segment(V, Z)
s_4 = Segment(U, V)
u_3 = true
wielokąt10, b_5, f_5, e_5, h_5 = Polygon(B, F_1, E_1, H)
l_2 = Segment(H, O)
g_4 = Segment(H, B)
t_4 = Segment(O, P)
c_5 = Segment(M, K)
d_5 = Segment(K, G)
g_5 = Segment(G, J)
v_3 = true
I_1 = Intersect(c_5, m_4)
l_5 = Segment(B_1, I_1)
J_1 = Intersect(p_4, q_4)
n_5 = Segment(I_1, J_1)
w_3 = true
j_5 = Segment(B, E)
i_5 = Segment(H, B)