milieu

Construis le solide proposé en utilisant
les points qui sont déjà placés sur les 
arêtes du cube.

Afficher/Cacher le cube

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)
V_2 = (-3, -1)
W_2 = (3, -1)
f = Segment(V_2, W_2)
Z_2 = (-3, 5)
g = Segment(V_2, Z_2)
A_3 = (3, 5)
h = Segment(Z_2, A_3)
i = Segment(A_3, W_2)
B_3 = (6, 1)
j = Segment(W_2, B_3)
C_3 = (6, 7)
k = Segment(A_3, C_3)
D_3 = (0, 7)
m = Segment(Z_2, D_3)
p = Segment(D_3, C_3)
q = Segment(C_3, B_3)
E_3 = Midpoint(h)
F_3 = Midpoint(f)
G_3 = Midpoint(j)
H_3 = Midpoint(k)
I_3 = Midpoint(q)
J_3 = Midpoint(p)
K_3 = Midpoint(m)
L_3 = Midpoint(g)
M_3, N_3 = partage_en(H_3, A_3)
O_3, P_3 = partage_en(H_3, C_3)
Q_3, R_3 = partage_en(C_3, I_3)
S_3, T_3 = partage_en(I_3, B_3)
U_3, V_3 = partage_en(B_3, G_3)
W_3, Z_3 = partage_en(G_3, W_2)
A_4, B_4 = partage_en(W_2, F_3)
C_4, D_4 = partage_en(F_3, V_2)
E_4, F_4 = partage_en(V_2, L_3)
G_4, H_4 = partage_en(L_3, Z_2)
I_4, J_4 = partage_en(Z_2, E_3)
K_4, L_4 = partage_en(E_3, A_3)
M_4, N_4 = partage_en(Z_2, K_3)
O_4, P_4 = partage_en(K_3, D_3)
Q_4, R_4 = partage_en(D_3, J_3)
S_4, T_4 = partage_en(J_3, C_3)
U_4 = (0, 1)
r = Segment(D_3, U_4)
s = Segment(U_4, V_2)
t = Segment(U_4, B_3)
V_4 = Midpoint(r)
W_4 = Midpoint(s)
Z_4 = Midpoint(t)
A_5, B_5 = partage_en(D_3, V_4)
C_5, D_5 = partage_en(U_4, W_4)
E_5, F_5 = partage_en(W_4, V_2)
G_5, H_5 = partage_en(U_4, Z_4)
I_5, J_5 = partage_en(Z_4, B_3)
K_5, L_5 = partage_en(V_4, U_4)
M_5 = Midpoint(i)
N_5, O_5 = partage_en(A_3, M_5)
P_5, Q_5 = partage_en(M_5, W_2)
poly1, k_4, m_3, o_3, s_4, r_4, o_4, n_4, j_4 = Polygon(K_4, M_3, O_3, S_4, R_4, O_4, N_4, J_4)
poly2, m_1, k_1, o_5 = Polygon(K_4, O_5, M_3)
poly3, o_1, k_2, j_1, g_4, f_4, c_4, b_4, z_4 = Polygon(O_5, K_4, J_4, G_4, F_4, C_4, B_4, Z_4)
poly4, m_2, o_2, z_1, w_3, v_3, s_3, r_3, o_6 = Polygon(M_3, O_5, Z_4, W_3, V_3, S_3, R_3, O_3)
poly5, w_1, z_2, b_1 = Polygon(Z_4, B_4, W_3)
poly6, g_1, j_2, n_1 = Polygon(J_4, N_4, G_4)
poly7, c_1, f_1, e_5 = Polygon(F_4, E_5, C_4)
R_5 = Intersect(m, p)
S_5 = Point(r_4)
a_1 = Segment(R_5, S_5)
T_5 = Intersect(f, g)
U_5 = Point(f_1)
d_1 = Segment(T_5, U_5)
V_5 = Intersect(j, q)
W_5 = Point(v_3)
e_1 = Segment(V_5, W_5)
o = true

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)