Author: Daniel Mentrard

Déplacer le point rouge pour faire tourner le cube
Déplacer le point vert pour agrandir/réduire la figure.

Taille

h

h 

Base

Base

V = B x h

 \frac{ 1 }{3 } 

V =  \frac{ B x h }{3 } 

Pasar el líquido de una a otro volumen.

O = (-0.17910397103377948, 1.0652418441859293)
A = (6.051341518216386, -0.10162726368166511)
B = Intersect(xAxis, yAxis)
xa: x(A)
sinphi: sin(xa)
cosphi: cos(xa)
ya: y(A)
costheta: cos(ya)
sintheta: sin(ya)
F = (-2.665841906596287, 4.424751250201176)
G = (0.3629615599424175, 4.4584046220516065)
distanceAE = Distance(F, G)
xy: -(distanceAE) * cosphi * sintheta
X: (distanceAE * sinphi, xy)
u = Vector(B, X)
P = Translate(O, u)
Y: (distanceAE * cosphi, distanceAE * sinphi * sintheta)
v = Vector(B, Y)
Q = Translate(P, v)
D: (0.0, distanceAE * costheta)
w = Vector(B, D)
R = Translate(Q, w)
V = Mirror(R, P)
T = Mirror(R, Q)
Z = Mirror(T, O)
E = Midpoint(Z, R)
S = Mirror(R, O)
d = Circle(A, 0.2)
C = Point(d)
e = Ray(A, C)
b = OrthogonalLine(A, xAxis)
c: cos(ya)
U = Mirror(T, P)
W = Mirror(U, O)
A1 = Mirror(V, O)
k = Segment(Z, U)
l = Segment(E, V)
m = Segment(V, T)
n = Segment(T, W)
p = Segment(W, E)
q = Segment(A1, Z)
r = Segment(A1, R)
s = Segment(E, T)
t = Segment(R, U)
a1 = Segment(E, S)
b1 = Segment(S, W)
c1 = Segment(S, V)
B1 = facecachée3points(W, S, Z)
C1 = facecachée3points(Z, A1, S)
poly4, f_1, g, h, i = fachequadrlatèrecachée(E, E, V, S)
poly2, j_1, d1_5, e1_5, f1_6 = Polygon(E, E, B1, S)
poly5, l1, m1, n1, p1 = fachequadrlatèrecachée(A1, R, U, Z)
poly6, q1, r1, s1, t1 = fachequadrlatèrecachée(W, S, V, T)
poly7, j, d1, e1, f1 = fachequadrlatèrecachée(E, E, T, V)
poly8, g1, h1, i1, j1 = fachequadrlatèrecachée(E, E, W, T)
f = Segment(F, G)
H = Midpoint(F, G)
o = -2 (slider from -3.4 to 3, step 0.1)
I = Midpoint(b1)
J = Midpoint(s1)
K = Midpoint(J, I)
k1 = Line(E, K)
L: (x(O), y(O) + o)
G1 = Point(poly7)
j2 = Segment(E, K)
h3 = Line(E, L)
M2: (x(L), y(L) + 0.7)
M = (12.811754214390275, -1.914312785498487)
z = Vector(W, M)
N = Translate((3.643926270555277, -2.2418297889497523), z)
D1 = Translate((2.251969651541659, -1.6436768919972438), z)
E1 = Translate((-3.6439262705552764, -1.7848942566007713), z)
F1 = Translate((-2.251969651541659, -2.38304715355328), z)
poly6', n_1, d1_1, e1_1, f1_1 = Polygon(N, D1, E1, F1)
H1 = Translate(E, z)
I1 = Translate(K, z)
a = Vector(I1, H1)
N' = Translate(N, a)
D1' = Translate(D1, a)
E1' = Translate(E1, a)
F1' = Translate(F1, a)
poly6'', n', d1', e1', f1' = Polygon(N', D1', E1', F1')
a2 = Segment(E1', E1)
b2 = Segment(F1', F1)
c2 = Segment(N', M)
d2 = Segment(D1', D1)
J1 = (7.170464115521114, -1.4375840447489803)
e2 = Segment(H1, E1)
f2 = Segment(H1, F1)
g2 = Segment(H1, M)
h2 = Segment(H1, D1)
i2 = Line(L, q1)
K1 = Intersect(a1, f1)
L1 = Intersect(i2, a1)
M1 = Intersect(i2, p)
k2 = Line(M1, n)
N1 = Intersect(s, k2)
l2 = Line(N1, i2)
O1 = Intersect(l, g)
P1 = Intersect(l, g)
Q1 = Intersect(l2, l)
poly1, q1_1, n1_1, m1_1, l1_1 = Polygon(Q1, N1, M1, L1)
poly3, a_1, b_1, c_1, d_1 = Polygon(Q1, V, S, L1)
poly9, l1_3, m1_2, w_1, s_2 = Polygon(L1, M1, W, S)
R1 = Translate(O, z)
S1: (x(R1), y(R1) - 2.4 - o / 3.0)
m2 = Line(S1, i2)
U1 = Intersect(m2, b2)
V1 = Intersect(c2, m2)
n2 = Line(V1, n')
W1 = Intersect(d2, n2)
p2 = Line(W1, m2)
Z1 = Intersect(p2, a2)
poly10, z1, w1, v1, u1 = Polygon(Z1, W1, V1, U1)
poly11, z1_1, u1_1, f1_2, e1_2 = Polygon(Z1, U1, F1, E1)
poly12, u1_2, v1_1, m_1, f1_3 = Polygon(U1, V1, M, F1)
poly13, w1_1, d1_2, m_2, v1_2 = Polygon(W1, D1, M, V1)
poly14, e1_3, d1_3, m_3, f1_4 = Polygon(E1, D1, M, F1)
poly15, e1'_1, d1'_1, n'_1, f1'_1 = Polygon(E1', D1', N', F1')
poly16, e1'_2, f1'_2, f1_5, e1_4 = Polygon(E1', F1', F1, E1)
poly17, d1'_2, d1_4, m_4, n'_2 = Polygon(D1', D1, M, N')
q2 = Segment(E, K)
r2 = Segment(H1, I1)
A2 = Midpoint(f1'_2)
B2 = Midpoint(F1', A2)
C2 = Midpoint(F1, A2)
D2 = Midpoint(C2, A2)
E2 = Midpoint(C2, D2)
F2 = Midpoint(E2, D2)
G2 = Midpoint(F2, D2)
H2 = Mirror(F1, G2)
t2 = Line(G2, v1)
s2 = Line(H2, u1_2)
I2 = Intersect(s2, m_4)
J2 = Intersect(t2, m_4)
a3 = Line(J2, v1_2)
b3 = Line(G2, u1)
c3 = Line(H2, b3)
d3 = Line(I2, w1)
K2 = Intersect(a2, e1_4)
L2 = Intersect(c3, e1_4)
N2 = Intersect(b3, e1_4)
O2 = Intersect(a3, d1'_2)
P2 = Intersect(d2, d1'_2)
Q2 = Intersect(d3, d1'_2)
e3 = Segment(H2, I2)
f3 = Segment(G2, J2)
g3 = Segment(Q2, I2)
i3 = Segment(L2, Q2)
j3 = Segment(L2, H2)
k3 = Segment(N2, G2)
l3 = Segment(N2, O2)
m3 = Segment(O2, J2)
R2 = Midpoint(q2)
p3 = Circle(Z1, 0.5)
q3 = Circle(E1, 0.5)
n3 = Line(Z1, xAxis)
r3 = Line(E1, xAxis)
S2, U2 = Intersect(p3, n3)
V2, W2 = Intersect(q3, r3)
Z2 = Midpoint(S2, V2)
u2 = Vector(Z2, S2)
v2 = Vector(Z2, V2)

Tool: face cachée 3 points (command facecachée3points)
Input: F, G, H
Output: J

g = Ray(F, G)
F' = Rotate(F, 90.0*°, F)
G' = Rotate(G, 90.0*°, F)
h = Ray(F', G')
i = OrthogonalLine(H, h)
I = Intersect(h, i)
j = OrthogonalLine(I, g)
J = Intersect(g, j)

Tool: fache quadrlatère cachée (command fachequadrlatèrecachée)
Input: D1, E1, F1, G1
Output: poly3, e1, i1, g1, h1

H1 = facecachée3points(D1, G1, F1)
I1 = facecachée3points(F1, E1, D1)
poly3, h1, g1, i1, e1 = Polygon(H1, G1, I1, E1)