[267] Ansichten aller Seiten: Befehl ansichten und Menü Ansicht legen Nord/Ost/Süd/West um das Gebäude an (Hauptrichtung aus minimalem Hüllrechteck, vorhandene Seiten ausgelassen, ein Undo-Schritt)

This commit is contained in:
Claude committed 2026-11-16 12:49:52 +00:00
1 parent 4c3f7d4f6c
commit 96a801ccb2
21 files changed
+646 -9

No files matched your search

+4
View File
@@ -925,6 +925,8 @@ pub fn ops(root: &Map<String, Value>, p: &Project, v: &Value, ctx: &Ctx, ids: &m
"roofWindow" => roof_window_ops(root, p, v, ctx, ids),
"dormer" => dormer_ops(root, p, v, ctx, ids),
"sectionline" => sectionline_ops(root, v, ids),
// [267] Ansichten aller Seiten
"elevations" => crate::elevation_set::ops(p, root, v, ids),
_ => return None,
})
}
@@ -965,6 +967,8 @@ pub fn query(root: &Map<String, Value>, p: &Project, v: &Value) -> Option<Value>
let c = excavation_check(p, &pts, s_of(v, "level"));
json!({ "valid": !pts.is_empty(), "bottom": js_num(c.bottom), "terrain": c.terrain, "over": c.over, "cut": c.cut, "datum": c.datum.map(js_num) })
}
// [267] Welche Seiten entstehen, welche gibt es schon.
"elevationsPlan" => crate::elevation_set::query(p, root),
_ => return None,
})
}