CLAUDE.md (Regeln, Modulkarte, Groessentest), Golden-SVG-Referenzbilder, dossier-cli bench
This commit is contained in:
1 parent
3d864047cf
commit
db5e5709c7
7 files changed
+436
No files matched your search
@@ -0,0 +1,57 @@
|
||||
# Dossier — Arbeitsregeln für Agenten
|
||||
|
||||
CAAD-Desktop-App (Tauri/macOS, Electron/Linux). Ein semantisches Modell (`Project`) ist die einzige
|
||||
Wahrheit; Grundriss, Schnitt, Ansicht und 3D werden daraus abgeleitet. Anzeige nur über die zwei
|
||||
Rust-Engines `render2d` und `render3d` (WebGPU/Metal) — kein three.js, kein WebGL, kein Browser-Betrieb.
|
||||
|
||||
## Vor jedem Abschluss
|
||||
|
||||
```
|
||||
npm run check # tsc, vitest, cargo test aller 5 Crates (--fast: ohne Rust)
|
||||
npm run build:cli # nur nötig, wenn src/cli oder src/core geändert wurden
|
||||
```
|
||||
|
||||
WASM-Pakete (`src/engine/pkg*`) sind nicht im Repo: vor vitest mit `npm run build:truck|engine3d|engine|kernel2d|dwgimport`
|
||||
bauen. Test zuerst, dann Code. Ein Schritt endet mit grünen Tests und gelöschtem Altcode (keine Doppelspur).
|
||||
|
||||
## Architektur (harte Grenze, vom Test `src/core/boundary.test.ts` geprüft)
|
||||
|
||||
- **Kern**: `model/ geometry/ plan/ io/ export/ analysis/ materials/ text/ engine/ net/ core/` — importiert nie
|
||||
`ui panels views menus editors viewport native tools state commands App`, nie React/Zustand/Tauri.
|
||||
- **Hülle** (UI/Interaktion/Darstellung) holt Funktionen aus `plan/` und `geometry/` nur über die Fassade
|
||||
`src/core` (`index.ts` erzeugt von `scripts/core-facade.py`, Handgepflegtes in `core/extra.ts`).
|
||||
- **Das Projekt ändert sich nur über Ops** (`core/ops.ts`): `setProject(fn)` übersetzt die Änderung in
|
||||
`CoreOp`s, validiert und wendet sie an. Ops sind JSON; NaN/doppelte ids werden zurückgerollt.
|
||||
- `dossier-cli` (`src/cli/main.ts`) importiert nur `../core`; `npm run build:cli` → `dist-cli/`.
|
||||
- Verschieben von Modulen: `scripts/move-modules.py alt=neu …` (schreibt alle Importe um).
|
||||
|
||||
## Modulkarte
|
||||
|
||||
| Ort | Inhalt |
|
||||
|---|---|
|
||||
| `src/model` | Typen (`types.ts`), Wand/Decke/Dach-Logik, Verbindungen, Ansichts-Typen (`viewTypes.ts`) |
|
||||
| `src/geometry` | reine Geometrie: Dach-Skelett (`roofSkeleton.ts`), kernel2d, Treppen, Räume |
|
||||
| `src/plan` | Ableitung: `generatePlan`, `toSection`, `toElevation`, `toWalls3d`, `toRenderScene`, `voids.ts` |
|
||||
| `src/views/plan` | React-Plan-Ansicht, Renderer-Hooks (native Metal / WASM-WebGPU) |
|
||||
| `src/viewport` | 3D-Viewport (`Wasm3DViewport`), Raycast, Griffe |
|
||||
| `src/state` | Zustands-Store (`projectSlice.ts`), Autosave, Export-/Datei-Aktionen |
|
||||
| `src/commands` | Befehle (Zustandsautomaten) + `registry.ts`; `tools/` Zeichenwerkzeuge |
|
||||
| `src/io`, `src/export` | Import/Export (DXF, IFC, STEP, OBJ, Swisstopo …), Projektformat (`projectFormat.ts`) |
|
||||
| `src/native` | Tauri-Adapter (Dateien, Fenster, Menü, Farbprofile) |
|
||||
| `src/net` | einziges Tor ins Netz (`netFetch`, Offline-Modus, Host-Liste) |
|
||||
| `src-tauri/render2d, render3d` | die zwei Anzeige-Engines (Rust → WASM/Metal) |
|
||||
| `src-tauri/trucksolid` | B-Rep (truck 0.6): Körper, Booleans, STEP, Kennwerte, Kollision |
|
||||
| `src-tauri/kernel2d, dwgimport` | 2D-Geometrie-Referenz, DWG-Import |
|
||||
|
||||
## Konventionen
|
||||
|
||||
Bezeichner englisch, Kommentare und UI-Text deutsch, UI-Text nur über `t()` (de + en; Test
|
||||
`src/i18n/untranslated.test.ts`). Intern Meter. Kein `window.alert/confirm/prompt` (im Tauri-WKWebView
|
||||
stumm) → `notify()` oder Overlay-Dialog. Entfernte Abrufe nur über `netFetch`. Commits deutsch, ohne
|
||||
Co-Authored-By-Zeile. Interne Planung (gitignored): `docs/*.md`, `PENDENZEN.md`.
|
||||
|
||||
## Ergebnis ansehen
|
||||
|
||||
Plan/Schnitt/Ansicht headless: `node dist-cli/dossier-cli.mjs projekt.obp plan --out eg.svg` und
|
||||
Chromium-Screenshot. 3D braucht WebGPU (headless nicht verfügbar) — dort dem Nutzer die Prüfung nennen.
|
||||
Headless-Browser-Tests laufen gegen `dist-test` auf Port 5188 (`vite build --outDir dist-test`).
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0.1 0 6.8 7.58564" width="68mm" height="75.85641mm">
|
||||
<rect x="0.1" y="0" width="6.8" height="7.58564" fill="#ffffff"/>
|
||||
<polygon points="6.1725,7.08564 6.1725,4.48564 5.4,4.48564 5.4,7.08564" fill="#ffffff" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="5.4,7.08564 5.4,6.18564 4,6.18564 4,7.08564" fill="#ffffff" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="5.4,4.88564 5.4,4.48564 4,4.48564 4,4.88564" fill="#ffffff" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="4,7.08564 4,4.48564 0.8275,4.48564 0.8275,7.08564" fill="#ffffff" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="6.1725,4.48564 6.1725,1.88564 0.8275,1.88564 0.8275,4.48564" fill="#ffffff" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="0.6,1.88564 6.4,1.88564 6.4,0.5 0.6,0.5" fill="#b8735c" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="1,4.54564 6,4.54564 6,4.48564 1,4.48564" fill="#c9c2b3" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="1,4.58564 6,4.58564 6,4.54564 1,4.54564" fill="#ffffff" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="1,4.78564 6,4.78564 6,4.58564 1,4.58564" fill="#9aa0a6" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="5.8275,7.08564 6.1725,7.08564 6.1725,4.48564 5.8275,4.48564" fill="#ffffff" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="1.1725,7.08564 1.1725,4.48564 0.8275,4.48564 0.8275,7.08564" fill="#ffffff" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="3.325,7.08564 3.475,7.08564 3.475,4.48564 3.325,4.48564" fill="#8c5544" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="5.8275,4.48564 6.1725,4.48564 6.1725,1.88564 5.8275,1.88564" fill="#ffffff" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="1.1725,4.48564 1.1725,1.88564 0.8275,1.88564 0.8275,4.48564" fill="#ffffff" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="5.8275,1.88564 6.1725,1.88564 6.1725,2.28564 5.8275,2.28564" fill="#8f959e" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="0.8275,1.88564 1.1725,1.88564 1.1725,2.28564 1,2.28564 0.8275,2.11314" fill="#8f959e" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="0.8275,7.08564 1.8,7.08564 1.8,4.48564 0.8275,4.48564" fill="#ffffff" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="1.8,4.98564 2.7,4.98564 2.7,4.48564 1.8,4.48564" fill="#ffffff" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="2.7,7.08564 4,7.08564 4,4.48564 2.7,4.48564" fill="#ffffff" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="4,7.08564 5,7.08564 5,6.18564 4,6.18564" fill="#ffffff" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="4,4.98564 5,4.98564 5,4.48564 4,4.48564" fill="#ffffff" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="5,7.08564 6.1725,7.08564 6.1725,4.48564 5,4.48564" fill="#ffffff" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="0.8275,4.48564 6.1725,4.48564 6.1725,1.88564 0.8275,1.88564" fill="#ffffff" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="0.8275" y1="7.08564" x2="1.8" y2="7.08564" stroke="#2b3039" stroke-width="0.013"/>
|
||||
<line x1="2.7" y1="7.08564" x2="4" y2="7.08564" stroke="#2b3039" stroke-width="0.013"/>
|
||||
<line x1="4" y1="7.08564" x2="5" y2="7.08564" stroke="#2b3039" stroke-width="0.013"/>
|
||||
<line x1="5" y1="7.08564" x2="6.1725" y2="7.08564" stroke="#2b3039" stroke-width="0.013"/>
|
||||
<line x1="1.8" y1="4.98564" x2="2.7" y2="4.98564" stroke="#2b3039" stroke-width="0.013"/>
|
||||
<line x1="4" y1="4.98564" x2="5" y2="4.98564" stroke="#2b3039" stroke-width="0.013"/>
|
||||
<line x1="4" y1="6.18564" x2="5" y2="6.18564" stroke="#2b3039" stroke-width="0.013"/>
|
||||
<line x1="0.8275" y1="1.88564" x2="6.1725" y2="1.88564" stroke="#2b3039" stroke-width="0.013"/>
|
||||
<line x1="1.8" y1="7.08564" x2="1.8" y2="4.98564" stroke="#2b3039" stroke-width="0.013"/>
|
||||
<line x1="0.8275" y1="7.08564" x2="0.8275" y2="4.48564" stroke="#2b3039" stroke-width="0.013"/>
|
||||
<line x1="0.8275" y1="4.48564" x2="0.8275" y2="1.88564" stroke="#2b3039" stroke-width="0.013"/>
|
||||
<line x1="2.7" y1="7.08564" x2="2.7" y2="4.98564" stroke="#2b3039" stroke-width="0.013"/>
|
||||
<line x1="4" y1="6.18564" x2="4" y2="4.98564" stroke="#2b3039" stroke-width="0.013"/>
|
||||
<line x1="5" y1="6.18564" x2="5" y2="4.98564" stroke="#2b3039" stroke-width="0.013"/>
|
||||
<line x1="6.1725" y1="7.08564" x2="6.1725" y2="4.48564" stroke="#2b3039" stroke-width="0.013"/>
|
||||
<line x1="6.1725" y1="4.48564" x2="6.1725" y2="1.88564" stroke="#2b3039" stroke-width="0.013"/>
|
||||
<polygon points="0.8275,1.88564 6.1725,1.88564 6.1725,2.11314 0.8275,2.11314 0.8275,2.11314" fill="#8f959e" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="4,6.18564 5,6.18564 5,4.98564 4,4.98564" fill="#d9d9d4" stroke="#2b3039" stroke-width="0.018" stroke-linejoin="round"/>
|
||||
<polygon points="3.98,6.22064 5.02,6.22064 5.02,6.18564 3.98,6.18564" fill="#cccccb" stroke="#2b3039" stroke-width="0.013" stroke-linejoin="round"/>
|
||||
<polygon points="3.95,6.24564 5.05,6.24564 5.05,6.22064 3.95,6.22064" fill="#cccccb" stroke="#2b3039" stroke-width="0.013" stroke-linejoin="round"/>
|
||||
<polygon points="4.06,6.12564 4.94,6.12564 4.94,5.04564 4.06,5.04564" fill="none" stroke="#2b3039" stroke-width="0.013" stroke-linejoin="round"/>
|
||||
<polygon points="4.12,6.06564 4.88,6.06564 4.88,5.10564 4.12,5.10564" fill="#9fc2d9" stroke="#2b3039" stroke-width="0.013" stroke-linejoin="round"/>
|
||||
<polygon points="4,5.06564 5,5.06564 5,4.98564 4,4.98564" fill="#a7adb5" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="4,6.18564 4.08,6.18564 4.08,5.06564 4,5.06564" fill="#a7adb5" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="4.88" y1="6.06564" x2="4.12" y2="5.58564" stroke="#7d858f" stroke-width="0.01" stroke-dasharray="0.22 0.18"/>
|
||||
<line x1="4.88" y1="5.10564" x2="4.12" y2="5.58564" stroke="#7d858f" stroke-width="0.01" stroke-dasharray="0.22 0.18"/>
|
||||
<line x1="4.12" y1="6.06564" x2="4.5" y2="5.10564" stroke="#7d858f" stroke-width="0.01" stroke-dasharray="0.22 0.18"/>
|
||||
<line x1="4.88" y1="6.06564" x2="4.5" y2="5.10564" stroke="#7d858f" stroke-width="0.01" stroke-dasharray="0.22 0.18"/>
|
||||
<polygon points="1.8,7.08564 2.7,7.08564 2.7,4.98564 1.8,4.98564" fill="#d9d9d4" stroke="#2b3039" stroke-width="0.018" stroke-linejoin="round"/>
|
||||
<polygon points="1.836,7.08564 2.664,7.08564 2.664,5.04864 1.836,5.04864" fill="#ede6d9" stroke="#2b3039" stroke-width="0.013" stroke-linejoin="round"/>
|
||||
<polygon points="1.8,5.06564 2.7,5.06564 2.7,4.98564 1.8,4.98564" fill="#a7adb5" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="1.8,7.08564 1.88,7.08564 1.88,5.06564 1.8,5.06564" fill="#a7adb5" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="0.6" y1="1.88564" x2="6.4" y2="1.88564" stroke="#2b3039" stroke-width="0.013"/>
|
||||
<line x1="6.4" y1="1.88564" x2="6.4" y2="0.5" stroke="#2b3039" stroke-width="0.013"/>
|
||||
<line x1="6.4" y1="0.5" x2="0.6" y2="0.5" stroke="#2b3039" stroke-width="0.013"/>
|
||||
<line x1="0.6" y1="0.5" x2="0.6" y2="1.88564" stroke="#2b3039" stroke-width="0.013"/>
|
||||
<line x1="0.6" y1="7.08564" x2="6.4" y2="7.08564" stroke="#1f242c" stroke-width="0.05"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 7.4 KiB |
@@ -0,0 +1,139 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-0.6725 0 6.345 5.345" width="63.45mm" height="53.45mm">
|
||||
<rect x="-0.6725" y="0" width="6.345" height="5.345" fill="#ffffff"/>
|
||||
<polygon points="0,4.6725 5,4.6725 5,0.6725 0,0.6725" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="0.1725,4.5 4.8275,4.5 4.8275,0.845 0.1725,0.845" fill="#6b728000" stroke="#6b7280" stroke-width="0.002" stroke-linejoin="round"/>
|
||||
<text x="2.5" y="2.6725" font-size="0.3528" fill="#6b7280" font-family="sans-serif" text-anchor="middle">Wohnen</text>
|
||||
<text x="2.5" y="3.09586" font-size="0.3528" fill="#6b7280" font-family="sans-serif" text-anchor="middle">17.01 m²</text>
|
||||
<text x="2.5" y="3.51922" font-size="0.3528" fill="#6b7280" font-family="sans-serif" text-anchor="middle">HNF · Hauptnutzfläche</text>
|
||||
<polygon points="-0.1725,4.845 0.8,4.845 0.8,4.825 -0.1525,4.825" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="-0.1525" y1="4.825" x2="0.8" y2="4.825" stroke="#1a1a1a" stroke-width="0.002"/>
|
||||
<polygon points="-0.1525,4.825 0.8,4.825 0.8,4.665 0.0075,4.665" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="0.0075" y1="4.665" x2="0.8" y2="4.665" stroke="#1a1a1a" stroke-width="0.013"/>
|
||||
<polygon points="0.0075,4.665 0.8,4.665 0.8,4.515 0.1575,4.515" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="0.1575" y1="4.515" x2="0.8" y2="4.515" stroke="#1a1a1a" stroke-width="0.002"/>
|
||||
<polygon points="0.1575,4.515 0.8,4.515 0.8,4.5 0.1725,4.5" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="-0.1725,4.845 0.8,4.845 0.8,4.5 0.1725,4.5" fill="none" stroke="#1a1a1a" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="1.7,4.845 3,4.845 3,4.825 1.7,4.825" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="1.7" y1="4.825" x2="3" y2="4.825" stroke="#1a1a1a" stroke-width="0.002"/>
|
||||
<polygon points="1.7,4.825 3,4.825 3,4.665 1.7,4.665" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="1.7" y1="4.665" x2="3" y2="4.665" stroke="#1a1a1a" stroke-width="0.013"/>
|
||||
<polygon points="1.7,4.665 3,4.665 3,4.515 1.7,4.515" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="1.7" y1="4.515" x2="2.34" y2="4.515" stroke="#1a1a1a" stroke-width="0.002"/>
|
||||
<line x1="2.46" y1="4.515" x2="3" y2="4.515" stroke="#1a1a1a" stroke-width="0.002"/>
|
||||
<polygon points="1.7,4.515 2.34,4.515 2.34,4.5 1.7,4.5" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="2.46,4.515 3,4.515 3,4.5 2.46,4.5" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="1.7,4.845 3,4.845 3,4.5 1.7,4.5" fill="none" stroke="#1a1a1a" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<line x1="1.7" y1="4.5" x2="2.34" y2="4.5" stroke="#1a1a1a" stroke-width="0.035"/>
|
||||
<line x1="2.46" y1="4.5" x2="3" y2="4.5" stroke="#1a1a1a" stroke-width="0.035"/>
|
||||
<polygon points="4,4.845 5.1725,4.845 5.1525,4.825 4,4.825" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="4" y1="4.825" x2="5.1525" y2="4.825" stroke="#1a1a1a" stroke-width="0.002"/>
|
||||
<polygon points="4,4.825 5.1525,4.825 4.9925,4.665 4,4.665" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="4" y1="4.665" x2="4.9925" y2="4.665" stroke="#1a1a1a" stroke-width="0.013"/>
|
||||
<polygon points="4,4.665 4.9925,4.665 4.8425,4.515 4,4.515" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="4" y1="4.515" x2="4.8425" y2="4.515" stroke="#1a1a1a" stroke-width="0.002"/>
|
||||
<polygon points="4,4.515 4.8425,4.515 4.8275,4.5 4,4.5" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="4,4.845 5.1725,4.845 4.8275,4.5 4,4.5" fill="none" stroke="#1a1a1a" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="5.1725,4.845 5.1725,0.5 5.1525,0.52 5.1525,4.825" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="5.1525" y1="4.825" x2="5.1525" y2="0.52" stroke="#1a1a1a" stroke-width="0.002"/>
|
||||
<polygon points="5.1525,4.825 5.1525,0.52 4.9925,0.68 4.9925,4.665" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="4.9925" y1="4.665" x2="4.9925" y2="0.68" stroke="#1a1a1a" stroke-width="0.013"/>
|
||||
<polygon points="4.9925,4.665 4.9925,0.68 4.8425,0.83 4.8425,4.515" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="4.8425" y1="4.515" x2="4.8425" y2="0.83" stroke="#1a1a1a" stroke-width="0.002"/>
|
||||
<polygon points="4.8425,4.515 4.8425,0.83 4.8275,0.845 4.8275,4.5" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="5.1725,4.845 5.1725,0.5 4.8275,0.845 4.8275,4.5" fill="none" stroke="#1a1a1a" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="5.1725,0.5 4.4,0.5 4.4,0.52 5.1525,0.52" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="5.1525" y1="0.52" x2="4.4" y2="0.52" stroke="#1a1a1a" stroke-width="0.002"/>
|
||||
<polygon points="5.1525,0.52 4.4,0.52 4.4,0.68 4.9925,0.68" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="4.9925" y1="0.68" x2="4.4" y2="0.68" stroke="#1a1a1a" stroke-width="0.013"/>
|
||||
<polygon points="4.9925,0.68 4.4,0.68 4.4,0.83 4.8425,0.83" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="4.8425" y1="0.83" x2="4.4" y2="0.83" stroke="#1a1a1a" stroke-width="0.002"/>
|
||||
<polygon points="4.8425,0.83 4.4,0.83 4.4,0.845 4.8275,0.845" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="5.1725,0.5 4.4,0.5 4.4,0.845 4.8275,0.845" fill="none" stroke="#1a1a1a" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="3,0.5 -0.1725,0.5 -0.1525,0.52 3,0.52" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="3" y1="0.52" x2="-0.1525" y2="0.52" stroke="#1a1a1a" stroke-width="0.002"/>
|
||||
<polygon points="3,0.52 -0.1525,0.52 0.0075,0.68 3,0.68" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="3" y1="0.68" x2="0.0075" y2="0.68" stroke="#1a1a1a" stroke-width="0.013"/>
|
||||
<polygon points="3,0.68 0.0075,0.68 0.1575,0.83 3,0.83" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="3" y1="0.83" x2="2.46" y2="0.83" stroke="#1a1a1a" stroke-width="0.002"/>
|
||||
<line x1="2.34" y1="0.83" x2="0.1575" y2="0.83" stroke="#1a1a1a" stroke-width="0.002"/>
|
||||
<polygon points="3,0.83 2.46,0.83 2.46,0.845 3,0.845" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="2.34,0.83 0.1575,0.83 0.1725,0.845 2.34,0.845" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="3,0.5 -0.1725,0.5 0.1725,0.845 3,0.845" fill="none" stroke="#1a1a1a" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<line x1="3" y1="0.845" x2="2.46" y2="0.845" stroke="#1a1a1a" stroke-width="0.035"/>
|
||||
<line x1="2.34" y1="0.845" x2="0.1725" y2="0.845" stroke="#1a1a1a" stroke-width="0.035"/>
|
||||
<polygon points="-0.1725,0.5 -0.1725,4.845 -0.1525,4.825 -0.1525,0.52" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="-0.1525" y1="0.52" x2="-0.1525" y2="4.825" stroke="#1a1a1a" stroke-width="0.002"/>
|
||||
<polygon points="-0.1525,0.52 -0.1525,4.825 0.0075,4.665 0.0075,0.68" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="0.0075" y1="0.68" x2="0.0075" y2="4.665" stroke="#1a1a1a" stroke-width="0.013"/>
|
||||
<polygon points="0.0075,0.68 0.0075,4.665 0.1575,4.515 0.1575,0.83" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="0.1575" y1="0.83" x2="0.1575" y2="4.515" stroke="#1a1a1a" stroke-width="0.002"/>
|
||||
<polygon points="0.1575,0.83 0.1575,4.515 0.1725,4.5 0.1725,0.845" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="-0.1725,0.5 -0.1725,4.845 0.1725,4.5 0.1725,0.845" fill="none" stroke="#1a1a1a" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="2.475,4.5 2.475,0.845 2.46,0.845 2.46,4.5" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="2.46" y1="4.5" x2="2.46" y2="0.845" stroke="#1a1a1a" stroke-width="0.002"/>
|
||||
<polygon points="2.46,4.515 2.46,0.83 2.34,0.83 2.34,4.515" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="2.34" y1="4.5" x2="2.34" y2="0.845" stroke="#1a1a1a" stroke-width="0.002"/>
|
||||
<polygon points="2.34,4.5 2.34,0.845 2.325,0.845 2.325,4.5" fill="#f0f0f0" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<polygon points="2.475,4.5 2.475,0.845 2.325,0.845 2.325,4.5" fill="none" stroke="#1a1a1a" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="3.2,4.2725 3.2,4.05917 4.2,4.05917 4.2,4.2725" fill="none" stroke="#1a1a1a" stroke-width="0.0245" stroke-linejoin="round"/>
|
||||
<line x1="3.2" y1="4.05917" x2="4.2" y2="4.05917" stroke="#1a1a1a" stroke-width="0.035"/>
|
||||
<polygon points="3.2,4.05917 3.2,3.84583 4.2,3.84583 4.2,4.05917" fill="none" stroke="#1a1a1a" stroke-width="0.0245" stroke-linejoin="round"/>
|
||||
<line x1="3.2" y1="3.84583" x2="4.2" y2="3.84583" stroke="#1a1a1a" stroke-width="0.035"/>
|
||||
<polygon points="3.2,3.84583 3.2,3.6325 4.2,3.6325 4.2,3.84583" fill="none" stroke="#1a1a1a" stroke-width="0.0245" stroke-linejoin="round"/>
|
||||
<line x1="3.2" y1="3.6325" x2="4.2" y2="3.6325" stroke="#1a1a1a" stroke-width="0.035"/>
|
||||
<polygon points="3.2,3.6325 3.2,3.41917 4.2,3.41917 4.2,3.6325" fill="none" stroke="#1a1a1a" stroke-width="0.0245" stroke-linejoin="round"/>
|
||||
<line x1="3.2" y1="3.41917" x2="4.2" y2="3.41917" stroke="#1a1a1a" stroke-width="0.035"/>
|
||||
<polygon points="3.2,3.41917 3.2,3.20583 4.2,3.20583 4.2,3.41917" fill="none" stroke="#1a1a1a" stroke-width="0.0245" stroke-linejoin="round"/>
|
||||
<line x1="3.2" y1="3.20583" x2="4.2" y2="3.20583" stroke="#1a1a1a" stroke-width="0.035"/>
|
||||
<polygon points="3.2,3.20583 3.2,2.9925 4.2,2.9925 4.2,3.20583" fill="none" stroke="#1a1a1a" stroke-width="0.0245" stroke-linejoin="round"/>
|
||||
<line x1="3.2" y1="2.9925" x2="4.2" y2="2.9925" stroke="#1a1a1a" stroke-width="0.021" stroke-dasharray="0.012 0.008"/>
|
||||
<polygon points="3.2,2.9925 3.2,2.77917 4.2,2.77917 4.2,2.9925" fill="none" stroke="#1a1a1a" stroke-width="0.0245" stroke-linejoin="round"/>
|
||||
<line x1="3.2" y1="2.77917" x2="4.2" y2="2.77917" stroke="#1a1a1a" stroke-width="0.021" stroke-dasharray="0.012 0.008"/>
|
||||
<polygon points="3.2,2.77917 3.2,2.56583 4.2,2.56583 4.2,2.77917" fill="none" stroke="#1a1a1a" stroke-width="0.0245" stroke-linejoin="round"/>
|
||||
<line x1="3.2" y1="2.56583" x2="4.2" y2="2.56583" stroke="#1a1a1a" stroke-width="0.021" stroke-dasharray="0.012 0.008"/>
|
||||
<polygon points="3.2,2.56583 3.2,2.3525 4.2,2.3525 4.2,2.56583" fill="none" stroke="#1a1a1a" stroke-width="0.0245" stroke-linejoin="round"/>
|
||||
<line x1="3.2" y1="2.3525" x2="4.2" y2="2.3525" stroke="#1a1a1a" stroke-width="0.021" stroke-dasharray="0.012 0.008"/>
|
||||
<polygon points="3.2,2.3525 3.2,2.13917 4.2,2.13917 4.2,2.3525" fill="none" stroke="#1a1a1a" stroke-width="0.0245" stroke-linejoin="round"/>
|
||||
<line x1="3.2" y1="2.13917" x2="4.2" y2="2.13917" stroke="#1a1a1a" stroke-width="0.021" stroke-dasharray="0.012 0.008"/>
|
||||
<polygon points="3.2,2.13917 3.2,1.92583 4.2,1.92583 4.2,2.13917" fill="none" stroke="#1a1a1a" stroke-width="0.0245" stroke-linejoin="round"/>
|
||||
<line x1="3.2" y1="1.92583" x2="4.2" y2="1.92583" stroke="#1a1a1a" stroke-width="0.021" stroke-dasharray="0.012 0.008"/>
|
||||
<polygon points="3.2,1.92583 3.2,1.7125 4.2,1.7125 4.2,1.92583" fill="none" stroke="#1a1a1a" stroke-width="0.0245" stroke-linejoin="round"/>
|
||||
<line x1="3.2" y1="1.7125" x2="4.2" y2="1.7125" stroke="#1a1a1a" stroke-width="0.021" stroke-dasharray="0.012 0.008"/>
|
||||
<polygon points="3.2,1.7125 3.2,1.49917 4.2,1.49917 4.2,1.7125" fill="none" stroke="#1a1a1a" stroke-width="0.0245" stroke-linejoin="round"/>
|
||||
<line x1="3.2" y1="1.49917" x2="4.2" y2="1.49917" stroke="#1a1a1a" stroke-width="0.021" stroke-dasharray="0.012 0.008"/>
|
||||
<polygon points="3.2,1.49917 3.2,1.28583 4.2,1.28583 4.2,1.49917" fill="none" stroke="#1a1a1a" stroke-width="0.0245" stroke-linejoin="round"/>
|
||||
<line x1="3.2" y1="1.28583" x2="4.2" y2="1.28583" stroke="#1a1a1a" stroke-width="0.021" stroke-dasharray="0.012 0.008"/>
|
||||
<polygon points="3.2,1.28583 3.2,1.0725 4.2,1.0725 4.2,1.28583" fill="none" stroke="#1a1a1a" stroke-width="0.0245" stroke-linejoin="round"/>
|
||||
<line x1="3.2" y1="1.0725" x2="4.2" y2="1.0725" stroke="#1a1a1a" stroke-width="0.021" stroke-dasharray="0.012 0.008"/>
|
||||
<line x1="3.2" y1="3.03917" x2="4.2" y2="3.03917" stroke="#1a1a1a" stroke-width="0.035"/>
|
||||
<line x1="3.2" y1="3.15917" x2="4.2" y2="3.15917" stroke="#1a1a1a" stroke-width="0.035"/>
|
||||
<line x1="3.7" y1="4.16583" x2="3.7" y2="1.1045" stroke="#1a1a1a" stroke-width="0.035"/>
|
||||
<line x1="3.579" y1="1.3245" x2="3.7" y2="1.1045" stroke="#1a1a1a" stroke-width="0.035"/>
|
||||
<line x1="3.821" y1="1.3245" x2="3.7" y2="1.1045" stroke="#1a1a1a" stroke-width="0.035"/>
|
||||
<polygon points="3.2,4.2725 4.2,4.2725 4.2,1.0725 3.2,1.0725" fill="none" stroke="#1a1a1a" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<line x1="-1" y1="2.6725" x2="6" y2="2.6725" stroke="#1f242c" stroke-width="0.018" stroke-dasharray="0.6 0.15 0.04 0.15"/>
|
||||
<line x1="-1" y1="2.9725" x2="-1" y2="2.3725" stroke="#1f242c" stroke-width="0.05"/>
|
||||
<line x1="-1" y1="2.3725" x2="-1" y2="1.7725" stroke="#1f242c" stroke-width="0.05"/>
|
||||
<line x1="-1" y1="1.7725" x2="-0.85" y2="2.0125" stroke="#1f242c" stroke-width="0.05"/>
|
||||
<line x1="-1" y1="1.7725" x2="-1.15" y2="2.0125" stroke="#1f242c" stroke-width="0.05"/>
|
||||
<text x="-1.15" y="1.2825" font-size="0.5" fill="#1f242c" font-family="sans-serif" transform="rotate(0 -1.15 1.2825)">A</text>
|
||||
<line x1="6" y1="2.9725" x2="6" y2="2.3725" stroke="#1f242c" stroke-width="0.05"/>
|
||||
<line x1="6" y1="2.3725" x2="6" y2="1.7725" stroke="#1f242c" stroke-width="0.05"/>
|
||||
<line x1="6" y1="1.7725" x2="6.15" y2="2.0125" stroke="#1f242c" stroke-width="0.05"/>
|
||||
<line x1="6" y1="1.7725" x2="5.85" y2="2.0125" stroke="#1f242c" stroke-width="0.05"/>
|
||||
<text x="5.85" y="1.2825" font-size="0.5" fill="#1f242c" font-family="sans-serif" transform="rotate(0 5.85 1.2825)">A</text>
|
||||
<polygon points="-1,2.3725 6,2.3725 6,2.9725 -1,2.9725" fill="none" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
<line x1="-1" y1="6.6725" x2="6" y2="6.6725" stroke="#1f242c" stroke-width="0.018" stroke-dasharray="0.6 0.15 0.04 0.15"/>
|
||||
<line x1="-1" y1="6.9725" x2="-1" y2="6.3725" stroke="#1f242c" stroke-width="0.05"/>
|
||||
<line x1="-1" y1="6.3725" x2="-1" y2="5.7725" stroke="#1f242c" stroke-width="0.05"/>
|
||||
<line x1="-1" y1="5.7725" x2="-0.85" y2="6.0125" stroke="#1f242c" stroke-width="0.05"/>
|
||||
<line x1="-1" y1="5.7725" x2="-1.15" y2="6.0125" stroke="#1f242c" stroke-width="0.05"/>
|
||||
<text x="-1.15" y="5.2825" font-size="0.5" fill="#1f242c" font-family="sans-serif" transform="rotate(0 -1.15 5.2825)">Süd</text>
|
||||
<line x1="6" y1="6.9725" x2="6" y2="6.3725" stroke="#1f242c" stroke-width="0.05"/>
|
||||
<line x1="6" y1="6.3725" x2="6" y2="5.7725" stroke="#1f242c" stroke-width="0.05"/>
|
||||
<line x1="6" y1="5.7725" x2="6.15" y2="6.0125" stroke="#1f242c" stroke-width="0.05"/>
|
||||
<line x1="6" y1="5.7725" x2="5.85" y2="6.0125" stroke="#1f242c" stroke-width="0.05"/>
|
||||
<text x="5.85" y="5.2825" font-size="0.5" fill="#1f242c" font-family="sans-serif" transform="rotate(0 5.85 5.2825)">Süd</text>
|
||||
<polygon points="-1,6.3725 6,6.3725 6,6.9725 -1,6.9725" fill="none" stroke="none" stroke-width="0" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 15 KiB |
@@ -0,0 +1,72 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0.1 0 6.8 7.58564" width="68mm" height="75.85641mm">
|
||||
<rect x="0.1" y="0" width="6.8" height="7.58564" fill="#ffffff"/>
|
||||
<polygon points="5.8275,4.54564 5.8425,4.54564 5.8425,7.08564 5.8275,7.08564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="5.8425,4.54564 5.9925,4.54564 5.9925,7.08564 5.8425,7.08564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="5.8425,1.88564 5.9925,1.88564 5.9925,4.50564 5.8425,4.50564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="6,4.48564 6.1525,4.48564 6.1525,7.08564 6,7.08564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="5.9925,4.54564 6,4.54564 6,7.08564 5.9925,7.08564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="5.9925,4.49764 6,4.49764 6,4.50564 5.9925,4.50564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="6.1525,1.88564 6.1725,1.88564 6.1725,7.08564 6.1525,7.08564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="0.8275,1.88564 0.8475,1.88564 0.8475,7.08564 0.8275,7.08564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="0.8475,4.48564 1,4.48564 1,7.08564 0.8475,7.08564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="1,4.54564 1.0075,4.54564 1.0075,7.08564 1,7.08564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="1,4.49764 1.0075,4.49764 1.0075,4.50564 1,4.50564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="1.0075,4.54564 1.1575,4.54564 1.1575,7.08564 1.0075,7.08564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="1.0075,1.88564 1.1575,1.88564 1.1575,4.50564 1.0075,4.50564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="1.1575,4.54564 1.1725,4.54564 1.1725,7.08564 1.1575,7.08564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="3.325,4.54564 3.34,4.54564 3.34,7.08564 3.325,7.08564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="3.34,4.54564 3.46,4.54564 3.46,7.08564 3.34,7.08564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="3.34,4.48564 3.46,4.48564 3.46,4.50564 3.34,4.50564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="3.46,4.54564 3.475,4.54564 3.475,7.08564 3.46,7.08564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="5.8275,1.88564 5.8425,1.88564 5.8425,4.48564 5.8275,4.48564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="5.9925,1.88564 6.1525,1.88564 6.1525,4.48564 5.9925,4.48564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="0.8475,1.88564 1.0075,1.88564 1.0075,4.48564 0.8475,4.48564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="1.1575,1.88564 1.1725,1.88564 1.1725,4.48564 1.1575,4.48564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="1,4.48564 1.0075,4.48564 1.0075,4.49764 1,4.49764" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="1.1575,4.48564 3.34,4.48564 3.34,4.49764 1.1575,4.49764" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="3.46,4.48564 5.8425,4.48564 5.8425,4.49764 3.46,4.49764" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="5.9925,4.48564 6,4.48564 6,4.49764 5.9925,4.49764" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="1.1575,4.49764 3.34,4.49764 3.34,4.50564 1.1575,4.50564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="3.46,4.49764 5.8425,4.49764 5.8425,4.50564 3.46,4.50564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="1,4.50564 6,4.50564 6,4.54564 1,4.54564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="1,4.58564 6,4.58564 6,4.54564 1,4.54564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="1,4.78564 6,4.78564 6,4.58564 1,4.58564" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="0.6,0.73094 6.4,0.73094 6.4,0.5 0.6,0.5" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="0.6,0.73094 6.4,0.73094 6.4,0.5 0.6,0.5" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="0.6,0.5 6.4,0.5 6.4,0.73094 0.6,0.73094" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<polygon points="4.2,6.00809 5.2,6.00809 5.2,5.69897 4.2,5.69897" fill="#f0f0f0" stroke="#1f242c" stroke-width="0.035" stroke-linejoin="round"/>
|
||||
<line x1="5.4" y1="7.08564" x2="5.4" y2="4.78564" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="5.8275" y1="7.08564" x2="5.4" y2="7.08564" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="5.4" y1="7.08564" x2="5.4" y2="6.18564" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="4" y1="7.08564" x2="4" y2="6.18564" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="5.4" y1="7.08564" x2="4" y2="7.08564" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="5.4" y1="6.18564" x2="4" y2="6.18564" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="5.4" y1="4.88564" x2="5.4" y2="4.78564" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="4" y1="4.88564" x2="4" y2="4.78564" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="5.4" y1="4.88564" x2="5.2" y2="4.88564" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="4.2" y1="4.88564" x2="4" y2="4.88564" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="4" y1="7.08564" x2="4" y2="4.78564" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="4" y1="7.08564" x2="3.475" y2="7.08564" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="3.325" y1="7.08564" x2="1.1725" y2="7.08564" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="5.8275" y1="4.48564" x2="1.1725" y2="4.48564" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="5.8275" y1="1.88564" x2="1.1725" y2="1.88564" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="5.2" y1="5.69897" x2="5.2" y2="5.52564" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="4.2" y1="5.69897" x2="4.2" y2="5.52564" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="4.2" y1="5.52564" x2="5.2" y2="5.52564" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="5.2" y1="5.52564" x2="5.2" y2="5.35231" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="4.2" y1="5.52564" x2="4.2" y2="5.35231" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="4.2" y1="5.35231" x2="5.2" y2="5.35231" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="5.2" y1="5.35231" x2="5.2" y2="5.17897" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="4.2" y1="5.35231" x2="4.2" y2="5.17897" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="4.2" y1="5.17897" x2="5.2" y2="5.17897" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="5.2" y1="5.17897" x2="5.2" y2="5.00564" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="4.2" y1="5.17897" x2="4.2" y2="5.00564" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="4.2" y1="5.00564" x2="5.2" y2="5.00564" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="5.2" y1="5.00564" x2="5.2" y2="4.83231" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="4.2" y1="5.00564" x2="4.2" y2="4.83231" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="4.2" y1="4.83231" x2="5.2" y2="4.83231" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="5.2" y1="4.83231" x2="5.2" y2="4.78564" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="4.2" y1="4.83231" x2="4.2" y2="4.78564" stroke="#2b3039" stroke-width="0.018"/>
|
||||
<line x1="0.6" y1="7.08564" x2="6.4" y2="7.08564" stroke="#1f242c" stroke-width="0.05"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 8.2 KiB |
@@ -0,0 +1,48 @@
|
||||
// [17] Referenzbilder: Plan, Schnitt und Ansicht des Beispielprojekts als SVG-Text gegen
|
||||
// eingecheckte Goldens (src/cli/__golden__). Jede Abweichung der Ableitung fällt auf; ein
|
||||
// gewollter Unterschied wird bewusst übernommen mit
|
||||
// UPDATE_GOLDEN=1 npx vitest run src/cli/golden.test.ts
|
||||
// und der Diff der .svg-Dateien im Commit angesehen.
|
||||
import { describe, expect, it, beforeAll } from "vitest";
|
||||
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
||||
import { join } from "node:path";
|
||||
import { computeSection, generateElevationPlan, generatePlan, generateSectionPlan, planToSvgString, setWasmBytesProvider } from "../core";
|
||||
import { sampleProject as project } from "../model/sampleProject";
|
||||
|
||||
const DIR = join(process.cwd(), "src", "cli", "__golden__");
|
||||
const codes = new Set(project.layers.map((l) => l.code));
|
||||
|
||||
beforeAll(() => {
|
||||
setWasmBytesProvider(async () => readFileSync(join(process.cwd(), "src", "engine", "pkg3d", "render3d_bg.wasm")));
|
||||
});
|
||||
|
||||
function check(name: string, svg: string): void {
|
||||
const file = join(DIR, name);
|
||||
if (process.env.UPDATE_GOLDEN || !existsSync(file)) {
|
||||
mkdirSync(DIR, { recursive: true });
|
||||
writeFileSync(file, svg);
|
||||
return;
|
||||
}
|
||||
expect(svg).toBe(readFileSync(file, "utf8"));
|
||||
}
|
||||
|
||||
describe("Referenzbilder (Golden-SVG)", () => {
|
||||
it("Grundriss Erdgeschoss", () => {
|
||||
const floor = project.drawingLevels.find((l) => l.kind === "floor")!;
|
||||
check("grundriss-eg.svg", planToSvgString(generatePlan(project, floor.id, codes), { scaleDenominator: 100 }));
|
||||
});
|
||||
it("Schnitt", async () => {
|
||||
const sec = project.drawingLevels.find((l) => l.kind === "section");
|
||||
if (!sec) return;
|
||||
const out = await computeSection(project, sec);
|
||||
expect(out).toBeTruthy();
|
||||
check("schnitt.svg", planToSvgString(generateSectionPlan(out!, false, { visibleCodes: codes }), { scaleDenominator: 100 }));
|
||||
}, 30_000);
|
||||
it("Ansicht", () => {
|
||||
const el = project.drawingLevels.find((l) => l.kind === "elevation");
|
||||
if (!el) return;
|
||||
const plan = generateElevationPlan(project, el);
|
||||
expect(plan).toBeTruthy();
|
||||
check("ansicht.svg", planToSvgString(plan!, { scaleDenominator: 100 }));
|
||||
});
|
||||
});
|
||||
@@ -9,6 +9,7 @@
|
||||
// dossier-cli <projekt.obp> section <Name> [--out schnitt.svg] (braucht render3d-WASM)
|
||||
// dossier-cli <projekt.obp> elevation <Name> [--out ansicht.svg]
|
||||
// dossier-cli <projekt.obp> dxf|ifc|step|obj|stl|schedule [--level EG] [--out datei]
|
||||
// dossier-cli <projekt.obp> bench [--runs 10] Zeitprofil der Ableitungen (ms je Aufruf)
|
||||
//
|
||||
// WASM-Pakete (src/engine/pkg*) werden aus DOSSIER_WASM_DIR bzw. `<repo>/src/engine` gelesen.
|
||||
|
||||
@@ -24,8 +25,12 @@ import {
|
||||
exportScheduleCsv,
|
||||
exportStl,
|
||||
generateElevationPlan,
|
||||
diffToOps,
|
||||
applyOps,
|
||||
generatePlan,
|
||||
generateSectionPlan,
|
||||
planToRenderScene,
|
||||
projectToModel3d,
|
||||
parseProjectFile,
|
||||
planToSvgString,
|
||||
serializeProject,
|
||||
@@ -200,6 +205,34 @@ export async function run(argv: string[]): Promise<number> {
|
||||
out(args, r.text, `${project.name || "projekt"}.stp`);
|
||||
return 0;
|
||||
}
|
||||
case "bench": {
|
||||
const runs = Number(args.flags.get("runs") ?? 10);
|
||||
const floor = findLevel(project, ["floor"], undefined);
|
||||
const sec = findLevel(project, ["section"], undefined);
|
||||
const elev = findLevel(project, ["elevation"], undefined);
|
||||
const rows: Array<[string, number]> = [];
|
||||
const time = async (name: string, f: () => unknown | Promise<unknown>, n = runs) => {
|
||||
await f(); // Aufwärmen (füllt Caches wie roofGeometry)
|
||||
const t0 = performance.now();
|
||||
for (let i = 0; i < n; i++) await f();
|
||||
rows.push([name, (performance.now() - t0) / n]);
|
||||
};
|
||||
if (floor) {
|
||||
await time("generatePlan", () => generatePlan(project, floor.id, allCodes));
|
||||
const plan = generatePlan(project, floor.id, allCodes);
|
||||
await time("planToRenderScene", () => planToRenderScene(plan));
|
||||
await time("planToSvgString", () => planToSvgString(plan, { scaleDenominator: scale }));
|
||||
}
|
||||
await time("projectToModel3d", () => projectToModel3d(project));
|
||||
if (sec) await time("computeSection", () => computeSection(project, sec), Math.max(3, runs / 2));
|
||||
if (elev) await time("generateElevationPlan", () => generateElevationPlan(project, elev), Math.max(3, runs / 2));
|
||||
if (project.walls.length) {
|
||||
const moved = { ...project, walls: [{ ...project.walls[0], height: (project.walls[0].height ?? 2.6) + 0.1 }, ...project.walls.slice(1)] };
|
||||
await time("Op: diff+apply (1 Wand)", () => applyOps(project, diffToOps(project, moved)), runs * 20);
|
||||
}
|
||||
for (const [n, ms] of rows) process.stdout.write(`${n.padEnd(28)} ${ms.toFixed(2).padStart(9)} ms\n`);
|
||||
return 0;
|
||||
}
|
||||
default:
|
||||
process.stderr.write(`unbekannter Befehl: ${command}\n`);
|
||||
return 2;
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
// [53] Die CLAUDE.md bleibt kurz (BIMCraft: 3000 Wörter) und ihre Modulkarte zeigt auf Orte, die es gibt.
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { existsSync, readFileSync } from "node:fs";
|
||||
import { join } from "node:path";
|
||||
|
||||
const text = readFileSync(join(process.cwd(), "CLAUDE.md"), "utf8");
|
||||
|
||||
describe("CLAUDE.md", () => {
|
||||
it("höchstens 3000 Wörter", () => {
|
||||
expect(text.split(/\s+/).filter(Boolean).length).toBeLessThanOrEqual(3000);
|
||||
});
|
||||
it("genannte Pfade und npm-Skripte existieren", () => {
|
||||
const pkg = JSON.parse(readFileSync(join(process.cwd(), "package.json"), "utf8"));
|
||||
for (const m of text.matchAll(/`((?:src|scripts|src-tauri)\/[A-Za-z0-9_./-]+?)`/g)) {
|
||||
const p = m[1].replace(/\/$/, "");
|
||||
if (/[*…]/.test(p) || p.includes(" ")) continue;
|
||||
expect(existsSync(join(process.cwd(), p)), `Pfad fehlt: ${p}`).toBe(true);
|
||||
}
|
||||
for (const m of text.matchAll(/npm run ([a-z0-9:]+)/g)) {
|
||||
expect(pkg.scripts[m[1]], `npm-Skript fehlt: ${m[1]}`).toBeTruthy();
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user