[K3a] Oeffnungssymbole im Grundriss in Rust (opening_geom.rs, plan_openings.rs); windowSymbol Fassade; tote Ports in kernel2d entfernt

This commit is contained in:
karim committed 2026-10-28 00:58:28 +01:00
1 parent 8c112b2bc5
commit c134d32fcc
9 files changed
+964 -1034

No files matched your search

+1
View File
@@ -27,6 +27,7 @@ mod plan_buf;
mod gpu_compile;
mod plan_stairs;
mod plan_walls;
mod plan_openings;
mod hatch;
use wasm_bindgen::prelude::wasm_bindgen;
+15
View File
@@ -0,0 +1,15 @@
//! Bindungen von Öffnungs-Symbol und Fenster-Symbol (`crate::plan_openings`). Layout s. dort.
use wasm_bindgen::prelude::wasm_bindgen;
/// Tür-/Fenster-Symbol einer Öffnung im Grundriss; Unsinn → leer.
#[wasm_bindgen]
pub fn plan_opening_flat(buf: &[f64]) -> Vec<f64> {
crate::plan_openings::plan_opening(buf)
}
/// Fenster-Symbol (Rahmen, Glas, Flügel, Stulp) einer Öffnung; Unsinn/entartet → leer.
#[wasm_bindgen]
pub fn window_symbol_flat(buf: &[f64]) -> Vec<f64> {
crate::plan_openings::window_symbol_flat(buf)
}