[280] Träger/Unterzug als eigenes Bauteil: Project.beams, Plan (gestrichelt mit Achse), Schnitt, Ansicht, 3D, IFC IfcBeam, DXF, Befehl traeger, Objekt-Info, Griffe, Beispiel Musterhaus komplex

This commit is contained in:
Claude committed 2026-11-18 00:54:36 +00:00
1 parent 369df24be0
commit 5bc0370211
97 files changed
+1479 -81

No files matched your search

+2 -2
View File
@@ -29,7 +29,7 @@ export function isLocked(project: Project, kind: MemberKind, id: string): boolea
case "stairIds":
return !!(project.stairs ?? []).find((s) => s.id === id)?.locked;
case "columnIds":
return !!(project.columns ?? []).find((c) => c.id === id)?.locked;
return !!((project.columns ?? []).find((c) => c.id === id)?.locked || (project.beams ?? []).find((c) => c.id === id)?.locked);
case "roofIds":
return !!(project.roofs ?? []).find((r) => r.id === id)?.locked;
case "openingIds":
@@ -55,7 +55,7 @@ export function lockOps(project: Project, kind: MemberKind, id: string, locked:
case "stairIds":
return patchItem(project, "stairs", id, { locked });
case "columnIds":
return patchItem(project, "columns", id, { locked });
return [...patchItem(project, "columns", id, { locked }), ...patchItem(project, "beams", id, { locked })];
case "roofIds":
return patchItem(project, "roofs", id, { locked });
case "openingIds":