Documentation

This commit is contained in:
Alex 2026-10-01 12:26:02 +02:00
parent 2105bb96a0
commit ae80d39aff
4 changed files with 6 additions and 2 deletions

3
.gitignore vendored
View File

@ -9,3 +9,6 @@ __pycache__/
# SVG intermediaires du schema (regeneres par docs/schema_parametres.py) # SVG intermediaires du schema (regeneres par docs/schema_parametres.py)
docs/*.svg docs/*.svg
# Page de presentation : hors depot (publiee par site/deploy.ps1)
site/

Binary file not shown.

Before

Width:  |  Height:  |  Size: 316 KiB

After

Width:  |  Height:  |  Size: 316 KiB

View File

@ -330,11 +330,12 @@ def panel_edge():
.format(fmt(cx), fmt(cy), fmt(r), EDGE)) .format(fmt(cx), fmt(cy), fmt(r), EDGE))
out.append('<circle cx="{}" cy="{}" r="{}" fill="none" stroke="{}" stroke-width="1.4" ' out.append('<circle cx="{}" cy="{}" r="{}" fill="none" stroke="{}" stroke-width="1.4" '
'stroke-dasharray="5,4"/>'.format(fmt(cx), fmt(cy), fmt(r - margin), DIM)) 'stroke-dasharray="5,4"/>'.format(fmt(cx), fmt(cy), fmt(r - margin), DIM))
u = unit(35) # Cote et legende cote gauche : a droite, la legende sortirait du panneau
u = unit(145)
dimension((cx + (r - margin) * u[0], cy + (r - margin) * u[1]), dimension((cx + (r - margin) * u[0], cy + (r - margin) * u[1]),
(cx + r * u[0], cy + r * u[1]), 0, "", color=DIM) (cx + r * u[0], cy + r * u[1]), 0, "", color=DIM)
text(cx + (r + 12) * u[0], cy + (r + 12) * u[1] - 4, T["margin"], size=17, text(cx + (r + 12) * u[0], cy + (r + 12) * u[1] - 4, T["margin"], size=17,
color=DIM, weight="bold") color=DIM, anchor="end", weight="bold")
text(cx, cy + r + 30 * FS, T["whole"], size=17, anchor="middle", text(cx, cy + r + 30 * FS, T["whole"], size=17, anchor="middle",
weight="bold", halo=False) weight="bold", halo=False)
note(30, H - 28, T["note3"]) note(30, H - 28, T["note3"])

Binary file not shown.

Before

Width:  |  Height:  |  Size: 278 KiB

After

Width:  |  Height:  |  Size: 279 KiB