[T6][68] Gelände: Bruchkanten, Glättung ohne Überschwingen, Höhenlinien, Baugrube mit Mengen

Kern terrain.rs (constrained Delaunay, flache Dreiecke, adaptive Hermite-Teilung, Höhenlinien, Prisma) und
excavation.rs (Baugrube/Schüttung mit Bermen, Netz neu, Abtrag/Auftrag/Hinterfüllung). Grundriss mit Höhenlinien
und Böschungsschraffur, Schnitt mit gewachsenem/gestaltetem Terrain und Erdreich, Ansicht mit Silhouette, 3D,
Baurecht mit Geländehöhen an der Fassade, Layout-Tabelle Erdarbeiten, Befehl excavation, Panel.
This commit is contained in:
Claude committed 2026-10-30 07:22:46 +00:00
1 parent 63b0823936
commit 14ebeca0d9
41 files changed
+2946 -79

No files matched your search

+4
View File
@@ -48,6 +48,8 @@ function contextObjectsBounds(objs: ContextObject[]): Vec2[] | null {
} else if (obj.type === "image") {
acc(obj.min.x, obj.min.y);
acc(obj.max.x, obj.max.y);
} else if (obj.type === "excavation") {
for (const p of obj.outline) acc(p.x, p.y);
} else {
// importedMesh / terrainMesh: flaches (x,y,z…)-Array, Stride 3.
const pos = obj.positions;
@@ -351,6 +353,7 @@ export function useProjectActions(
const removeContextObject = useStore((s) => s.removeContextObject);
const removeContextObjects = useStore((s) => s.removeContextObjects);
const generateTerrain = useStore((s) => s.generateTerrain);
const patchContextObject = useStore((s) => s.patchContextObject);
const moveGripOf = useStore((s) => s.moveGripOf);
const moveElementByOf = useStore((s) => s.moveElementByOf);
const moveEdgeOf = useStore((s) => s.moveEdgeOf);
@@ -465,6 +468,7 @@ export function useProjectActions(
removeContextObject,
removeContextObjects,
generateTerrain,
patchContextObject,
moveGripOf,
moveElementByOf,
moveEdgeOf,