Raumstempel: Ausrichtung pro Zeile + Anker als Snappunkt

Jede Stempelzeile (Name, Name-2, Bodenflaeche, Nutzung) hat jetzt eine
eigene Ausrichtung links/mitte/rechts, im Stempel-Editor pro Zeile
waehlbar und in SVG- wie nativer Darstellung honoriert (text-anchor bzw.
align). Bodenflaeche/Nutzung fallen auf mitte zurueck (bisheriges Bild).

Der Stempel-Anker (stampAnchor bzw. Schwerpunkt) meldet sich zusaetzlich
als Endpunkt-Snapkandidat an — gefiltert nach Geschoss und sichtbarer
Kategorie; der ziehbare Griff war bereits verdrahtet.
This commit is contained in:
2026-07-03 21:29:13 +02:00
parent af0b044fca
commit f4e70902d0
9 changed files with 224 additions and 50 deletions
+1 -1
View File
@@ -483,7 +483,7 @@ export function planToRenderScene(plan: Plan, paperScaleN: number = STAMP_DEFAUL
});
}
for (const line of p.extraLines) {
flat.push({ content: line, sizeMm: baseMm * 0.8, color: defCol, align: "center" });
flat.push({ content: line.text, sizeMm: baseMm * 0.8, color: defCol, align: line.align });
}
if (flat.length > 0) {
const baseH = baseMm * mmToM; // Basisgröße in Modell-Metern, beim gewählten Massstab