Système de freinage de chariot

G = (0, 0)
F = (400, 0)
a = Line(G, F)
A = Point(a)
c = Circle(A, 151.327)
B = Point(c)
d = Circle(B, 160)
C = Point(d)
e = Circle(C, 123.895)
b = Segment(A, B)
i = Segment(B, C)
m = OrthogonalLine(A, a)
p = Circle(A, 65)
q = Circle(A, 365)
H, I = Intersect(q, a)
J, K = Intersect(p, a)
g = Circle(J, 230.326)
f = Circle(I, 230.326)
D, E = Intersect(e, g)
L, M = Intersect(e, f)
h = Segment(C, D)
j = Segment(C, M)
k = Segment(M, I)
l = Segment(D, J)
r = Circle(D, 132.322)
s = Circle(M, 132.322)
N, O = Intersect(r, g)
P, Q = Intersect(s, f)
n = Segment(D, N)
a_1 = Segment(M, Q)
b_1 = Segment(J, N)
d_1 = Segment(I, Q)
e_1 = Circle(J, 285)
T, U = Intersect(e_1, a)
f_1 = OrthogonalLine(T, a)
g_1 = Circle(T, 290)
V, W = Intersect(g_1, f_1)
t = Circle(V, 266.833)
c_1 = Circle(I, 285)
R, S = Intersect(c_1, a)
h_1 = OrthogonalLine(S, a)
i_1 = OrthogonalLine(S, a)
Z = Intersect(h_1, i_1)
A_1 = Intersect(h_1, i_1)
k_1 = Circle(S, 290)
B_1 = Intersect(k_1, h_1, 1)
p_1 = Circle(B_1, 266.833)
j_1 = Segment(T, S)
l_1 = Segment(T, V)
m_1 = Segment(S, B_1)
polígono1, d_2, j_2, n_1 = Polygon(J, N, D)
polígono2, q_1, i_2, m_2 = Polygon(I, M, Q)