Hranol: n_boký, výška - v

A = (0, 0)
B = (4, 0)
n = 5 (slider from 1 to 8, step 1)
v = 5 (slider from 1 to 10, step 1)
mnohouholník1, f, g, h, i, j, k, C, D, I, K = Polygon(A, B, n)
a, E, F, G, H, J, L, stenaABFE, stenaBCGF, stenaCDHG, stenaADHE, stena1, stena2, stenaEFGH, hranaAE, hranaBF, hranaCG, hranaDH, hrana1, hrana3, hranaEF, hranaFG, hranaGH, hranaEH, hrana2, hrana4 = Prism(mnohouholník1, v)