[B4] IFC-Import Teil 2: L- und Wendeltreppen, gedrehte Dächer/Neigung je Kante, Bogenwände mit Öffnungen, Träger als Extrusionskörper, gedrehte Georeferenz
Treppe: Wendel (Zentrum, Winkelschritt, Breite, Drehsinn, Spindel) und L (Podest an der Ecke) aus den Trittflächen; U-/Mehrpodest-Treppen bleiben Mesh mit Grund stairTurn. Dach: kleinstes umschliessendes Rechteck auch gedreht, Sattel mit edgePitchDeg wo die Standardform nicht passt (Pult fallend, gedreht), Tonnendach-Streifen ganz Mesh. Bogenwand: Öffnungen nach Bogenlänge. IfcBeam als senkrechtes Prisma -> extrudedSolids. Georeferenz mit XAxisAbscissa/Ordinate: Bauteile und Meshes kartenparallel gedreht. Dialog: Träger-Zeile, Gründe. Testhilfe: Element-Arten um roof/stair/beam ergänzt (tsc).
This commit is contained in:
10 files changed
+1225
-181
No files matched your search
+5
-3
@@ -2462,7 +2462,7 @@ export const de = {
|
||||
"ifc.importDialog.asMesh": "Als Kontext-Meshes (Standard)",
|
||||
"ifc.importDialog.asMeshHint": "Jedes Bauteil als nicht bearbeitbares Mesh der Kontext-Schicht, wie in der Datei.",
|
||||
"ifc.importDialog.asElements": "Als Bauteile",
|
||||
"ifc.importDialog.asElementsHint": "Wände (auch Bogen- und Giebelwände), Decken, Dächer, gerade Treppen, Stützen, Türen/Fenster, Räume und Geschosse werden bearbeitbare Dossier-Bauteile; was nicht sicher abbildbar ist, bleibt Mesh.",
|
||||
"ifc.importDialog.asElementsHint": "Wände (auch Bogen- und Giebelwände), Decken, Dächer, gerade, L- und Wendeltreppen, Stützen, Träger, Türen/Fenster, Räume und Geschosse werden bearbeitbare Dossier-Bauteile; was nicht sicher abbildbar ist, bleibt Mesh.",
|
||||
"ifc.importDialog.import": "Importieren",
|
||||
"ifc.importReport.title": "IFC-Import: Bericht",
|
||||
"ifc.importReport.recognized": "Als Bauteile übernommen",
|
||||
@@ -2475,6 +2475,7 @@ export const de = {
|
||||
"ifc.importReport.rooms": "Räume",
|
||||
"ifc.importReport.roofs": "Dächer",
|
||||
"ifc.importReport.stairs": "Treppen",
|
||||
"ifc.importReport.beams": "Träger (als Extrusionskörper)",
|
||||
"ifc.importReport.floors": "Neue Geschosse",
|
||||
"ifc.importReport.types": "Neue Typen (Wand, Decke, Dach, Tür, Fenster)",
|
||||
"ifc.importReport.meshes": "Übrige Bauteile als Kontext-Mesh",
|
||||
@@ -2489,8 +2490,9 @@ export const de = {
|
||||
"ifc.reason.profile": "Querschnitt weder Rechteck noch Kreis",
|
||||
"ifc.reason.holes": "Raum mit Loch",
|
||||
"ifc.reason.part": "Teil eines anderen Bauteils",
|
||||
"ifc.reason.roofForm": "Dachform nicht Flach/Pult/Sattel/Walm (achsparallel)",
|
||||
"ifc.reason.stairForm": "keine gerade, gleichmässige Treppe",
|
||||
"ifc.reason.roofForm": "Dachform nicht abbildbar (kein Rechteck, ungleiche Neigung, Tonnendach …)",
|
||||
"ifc.reason.stairForm": "keine gleichmässige gerade, L- oder Wendeltreppe",
|
||||
"ifc.reason.stairTurn": "Podesttreppe mit Wende (U, mehrere Podeste): Dossier kennt nur gerade, L- und Wendeltreppen",
|
||||
"menu.native.importMesh": "3D-Modell importieren …",
|
||||
"mesh.import.title": "3D-Modell importieren",
|
||||
"mesh.import.failed": "3D-Modell-Import fehlgeschlagen",
|
||||
|
||||
+5
-3
@@ -2412,7 +2412,7 @@ export const en: Record<TranslationKey, string> = {
|
||||
"ifc.importDialog.asMesh": "As context meshes (default)",
|
||||
"ifc.importDialog.asMeshHint": "Every element as a non-editable mesh on the context layer, as in the file.",
|
||||
"ifc.importDialog.asElements": "As building elements",
|
||||
"ifc.importDialog.asElementsHint": "Walls (including curved and gable walls), slabs, roofs, straight stairs, columns, doors/windows, rooms and storeys become editable Dossier elements; anything not safely mappable stays a mesh.",
|
||||
"ifc.importDialog.asElementsHint": "Walls (including curved and gable walls), slabs, roofs, straight, L and spiral stairs, columns, beams, doors/windows, rooms and storeys become editable Dossier elements; anything not safely mappable stays a mesh.",
|
||||
"ifc.importDialog.import": "Import",
|
||||
"ifc.importReport.title": "IFC import: report",
|
||||
"ifc.importReport.recognized": "Imported as building elements",
|
||||
@@ -2425,6 +2425,7 @@ export const en: Record<TranslationKey, string> = {
|
||||
"ifc.importReport.rooms": "Rooms",
|
||||
"ifc.importReport.roofs": "Roofs",
|
||||
"ifc.importReport.stairs": "Stairs",
|
||||
"ifc.importReport.beams": "Beams (as extruded solids)",
|
||||
"ifc.importReport.floors": "New storeys",
|
||||
"ifc.importReport.types": "New types (wall, slab, roof, door, window)",
|
||||
"ifc.importReport.meshes": "Other elements as context mesh",
|
||||
@@ -2439,8 +2440,9 @@ export const en: Record<TranslationKey, string> = {
|
||||
"ifc.reason.profile": "cross-section neither rectangle nor circle",
|
||||
"ifc.reason.holes": "room with a hole",
|
||||
"ifc.reason.part": "part of another element",
|
||||
"ifc.reason.roofForm": "roof shape not flat/mono-pitch/gable/hip (axis-aligned)",
|
||||
"ifc.reason.stairForm": "not a straight, regular stair",
|
||||
"ifc.reason.roofForm": "roof shape not mappable (not a rectangle, unequal pitch, barrel roof …)",
|
||||
"ifc.reason.stairForm": "not a regular straight, L or spiral stair",
|
||||
"ifc.reason.stairTurn": "landing stair with a turn (U, several landings): Dossier only has straight, L and spiral stairs",
|
||||
"menu.native.importMesh": "Import 3D model …",
|
||||
"mesh.import.title": "Import 3D model",
|
||||
"mesh.import.failed": "3D model import failed",
|
||||
|
||||
+3
-1
@@ -119,9 +119,11 @@ export interface IfcElementsSummary {
|
||||
ceilings: number;
|
||||
columns: number;
|
||||
rooms: number;
|
||||
/** Dächer (Flach/Pult/Sattel/Walm) und gerade Treppen ([B4]). */
|
||||
/** Dächer (Flach/Pult/Sattel/Walm, auch mit Neigung je Kante) und Treppen (gerade, L, Wendel) ([B4]). */
|
||||
roofs: number;
|
||||
stairs: number;
|
||||
/** Träger (IfcBeam) als Extrusionskörper ([B4]). */
|
||||
beams?: number;
|
||||
/** Neu angelegte Geschosse. */
|
||||
floors: number;
|
||||
wallTypes: number;
|
||||
|
||||
@@ -87,7 +87,7 @@ export interface IfcProductView {
|
||||
|
||||
/** Roh erkanntes Bauteil (`meta.elements.elements` des Lesers). */
|
||||
export interface IfcRawElement {
|
||||
kind: "wall" | "opening" | "slab" | "column" | "space";
|
||||
kind: "wall" | "opening" | "slab" | "column" | "space" | "roof" | "stair" | "beam";
|
||||
globalId: string;
|
||||
ifcClass: string;
|
||||
name: string | null;
|
||||
|
||||
@@ -76,6 +76,7 @@ const RECOGNIZED: ReadonlyArray<[string, (s: IfcElementsSummary) => number]> = [
|
||||
["ifc.importReport.ceilings", (s) => s.ceilings],
|
||||
["ifc.importReport.roofs", (s) => s.roofs ?? 0],
|
||||
["ifc.importReport.stairs", (s) => s.stairs ?? 0],
|
||||
["ifc.importReport.beams", (s) => s.beams ?? 0],
|
||||
["ifc.importReport.columns", (s) => s.columns],
|
||||
["ifc.importReport.rooms", (s) => s.rooms],
|
||||
["ifc.importReport.floors", (s) => s.floors],
|
||||
|
||||
Reference in new issue
Block a user