[181] [152] Importe als eigenständige Elemente: Klasse Pflicht, Herkunft nur Auskunft, keine Import-Liste
Gelände, Höhenlinien, Netzkörper (Nachbargebäude, IFC/OBJ/STEP/DXF-Netze), Luftbilder und Baugruben (`Project.context`) sind normale Elemente: - Modell: `categoryCode` Pflicht (String) an allen fünf Arten; `layer` (Gruppierung) und `hidden` (Einzel-Ausblenden) entfallen; neu `source` (Herkunft, ohne Wirkung). `ContextObject::category_code()`. - Kern: Plan, Schnitt, Ansicht, 3D, Pick fragen nur die Klasse ab (kein „ohne Kategorie immer sichtbar"). IFC-Gelände (IfcSite bzw. Name Gelände/Terrain) wird beim Import ein Gelände-Element (`import_context::ifc_meshes`); `mesh_view::is_terrain` entfällt, geschlossene Gelände-Netze schneidet der Schnitt als Oberkante. Importe setzen `source` statt `layer` (IFC-Klasse, DXF-Layer, STEP-Datei). - Objekt-Info: Klasse im Kopf änderbar und Farbe der Klasse auch für Gelände-/Umgebungs-Elemente, Herkunft als Auskunft; Einzel-Ausblenden-Schalter entfernt. - Panel „Gelände": Import-Liste entfernt (nur Aktionen); Elemente-Panel mit Knoten „Gelände & Umgebung". - swissBUILDINGS3D/OSM/swissALTI3D/SWISSIMAGE setzen Klasse und `source`; Dach-Trennung über den DXF-Layer beim Import. - Musterhaus komplex nachgeführt (ohne `layer`); Doku: ARCHITEKTUR Abschnitt 8 (Entwurf), Glossar, READMEs. Geprüft: cargo test im Kern (bis auf den Zeit-Wächter ansicht_gross_schnell unter Last), vitest (alle), tsc, Plan-/CLI-Goldens unverändert, e2e siteSelect/excavation/terrainHide angepasst und grün. Musterhaus komplex mit zwei Nachbarnetzen: Grundriss EG/UG 1:200, Schnitt A-A, Ansicht Süd per CLI vor/nach byte-gleich (angesehen). Nicht in der Tauri-App/auf dem Mac geprüft.
This commit is contained in:
70 files changed
+616
-710
No files matched your search
@@ -18,14 +18,14 @@ const fixture = (name: string): Uint8Array =>
|
||||
const asBuffer = (b: Uint8Array): ArrayBuffer => b.buffer.slice(b.byteOffset, b.byteOffset + b.byteLength) as ArrayBuffer;
|
||||
|
||||
function meshByLayer(res: ImportView, layer: string) {
|
||||
const m = res.meshes.find((x) => x.layer === layer);
|
||||
const m = res.meshes.find((x) => x.source === `DXF-Layer ${layer}`);
|
||||
expect(m, `Mesh auf Ebene ${layer}`).toBeDefined();
|
||||
return m!;
|
||||
}
|
||||
|
||||
/** Gemeinsame Erwartungen für alle Varianten der Kachel. */
|
||||
function checkTile(res: ImportView) {
|
||||
expect(res.meshes.map((m) => m.layer).sort()).toEqual(["Roof", "Wall"]);
|
||||
expect(res.meshes.map((m) => m.source).sort()).toEqual(["DXF-Layer Roof", "DXF-Layer Wall"]);
|
||||
const roof = meshByLayer(res, "Roof");
|
||||
// 3 Punkte, je um die INSERT-Einfügung verschoben (Skalierung 1, Drehung 0).
|
||||
expect(roof.positions).toEqual([
|
||||
|
||||
+5
-16
@@ -3,7 +3,8 @@
|
||||
// Beide Quellen liefern am Ende dasselbe: geschlossene/offene Polylinien in
|
||||
// LOKALEN Modell-Metern (bereits um die Origin verschoben, siehe lv95.ts),
|
||||
// kategorisiert nach Art (Gebäude/Strasse/Wasser/Grün/Parkplatz/Bahn/Wald). Die UI wandelt diese in
|
||||
// `ContourSet`-Kontext-Objekte pro Kategorie um und legt sie in `project.context`.
|
||||
// Linien-Elemente (`contourSet`) je Klasse um und legt sie in `project.context` ([181]: normale Elemente mit
|
||||
// Klasse; die Quelle steht nur als Auskunft in `source`).
|
||||
//
|
||||
// Bezeichner englisch, Kommentare deutsch (CONVENTIONS.md).
|
||||
|
||||
@@ -40,7 +41,7 @@ export interface GeoFeature {
|
||||
/** Default-Gebäudehöhe (m), wenn keine Höhe aus der Quelle vorliegt. */
|
||||
export const DEFAULT_BUILDING_HEIGHT = 9;
|
||||
|
||||
/** Menschlicher Layer-/Objektname je Kategorie (deutsch, für die Kontext-Liste). */
|
||||
/** Menschlicher Objektname je Kategorie (deutsch). */
|
||||
const CATEGORY_LABEL: Record<GeoCategory, string> = {
|
||||
building: "Gebäude",
|
||||
road: "Strassen",
|
||||
@@ -51,17 +52,6 @@ const CATEGORY_LABEL: Record<GeoCategory, string> = {
|
||||
forest: "Wald",
|
||||
};
|
||||
|
||||
/** Layer-Kennung (englischer Identifier) je Kategorie — für spätere Zuordnung. */
|
||||
const CATEGORY_LAYER: Record<GeoCategory, string> = {
|
||||
building: "context-buildings",
|
||||
road: "context-roads",
|
||||
water: "context-water",
|
||||
green: "context-green",
|
||||
parking: "context-parking",
|
||||
railway: "context-railway",
|
||||
forest: "context-forest",
|
||||
};
|
||||
|
||||
/** Erzeugt eine (kollisionsarme) ID für ein neues Kontext-Objekt. */
|
||||
function contextId(prefix: string): string {
|
||||
return `${prefix}-${Date.now().toString(36)}-${Math.random()
|
||||
@@ -88,7 +78,6 @@ export function featuresToContextObjects(
|
||||
z: 0,
|
||||
pts: f.pts.map((p) => ({ x: p.x, y: p.y })),
|
||||
closed: f.closed,
|
||||
layer: CATEGORY_LAYER[f.category],
|
||||
});
|
||||
byCat.set(f.category, list);
|
||||
}
|
||||
@@ -100,8 +89,8 @@ export function featuresToContextObjects(
|
||||
id: contextId(`geo-${cat}`),
|
||||
type: "contourSet",
|
||||
name: `${CATEGORY_LABEL[cat]} (${sourceLabel})`,
|
||||
layer: CATEGORY_LAYER[cat],
|
||||
categoryCode: GEO_CATEGORY_DEFS[cat].code,
|
||||
source: sourceLabel,
|
||||
contours,
|
||||
});
|
||||
}
|
||||
@@ -148,8 +137,8 @@ export function buildingsToMesh(
|
||||
id: contextId("geo-building3d"),
|
||||
type: "importedMesh",
|
||||
name: `Gebäude 3D (${sourceLabel})`,
|
||||
layer: CATEGORY_LAYER.building,
|
||||
categoryCode: GEO_CATEGORY_DEFS.building.code,
|
||||
source: sourceLabel,
|
||||
positions,
|
||||
indices,
|
||||
};
|
||||
|
||||
@@ -117,7 +117,7 @@ describe("IFC-Import: Rundreise mit dem eigenen Export", () => {
|
||||
expect(meshes.length).toBe(products.length);
|
||||
expect(new Set(meshes.map((m) => m.id)).size).toBe(meshes.length);
|
||||
expect(meshes.every((m) => m.type === "importedMesh" && m.positions.length >= 9 && m.indices.length >= 3)).toBe(true);
|
||||
expect(meshes.find((m) => m.layer === "IfcWall")).toBeTruthy();
|
||||
expect(meshes.find((m) => m.source === "IFC IfcWall")).toBeTruthy();
|
||||
const grouped = (await importIfcInto(sampleProject, bytesOf(ifc), { group: "class" })).meshes;
|
||||
expect(grouped.length).toBeLessThan(meshes.length);
|
||||
expect(grouped.reduce((s, m) => s + m.indices.length, 0)).toBe(meshes.reduce((s, m) => s + m.indices.length, 0));
|
||||
|
||||
+2
-1
@@ -1,6 +1,7 @@
|
||||
// IFC-Import ([B3] Kontext-Meshes, [B4] Bauteile): dünne Fassade über `import_ifc`/`import_ifc_elements` im
|
||||
// Format-Modul (`src-tauri/fileio`, `ifc_import.rs`, `ifc_semantic.rs`). Die Umwandlung ins Projekt — je
|
||||
// Bauteil ein `ImportedMesh` der Kontext-Schicht (GlobalId, Farbe, Klasse als `layer`; ab `MAX_SINGLE`
|
||||
// Bauteil ein Netzkörper (`ImportedMesh`: GlobalId, Farbe, IFC-Klasse als Herkunft `source`; Gelände wird ein
|
||||
// Gelände-Element, [181]; ab `MAX_SINGLE`
|
||||
// Bauteilen je Klasse + Geschoss zusammengelegt) bzw. echte Wände, Öffnungen, Decken, Stützen, Räume — macht
|
||||
// der Kern als EIN Undo-Schritt (`core/src/import_ifc.rs`, `ProjectDocument.importIfc`, [K4] S4).
|
||||
//
|
||||
|
||||
@@ -59,7 +59,7 @@ function project(): Project {
|
||||
p.walls = [wall];
|
||||
const cube: ImportedMesh = {
|
||||
id: "K1",
|
||||
type: "importedMesh",
|
||||
type: "importedMesh", categoryCode: "10",
|
||||
name: "Nachbar",
|
||||
color: "#ff8000",
|
||||
positions: [20, 30, 0, 24, 30, 0, 24, 36, 0, 20, 36, 0, 20, 30, 9, 24, 30, 9, 24, 36, 9, 20, 36, 9],
|
||||
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
splitMeshComponents,
|
||||
stripOverhangSoffits,
|
||||
concatMeshes,
|
||||
BUILDING_LAYER,
|
||||
BUILDINGS_SOURCE,
|
||||
} from "./swissBuildings3d";
|
||||
import type { ImportedMesh } from "../model/types";
|
||||
|
||||
@@ -19,7 +19,7 @@ describe("shiftMeshToOrigin", () => {
|
||||
it("verschiebt x/y um die Origin, lässt z unverändert", () => {
|
||||
const mesh: ImportedMesh = {
|
||||
id: "m1",
|
||||
type: "importedMesh",
|
||||
type: "importedMesh", categoryCode: "10",
|
||||
name: "roh",
|
||||
positions: [2600100, 1200050, 3.5, 2600110, 1200060, 7.2],
|
||||
indices: [0, 1, 0],
|
||||
@@ -33,7 +33,7 @@ describe("shiftMeshToOrigin", () => {
|
||||
it("mutiert das Eingabe-Mesh nicht", () => {
|
||||
const mesh: ImportedMesh = {
|
||||
id: "m1",
|
||||
type: "importedMesh",
|
||||
type: "importedMesh", categoryCode: "10",
|
||||
name: "roh",
|
||||
positions: [2600100, 1200050, 0],
|
||||
indices: [],
|
||||
@@ -50,7 +50,7 @@ describe("clipMeshToBbox", () => {
|
||||
// gesuchten Radius).
|
||||
const mesh: ImportedMesh = {
|
||||
id: "m1",
|
||||
type: "importedMesh",
|
||||
type: "importedMesh", categoryCode: "10",
|
||||
name: "roh",
|
||||
positions: [
|
||||
0, 0, 0, 1, 0, 0, 0, 1, 0, // Dreieck 0: innerhalb [-5,5]
|
||||
@@ -77,7 +77,7 @@ describe("clipMeshToBbox", () => {
|
||||
it("ein Dreieck, das die Box-Kante überragt, bleibt VOLLSTÄNDIG erhalten (kein Mittendurch-Schnitt)", () => {
|
||||
const straddling: ImportedMesh = {
|
||||
id: "m2",
|
||||
type: "importedMesh",
|
||||
type: "importedMesh", categoryCode: "10",
|
||||
name: "roh",
|
||||
positions: [4, 0, 0, 10, 0, 0, 4, 10, 0], // ein Eckpunkt (4,0) in [-5,5], zwei ausserhalb
|
||||
indices: [0, 1, 2],
|
||||
@@ -91,7 +91,7 @@ describe("splitMeshComponents", () => {
|
||||
// Zwei räumlich getrennte Dreiecke (kein gemeinsamer Vertex) = zwei Gebäude.
|
||||
const twoBuildings: ImportedMesh = {
|
||||
id: "m1",
|
||||
type: "importedMesh",
|
||||
type: "importedMesh", categoryCode: "10",
|
||||
name: "Kachel",
|
||||
positions: [
|
||||
0, 0, 0, 1, 0, 0, 0, 1, 0, // Gebäude A
|
||||
@@ -100,12 +100,12 @@ describe("splitMeshComponents", () => {
|
||||
indices: [0, 1, 2, 3, 4, 5],
|
||||
};
|
||||
|
||||
it("trennt zwei unverbundene Dreiecke in zwei Meshes mit eigener Id + Ebene", () => {
|
||||
it("trennt zwei unverbundene Dreiecke in zwei Meshes mit eigener Id + Herkunft", () => {
|
||||
const parts = splitMeshComponents(twoBuildings);
|
||||
expect(parts.length).toBe(2);
|
||||
expect(parts[0].id).not.toBe(parts[1].id);
|
||||
for (const p of parts) {
|
||||
expect(p.layer).toBe(BUILDING_LAYER);
|
||||
expect(p.source).toBe(BUILDINGS_SOURCE);
|
||||
expect(p.indices.length).toBe(3); // je ein Dreieck
|
||||
expect(p.positions.length).toBe(9); // kompaktiert: nur die 3 eigenen Vertices
|
||||
// Indizes sind neu gemappt (0..2), zeigen nicht mehr auf die alten Globalindizes.
|
||||
@@ -118,7 +118,7 @@ describe("splitMeshComponents", () => {
|
||||
// (getrennte Indizes, gleiche Koordinaten) — das Welding muss sie verbinden.
|
||||
const shared: ImportedMesh = {
|
||||
id: "m2",
|
||||
type: "importedMesh",
|
||||
type: "importedMesh", categoryCode: "10",
|
||||
name: "Haus",
|
||||
positions: [
|
||||
0, 0, 0, 1, 0, 0, 0, 1, 0, // Dreieck 1: (0,0),(1,0),(0,1)
|
||||
@@ -131,21 +131,21 @@ describe("splitMeshComponents", () => {
|
||||
expect(parts[0].indices.length).toBe(6);
|
||||
});
|
||||
|
||||
it("ein einzelnes zusammenhängendes Mesh bleibt ein Mesh (bekommt aber die Ebene)", () => {
|
||||
it("ein einzelnes zusammenhängendes Mesh bleibt ein Mesh (bekommt aber die Herkunft)", () => {
|
||||
const one: ImportedMesh = {
|
||||
id: "m3",
|
||||
type: "importedMesh",
|
||||
type: "importedMesh", categoryCode: "10",
|
||||
name: "Solo",
|
||||
positions: [0, 0, 0, 1, 0, 0, 0, 1, 0],
|
||||
indices: [0, 1, 2],
|
||||
};
|
||||
const parts = splitMeshComponents(one);
|
||||
expect(parts.length).toBe(1);
|
||||
expect(parts[0].layer).toBe(BUILDING_LAYER);
|
||||
expect(parts[0].source).toBe(BUILDINGS_SOURCE);
|
||||
});
|
||||
|
||||
it("leeres/entartetes Mesh -> leeres Ergebnis (kein Crash)", () => {
|
||||
const empty: ImportedMesh = { id: "e", type: "importedMesh", name: "x", positions: [], indices: [] };
|
||||
const empty: ImportedMesh = { id: "e", type: "importedMesh", categoryCode: "10", name: "x", positions: [], indices: [] };
|
||||
expect(splitMeshComponents(empty)).toEqual([]);
|
||||
});
|
||||
});
|
||||
@@ -159,7 +159,7 @@ describe("stripOverhangSoffits", () => {
|
||||
it("entfernt eine nach unten zeigende Überstand-Untersicht oberhalb der Grundmauer", () => {
|
||||
const mesh: ImportedMesh = {
|
||||
id: "m1",
|
||||
type: "importedMesh",
|
||||
type: "importedMesh", categoryCode: "10",
|
||||
name: "Haus",
|
||||
positions: [
|
||||
0, 0, 0, // 0: Sockel
|
||||
@@ -191,7 +191,7 @@ describe("stripOverhangSoffits", () => {
|
||||
it("lässt ein Mesh ohne Soffiten unverändert", () => {
|
||||
const mesh: ImportedMesh = {
|
||||
id: "m1",
|
||||
type: "importedMesh",
|
||||
type: "importedMesh", categoryCode: "10",
|
||||
name: "Dreieck",
|
||||
positions: [0, 0, 0, 1, 0, 0, 0, 1, 0],
|
||||
indices: [0, 1, 2],
|
||||
@@ -206,7 +206,7 @@ describe("stripOverhangSoffits", () => {
|
||||
// Boden-Ausnahme greift VOR der Normalen-Prüfung, bleibt also erhalten.
|
||||
const mesh: ImportedMesh = {
|
||||
id: "m1",
|
||||
type: "importedMesh",
|
||||
type: "importedMesh", categoryCode: "10",
|
||||
name: "Sockel",
|
||||
positions: [0, 0, 0, 0, 1, 0, 1, 0, 0], // a,c,b-Reihenfolge -> nz=-1
|
||||
indices: [0, 1, 2],
|
||||
@@ -216,7 +216,7 @@ describe("stripOverhangSoffits", () => {
|
||||
});
|
||||
|
||||
it("leeres/entartetes Mesh -> unverändert (kein Crash)", () => {
|
||||
const empty: ImportedMesh = { id: "e", type: "importedMesh", name: "x", positions: [], indices: [] };
|
||||
const empty: ImportedMesh = { id: "e", type: "importedMesh", categoryCode: "10", name: "x", positions: [], indices: [] };
|
||||
expect(stripOverhangSoffits(empty)).toBe(empty);
|
||||
});
|
||||
});
|
||||
@@ -226,7 +226,8 @@ describe("concatMeshes", () => {
|
||||
id,
|
||||
type: "importedMesh",
|
||||
name: id,
|
||||
layer: id,
|
||||
categoryCode: "10",
|
||||
source: id,
|
||||
positions: [ox, 0, 0, ox + 1, 0, 0, ox, 1, 0],
|
||||
indices: [0, 1, 2],
|
||||
});
|
||||
@@ -239,7 +240,7 @@ describe("concatMeshes", () => {
|
||||
});
|
||||
|
||||
it("leere Teile (kein Dreieck) werden übersprungen, kein Beitrag zu Positions/Indizes", () => {
|
||||
const emptyPart: ImportedMesh = { id: "e", type: "importedMesh", name: "e", positions: [1, 2, 3], indices: [] };
|
||||
const emptyPart: ImportedMesh = { id: "e", type: "importedMesh", categoryCode: "10", name: "e", positions: [1, 2, 3], indices: [] };
|
||||
const merged = concatMeshes([emptyPart, tri("a", 0)]);
|
||||
expect(merged?.positions).toEqual([0, 0, 0, 1, 0, 0, 0, 1, 0]);
|
||||
});
|
||||
@@ -250,12 +251,12 @@ describe("concatMeshes", () => {
|
||||
});
|
||||
|
||||
it("ausschliesslich leere Teile -> null", () => {
|
||||
const empty: ImportedMesh = { id: "e", type: "importedMesh", name: "e", positions: [], indices: [] };
|
||||
const empty: ImportedMesh = { id: "e", type: "importedMesh", categoryCode: "10", name: "e", positions: [], indices: [] };
|
||||
expect(concatMeshes([empty, empty])).toBeNull();
|
||||
});
|
||||
|
||||
it("übernimmt Metadaten (z. B. `layer`) vom ERSTEN nicht-leeren Teil", () => {
|
||||
it("übernimmt Metadaten (z. B. `source`) vom ERSTEN nicht-leeren Teil", () => {
|
||||
const merged = concatMeshes([tri("a", 0), tri("b", 10)]);
|
||||
expect(merged?.layer).toBe("a");
|
||||
expect(merged?.source).toBe("a");
|
||||
});
|
||||
});
|
||||
+14
-15
@@ -97,21 +97,27 @@ export function clipMeshToBbox(
|
||||
}
|
||||
|
||||
/** Sichtbarer Ebenen-/Gruppierungsname der importierten Gebäude (SitePanel). */
|
||||
export const BUILDING_LAYER = "Gebäude";
|
||||
/** [181] Herkunft der importierten Gebäude (nur Auskunft in der Objekt-Info, ohne Wirkung). */
|
||||
export const BUILDINGS_SOURCE = "swissBUILDINGS3D";
|
||||
|
||||
/** DXF-Layer eines geparsten Netzes (aus `source` „DXF-Layer …", s. Kern `import_drawing::mesh_values`), sonst "". */
|
||||
export function dxfLayerOf(m: ImportedMesh): string {
|
||||
return m.source?.startsWith("DXF-Layer ") ? m.source.slice("DXF-Layer ".length) : "";
|
||||
}
|
||||
|
||||
/**
|
||||
* Zerlegt ein Mesh in seine räumlich ZUSAMMENHÄNGENDEN Komponenten (Union-Find
|
||||
* über verschweisste Vertices, `weldMm`) — je Komponente ein eigenes {@link ImportedMesh}.
|
||||
* So wird eine swissBUILDINGS3D-Kachel in EINZELNE, getrennt anwähl-/löschbare
|
||||
* Gebäude aufgeteilt. Jede Komponente bekommt eine eigene Id + fortlaufenden Namen
|
||||
* + `layer`. Die Zerlegung rechnet der Kern (`core/src/geo_mesh.rs`); rein (kein Netzwerk).
|
||||
* Gebäude aufgeteilt. Jede Komponente bekommt eine eigene Id + fortlaufenden Namen,
|
||||
* Klasse und Herkunft. Die Zerlegung rechnet der Kern (`core/src/geo_mesh.rs`); rein (kein Netzwerk).
|
||||
*/
|
||||
export function splitMeshComponents(mesh: ImportedMesh, weldMm = 1): ImportedMesh[] {
|
||||
const vcount = Math.floor(mesh.positions.length / 3);
|
||||
if (vcount < 3 || mesh.indices.length < 3) return mesh.indices.length >= 3 ? [mesh] : [];
|
||||
const defaults = {
|
||||
layer: mesh.layer ?? BUILDING_LAYER,
|
||||
categoryCode: mesh.categoryCode ?? GEO_CATEGORY_DEFS.building.code,
|
||||
categoryCode: mesh.categoryCode || GEO_CATEGORY_DEFS.building.code,
|
||||
source: mesh.source ?? BUILDINGS_SOURCE,
|
||||
};
|
||||
const r = core().geo_mesh_split(Float64Array.from(mesh.positions), Float64Array.from(mesh.indices), weldMm);
|
||||
if (r.length === 0) return [{ ...mesh, ...defaults }];
|
||||
@@ -276,7 +282,7 @@ export async function fetchBuildings3d(
|
||||
const roofRaw: ImportedMesh[] = [];
|
||||
const bodyRaw: ImportedMesh[] = [];
|
||||
for (const m of rawMeshes) {
|
||||
((m.layer ?? "").toLowerCase() === "roof" ? roofRaw : bodyRaw).push(m);
|
||||
(dxfLayerOf(m).toLowerCase() === "roof" ? roofRaw : bodyRaw).push(m);
|
||||
}
|
||||
for (const [group, isRoof] of [
|
||||
[bodyRaw, false],
|
||||
@@ -293,16 +299,9 @@ export async function fetchBuildings3d(
|
||||
for (const b of splitMeshComponents(clipped)) {
|
||||
meshes.push({
|
||||
...stripOverhangSoffits(b),
|
||||
// [181] Normale Elemente: Klasse „12 Gebäude" bzw. „31 Dächer", Herkunft nur als Auskunft.
|
||||
categoryCode: isRoof ? IMPORTED_ROOF_CATEGORY.code : GEO_CATEGORY_DEFS.building.code,
|
||||
// `.layer` (kosmetischer SitePanel-Gruppierungs-String, s.
|
||||
// SitePanel.tsx::layerOf/groupByLayer) explizit setzen — sonst
|
||||
// trägt er den rohen DXF-Layernamen aus dwgParser.ts ("Wall"/
|
||||
// "Floor"/"Roof") weiter, den `splitMeshComponents`s Fallback
|
||||
// `mesh.layer ?? BUILDING_LAYER` NICHT ersetzt (nur bei leerem
|
||||
// `.layer`, nicht bei einem bereits vorhandenen Wert). Ohne diesen
|
||||
// Fix zerfällt die SitePanel-Gruppierung eines v3-Imports in
|
||||
// „Wall"/„Floor"/„Roof" statt „Gebäude"/„Dächer".
|
||||
layer: isRoof ? IMPORTED_ROOF_CATEGORY.name : BUILDING_LAYER,
|
||||
source: BUILDINGS_SOURCE,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user