[185] Navigation wie Archicad: Geschosswechsel behält Zoom, Cmd+5/6 Geschoss, Cmd+3/4 Auswahl im 3D

Grundriss: Geschosse teilen den Einpass-Schlüssel (planFitKey, PlanView fitKey), Wechsel behält
Ausschnitt und Massstab exakt. Cmd/Ctrl+5/6 Geschoss tiefer/höher im Grundriss- und 3D-Reiter.
Cmd/Ctrl+3 zeigt nur die Auswahl im 3D (Reiter „3D · Auswahl“, Kamera passt ein; ohne Auswahl alles),
Cmd/Ctrl+4 blendet die Auswahl im 3D aus. Zustand rein UI (state/view3dFilter.ts). Kern:
model3d::ElementSelection im ClassFilter (only/hideIds für Teile, Cache, Pick). Kürzel umbelegbar,
natives Menü Ansicht. PlanViewHandle.pxPerMeter liest die aktuelle viewBox.
This commit is contained in:
Claude committed 2026-11-11 19:39:51 +00:00
1 parent a6c302a91d
commit 5530089eea
29 files changed
+717 -42

No files matched your search

+4
View File
@@ -17,6 +17,7 @@ import { t } from "../i18n";
import { getState, type RootState } from "./appStore";
import { openMeshFileDialog } from "./meshImportStore";
import { openPointCloudFileDialog } from "./pointCloudStore";
import { hideSelectionIn3d, showSelectionIn3d, stepActiveFloor } from "./tabNavigation";
import type { useDialogState } from "./useDialogState";
import type { useProjectFileActions } from "./useProjectFileActions";
import type { useTopBarState } from "./useTopBarState";
@@ -156,6 +157,9 @@ export function useNativeMenu(opts: {
onViewType: setViewType,
onView3d: setView3d,
onReferenceLines: setReferenceLines,
onFloorStep: stepActiveFloor,
onShowSelection3d: showSelectionIn3d,
onHideSelection3d: hideSelectionIn3d,
onToggleResources: () => toggleResources(),
onOpenSettings: () => openSettings(),
onOpenPanel: (panelId) => setLayout((l) => revealPanel(l, panelId)),