milieu

A = Intersect(xAxis, yAxis)
c = Circle(A, 1)
B = Point(c)
n = 4 (slider from 3 to 100, step 1)
a: 360 / n
l: (2 * sin(π / n))
d = Circle(B, l)
C = Intersect(c, d, 1)
b, D, E, F, G, H, I, faceBCDE, faceBEIF, faceBCGF, faceCDHG, faceDEIH, faceFGHI, arêteBE, arêteBC, arêteCD, arêteDE, arêteBF, arêteEI, arêteFI, arêteFG, arêteCG, arêteGH, arêteDH, arêteHI = Cube(B, C, xOyPlane)
J = Midpoint(arêteFI)
K = Midpoint(arêteFG)
L = Midpoint(arêteGH)
M = Midpoint(arêteHI)
N = Midpoint(arêteDH)
O = Midpoint(arêteEI)
P = Midpoint(arêteBE)
Q = Midpoint(arêteBF)
R = Midpoint(arêteBC)
S = Midpoint(arêteCG)
T = Midpoint(arêteDE)
U = Midpoint(arêteCD)
e = true
V, W = partage_en(G, L)
Z, A_1 = partage_en(L, H)
B_1, C_1 = partage_en(H, M)
D_1, E_1 = partage_en(M, I)
F_1, G_1 = partage_en(I, J)
H_1, I_1 = partage_en(J, F)
J_1, K_1 = partage_en(F, K)
L_1, M_1 = partage_en(K, G)
N_1, O_1 = partage_en(G, S)
P_1, Q_1 = partage_en(S, C)
R_1, S_1 = partage_en(C, R)
T_1, U_1 = partage_en(R, B)
V_1, W_1 = partage_en(B, Q)
Z_1, A_2 = partage_en(Q, F)
B_2, C_2 = partage_en(B, P)
D_2, E_2 = partage_en(P, E)
F_2, G_2 = partage_en(E, T)
H_2, I_2 = partage_en(T, D)
J_2, K_2 = partage_en(D, U)
L_2, M_2 = partage_en(U, C)
N_2, O_2 = partage_en(O, E)
P_2, Q_2 = partage_en(N, D)
R_2, S_2 = partage_en(H, N)
T_2, U_2 = partage_en(O, I)

Tool: partage_en_3_3d (command partage_en)
partage_en[ <Point>, <Point> ]
Input: A, B
Output: C, D

C: (x(B) / 3 + (2 * x(A) / 3), y(B) / 3 + (2 * y(A) / 3), z(B) / 3 + (2 * z(A) / 3))
D: ((2 * x(B) / 3) + x(A) / 3, (2 * y(B) / 3) + y(A) / 3, (2 * z(B) / 3) + z(A) / 3)