- core/src/highlight3d.rs: selectionHighlightLines als Abfrage selectionHighlight (f32-Linien) - core/src/solid_specs.rs: Wandprofil/Wand-Spezifikation, Abzugskörper-Schnitte (model3dParts, 4. Argument); voids3d.ts tesselliert nur noch über truck, wallSpec.ts ist Fassade (wall_spec_flat) - TS-resolve*/HATCH_INK/HATCH_PAPER gelöscht (Kern plan/style.rs, Tests dorthin) - Gleichheit alt/neu geprüft (temporärer Test gelöscht), CLI byte-gleich
16 lines
596 B
Rust
16 lines
596 B
Rust
//! Bindungen der Abzugskörper-Geometrie (`crate::voids`). Layouts s. dort.
|
|
|
|
use wasm_bindgen::prelude::wasm_bindgen;
|
|
|
|
/// Polygon minus Schneider (mit nicht gestrichenen Kanten); `[-1]` = keine Überschneidung.
|
|
#[wasm_bindgen]
|
|
pub fn voids_subtract_rings_flat(pts: &[f64], cutters: &[f64], no_stroke: &[f64]) -> Vec<f64> {
|
|
crate::voids::subtract_rings_flat(pts, cutters, no_stroke)
|
|
}
|
|
|
|
/// Wand als truck-Spezifikation (`solid_specs::wall_spec_flat`): JSON oder leer (entartet/kaputt).
|
|
#[wasm_bindgen]
|
|
pub fn wall_spec_flat(f: &[f64]) -> String {
|
|
crate::solid_specs::wall_spec_flat(f)
|
|
}
|