Dächer anwählbar + editierbar + löschbar
Platzierte Dächer sind jetzt vollwertige Auswahl-Elemente (analog Decke): - 2D-Auswahl per Klick: unsichtbares Traufe-Pick-Polygon (roofId) + pickRoof (Punkt-in-Polygon, niedrigste Priorität) in PlanView. - Auswahl-Kanal selectedRoofIds (selectionSlice), updateRoof (projectSlice), RoofInfo + roofSelection + deriveSelection-Dispatch (selectionInfo). - Attribut-Panel „Dach": Form (Sattel/Walm/Pult/Mansarde/Zelt/Flach), Firstrichtung X/Y, Neigung(en), Überstand, Dachdicke — live editierbar über host.onSetRoofPatch; dazu abgeleitete Firsthöhe + Grundfläche (read-only). - Löschen (Delete) + Abwählen bei Geschosswechsel/Marquee/anderer Auswahl. +2 Tests (Roof-Selection). tsc + vitest 642 + vite build grün.
This commit is contained in:
@@ -284,6 +284,25 @@ export const en: Record<TranslationKey, string> = {
|
||||
"objinfo.kind.room": "Room",
|
||||
"objinfo.kind.extrudedSolid": "Extrusion",
|
||||
"objinfo.kind.column": "Column",
|
||||
"objinfo.kind.roof": "Roof",
|
||||
// ── Roof attributes (object info panel) ─────────────────────────────────
|
||||
"objinfo.roof.section": "Roof",
|
||||
"objinfo.roof.shape": "Roof shape",
|
||||
"objinfo.roof.shape.flach": "Flat roof",
|
||||
"objinfo.roof.shape.pult": "Mono-pitch roof",
|
||||
"objinfo.roof.shape.sattel": "Gable roof",
|
||||
"objinfo.roof.shape.walm": "Hip roof",
|
||||
"objinfo.roof.shape.mansarde": "Mansard roof",
|
||||
"objinfo.roof.shape.zelt": "Pyramid roof",
|
||||
"objinfo.roof.ridgeAxis": "Ridge direction",
|
||||
"objinfo.roof.ridgeAxis.x": "along X",
|
||||
"objinfo.roof.ridgeAxis.y": "along Y",
|
||||
"objinfo.roof.pitch": "Pitch (°)",
|
||||
"objinfo.roof.pitchUpper": "Upper pitch (°)",
|
||||
"objinfo.roof.overhang": "Overhang (m)",
|
||||
"objinfo.roof.thickness": "Roof thickness (m)",
|
||||
"objinfo.roof.ridgeHeight": "Ridge height",
|
||||
"objinfo.roof.area": "Footprint area",
|
||||
// ── Column attributes (object info panel) ────────────────────────────────
|
||||
"objinfo.column.section": "Column",
|
||||
"objinfo.column.profile": "Profile",
|
||||
|
||||
Reference in New Issue
Block a user