Section d'un pavé (3D)

ABFE

ABCD

(AE)

Section\;par\;un\plan\;parallèle\;à

L = 5 (slider from 0 to 10, step 0.1)
l = 4 (slider from 0 to 10, step 0.1)
h = 3 (slider from 0 to 10, step 0.1)
O = Intersect(yAxis, zAxis)
c = Circle(O, L / 2, yAxis)
A_1, B_1 = Intersect(xAxis, c)
d = Circle(O, l / 2, xAxis)
C_1, D_1 = Intersect(yAxis, d)
a = Line(C_1, xAxis)
b = Line(D_1, xAxis)
e = Line(B_1, yAxis)
f = Line(A_1, yAxis)
D = Intersect(e, a)
A = Intersect(e, b)
B = Intersect(f, b)
C = Intersect(a, f)
poly1, a_1, b_1, c_1, d_1 = Polygon(A, B, C, D)
g, E, F, G, H, faceABFE, faceBCGF, faceCDHG, faceADHE, faceEFGH, arêteAE, arêteBF, arêteCG, arêteDH, arêteEF, arêteFG, arêteGH, arêteEH = Prism(poly1, h)
I = Point(arêteEF)
i = Plane(I, faceADHE)
j = IntersectPath(i, poly1)
J, K = Intersect(i, poly1)
M = Intersect(arêteGH, i)
poly2, N, P, Q, R, k, m, n, p = IntersectPath(i, g)
ADHE = false
S = Point(arêteFG)
o = OrthogonalPlane(S, arêteFG)
poly3, T, U, V, W, q, r, s, t = IntersectPath(o, g)
u = false
Z = Point(arêteAE)
v = OrthogonalPlane(Z, arêteAE)
poly4, E_1, F_1, G_1, H_1, e_1, f_1, g_1, h_1 = IntersectPath(v, g)
w = false
I_1 = Point(arêteGH)
J_1 = Point(arêteEF)
i_1 = Line(I_1, arêteAE)
K_1 = Intersect(c_1, i_1)
j_1 = Plane(I_1, J_1, K_1)
poly5, L_1, M_1, N_1, O_1, k_1, l_1, m_1, n_1 = IntersectPath(j_1, g)
o_1 = false