[BCF] BCF 2.1/3.0: .bcfzip lesen/schreiben (Rust), Panel „BCF-Themen", GlobalId-Zuordnung, CLI bcf-info
Rust bcf.rs in fileio (zip + quick-xml, MIT): Themen, Kommentare, Viewpoints mit Kamera, Auswahl, Sichtbarkeit, Schnittebenen, Snapshot. TS-Fassade io/bcf.ts, Zuordnung io/bcfMatch.ts (gleiche GlobalId-Ableitung wie der IFC-Export), Dock-Panel und Menüpunkt, dossier-cli bcf-info. Kamera setzen steht offen (Viewport ohne Setter). Nur im Linux-Container geprüft. Claude-Session: https://claude.ai/code/session_01NTYBZBvLYCtugMJoKXaB67
This commit is contained in:
20 files changed
+2250
-1
No files matched your search
@@ -41,6 +41,8 @@ export interface AppMenuBarProps {
|
||||
resourcesOpen: boolean;
|
||||
onToggleResources: () => void;
|
||||
onOpenSettings: () => void;
|
||||
/** BCF-Themen-Panel öffnen (`revealPanel`); ohne diese Funktion entfällt der Menüpunkt. */
|
||||
onOpenBcf?: () => void;
|
||||
}
|
||||
|
||||
/** Menüleiste (Bearbeiten/Ansicht/Fenster) — sitzt in der TopBar neben der Wortmarke. */
|
||||
@@ -66,6 +68,7 @@ export function AppMenuBar({
|
||||
resourcesOpen,
|
||||
onToggleResources,
|
||||
onOpenSettings,
|
||||
onOpenBcf,
|
||||
}: AppMenuBarProps) {
|
||||
const fileItems: DropdownItem[] = [
|
||||
{ label: t("file.new"), onSelect: onNewProject },
|
||||
@@ -132,6 +135,7 @@ export function AppMenuBar({
|
||||
active: resourcesOpen,
|
||||
},
|
||||
{ divider: true },
|
||||
...(onOpenBcf ? [{ label: t("nav.bcf"), onSelect: onOpenBcf }] : []),
|
||||
{ label: t("menu.window.settings"), onSelect: onOpenSettings },
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user