[K4] S2 (Zwischenstand): Oeffnungs-Einbauteile (3D) aus dem Dokument
This commit is contained in:
1 parent
9db2122aae
commit
6ebe85fdf6
4 files changed
+184
-2
No files matched your search
@@ -84,6 +84,7 @@ pub fn doc_query_args(h: u32, name: &str, args: &[f64]) -> String {
|
||||
"buildingFootprint" => serde_json::to_string(&site_rules::building_footprint(&p)),
|
||||
"modelTop" => serde_json::to_string(&site_rules::model_top(&p)),
|
||||
"walls" if args.len() == 1 => crate::model3d::emit_walls(&p, args[0] != 0.0).map_err(|_| ()).and_then(|w| serde_json::to_string(&w).map_err(|_| ())).map_err(|_| serde_json::Error::io(std::io::Error::other("walls"))),
|
||||
"openingMeshes" if args.len() == 1 => serde_json::to_string(&crate::model3d::emit_opening_meshes(&p, args[0])),
|
||||
"slabs" => serde_json::to_string(&crate::model3d::emit_slabs(&p)),
|
||||
"columnMeshes" => serde_json::to_string(&crate::model3d::emit_columns(&p)),
|
||||
"shadows" if args.len() == 2 => {
|
||||
|
||||
Reference in new issue
Block a user