[267] Ansichten aller Seiten: Befehl ansichten und Menü Ansicht legen Nord/Ost/Süd/West um das Gebäude an (Hauptrichtung aus minimalem Hüllrechteck, vorhandene Seiten ausgelassen, ein Undo-Schritt)

This commit is contained in:
Claude committed 2026-11-16 12:49:52 +00:00
1 parent 4c3f7d4f6c
commit 96a801ccb2
21 files changed
+646 -9

No files matched your search

+4
View File
@@ -16,6 +16,7 @@ import { openAboutDialog } from "../state/aboutDialogHook";
import { openBugReport, openQuickGuide } from "../state/helpMenuHook";
import { openShortcutOverview } from "../state/shortcutOverviewHook";
import { openImageExportDialog } from "../state/imageExportDialogHook";
import { createElevationSet } from "../state/elevationSet";
export interface AppMenuBarProps {
/** Datei: Neu/Neu aus Vorlage/Öffnen/Speichern/Importieren. */
@@ -174,6 +175,9 @@ export const AppMenuBar = memo(function AppMenuBar({
active: referenceLines,
},
{ divider: true },
// [267] Ansichten Nord/Ost/Süd/West um das Gebäude anlegen (ein Undo-Schritt, Meldung statt Dialog).
{ label: t("menu.view.elevations"), onSelect: createElevationSet },
{ divider: true },
// [211] Rendering mit Blender/Cycles (Dialog in App montiert, Öffner über den Modul-Hook).
{ label: t("menu.view.image3d"), onSelect: openImageExportDialog },
{ label: t("menu.view.rendering"), onSelect: openRenderDialog, preview: true },
+11
View File
@@ -333,6 +333,17 @@ export const CommandIcon = memo(function CommandIcon({ name }: { name: string })
<polyline points="11.5,11.5 11.5,8 8,8" />
</svg>
);
case "ansichten":
// Ansichten aller Seiten: Gebäude (Rechteck) mit vier Blickpfeilen von aussen.
return (
<svg {...common}>
<rect x="5.5" y="5.5" width="5" height="5" />
<polyline points="6.5,1.5 8,3 9.5,1.5" />
<polyline points="6.5,14.5 8,13 9.5,14.5" />
<polyline points="1.5,6.5 3,8 1.5,9.5" />
<polyline points="14.5,6.5 13,8 14.5,9.5" />
</svg>
);
case "viewline":
// Ansichtslinie: Standpunkt (Kreis) mit Blickkegel.
return (