Quadrillage et graduation
%%%%%%%%%%%%% Graduation %%%%%%%%%%%%%%
Séquence(
Segment(
Rotation(
Homothétie(A, i / n, B) + Vecteur(A, B) / Distance(A, B) * 0.1,
90°,
Homothétie(A, i / n, B)
),
Rotation(
Homothétie(A, i / n, B) + Vecteur(A, B) / Distance(A, B) * 0.1,
-90°,
Homothétie(A, i / n, B)
)
), i, 0, n, 1
)
%%%%%%%%%%%%% Numérotation %%%%%%%%%%%%%%
Séquence(
Texte(
d+n-i,
Rotation(
Homothétie(A, i / n, B) + Vecteur(A, B) / Distance(A, B) * 0.1,
-90°,
Homothétie(A, i / n, B)
)+(0.05,0),
true,true,0,-1
), i, 0, n, 1
)
%%%%%%%%%%%%%%% Quadrillage %%%%%%%%%%%%%%
Séquence(
Segment(
Homothétie(A, i / n, B),
Homothétie(D, i / n, C)
),
i, 1, n - 1, 1
)
Séquence(
Segment(
Homothétie(B, i / m, C),
Homothétie(A, i / m, D)
),
i, 1, m - 1, 1
)