[K3a] Treppen-Symbol im Grundriss in Rust (plan_stairs.rs); generatePlan/stairs.ts nur noch Uebersetzung
This commit is contained in:
1 parent
0360790a6d
commit
63f653d1c2
6 files changed
+262
-153
No files matched your search
@@ -25,6 +25,7 @@ mod openings3d;
|
||||
mod wall_mesh_cut;
|
||||
mod plan_buf;
|
||||
mod gpu_compile;
|
||||
mod plan_stairs;
|
||||
mod hatch;
|
||||
|
||||
use wasm_bindgen::prelude::wasm_bindgen;
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
//! Bindung des Treppen-Symbols im Grundriss (`crate::plan_stairs`). Ausgabe-Layout s. dort.
|
||||
|
||||
use wasm_bindgen::prelude::wasm_bindgen;
|
||||
|
||||
/// Treppen-Parameter (16 Zahlen), Gesamt-Steighöhe, Schnitthöhe über der UK, Strichstärke (mm),
|
||||
/// gefüllter Pfeil (0/1) → Primitivliste; Unsinn → leer.
|
||||
#[wasm_bindgen]
|
||||
pub fn plan_stair_flat(params: &[f64], total_rise: f64, cut_rise: f64, lw_mm: f64, filled_arrow: f64) -> Vec<f64> {
|
||||
crate::plan_stairs::plan_stair(params, total_rise, cut_rise, lw_mm, filled_arrow != 0.0)
|
||||
}
|
||||
Reference in new issue
Block a user