Neu `core/src/text_layout.rs` (Rich-Text → Zeilen/Tspans, Wortumbruch, Raumstempel-Block, einfacher Umbruch, Text-Rahmen, fontNameOf) und `core/src/plan_text.rs` (Texte aus dem Text-JSON des Plan-Puffers). Render-Szene, DXF und Druck-SVG setzen die Texte selbst beim Massstab der Ausgabe; TS übergibt kein Layout mehr. renderHtml.ts/textFrame.ts sind dünne Fassaden. Gelöscht: planSceneTexts, stampLines/textInput, drawingTextNode, runToTspan und Umbruch in TS, dxfCadParts.ts, texts_from (Szene, DXF). Gleichheit alt/neu (temporäre Tests, entfernt): 288 Pläne Szene/DXF/Druck-SVG, 600 Layouts, 3000 Stempel-Blöcke/Umbrüche, 230 CLI-Dateien byte-gleich.
91 lines
1.9 KiB
Rust
91 lines
1.9 KiB
Rust
//! Rust-Kern von Dossier. Wächst etappenweise aus dem TS-Kern (`src/model`, `src/geometry`,
|
|
//! `src/plan`, …) heraus; jede umgestellte Funktion verschwindet dort (keine Doppelspur).
|
|
//! TS ruft den Kern synchron über `src/engine/coreWasm.ts` auf (einmal beim Start geladen).
|
|
//!
|
|
//! Datenübergabe: flache `f64`-Puffer (s. [`flat`]), kein JSON — schnell und ohne Serde-Kosten.
|
|
|
|
pub mod export_schedule;
|
|
pub mod flat;
|
|
pub mod flat_write;
|
|
pub mod polygon_bool;
|
|
pub mod roof;
|
|
pub mod roof_skeleton;
|
|
pub mod flat_read;
|
|
pub mod sun;
|
|
pub mod site_rules;
|
|
pub mod auto_dimensions;
|
|
pub mod kennzahlen;
|
|
pub mod flaechen;
|
|
pub mod room_program;
|
|
pub mod bulge;
|
|
pub mod stair;
|
|
pub mod joins;
|
|
pub mod wall_bands;
|
|
pub mod room_area;
|
|
pub mod room_boundary;
|
|
pub mod polygon_holes;
|
|
pub mod js_fmt;
|
|
pub mod jsmath;
|
|
pub mod stairs3d;
|
|
pub mod mesh3d;
|
|
pub mod ceilings3d;
|
|
pub mod columns3d;
|
|
pub mod drawing2d_3d;
|
|
pub mod openings3d;
|
|
pub mod wall_mesh_cut;
|
|
pub mod jsnum;
|
|
pub mod hatch;
|
|
pub mod hatch_flat;
|
|
pub mod plan;
|
|
pub mod plan_buf;
|
|
pub mod project_format;
|
|
pub mod queries;
|
|
pub mod gpu_compile;
|
|
pub mod plan_stairs;
|
|
pub mod plan_walls;
|
|
pub mod opening_geom;
|
|
pub mod plan_openings;
|
|
pub mod delaunay;
|
|
pub mod document;
|
|
pub mod ops;
|
|
pub mod mesh_section;
|
|
pub mod model;
|
|
pub mod model3d;
|
|
pub mod style;
|
|
pub mod plan_elevation;
|
|
pub mod plan_misc;
|
|
pub mod plan_section;
|
|
pub mod voids;
|
|
pub mod curves;
|
|
pub mod skeleton;
|
|
pub mod plan_parts;
|
|
pub mod plan_scene;
|
|
pub mod plan_pick;
|
|
pub mod snap;
|
|
pub mod plan_svg;
|
|
pub mod plan_dxf;
|
|
pub mod plan_print_svg;
|
|
pub mod export_flat;
|
|
pub mod geo_rebase;
|
|
pub mod ifc_quantities;
|
|
pub mod ifc_stairs;
|
|
pub mod ifc_data;
|
|
pub mod mesh_data;
|
|
pub mod groups;
|
|
pub mod layers;
|
|
pub mod levels;
|
|
pub mod pens;
|
|
pub mod folder_tree;
|
|
pub mod layout_model;
|
|
pub mod parametric_walls;
|
|
pub mod geo_translate;
|
|
pub mod selection_filter;
|
|
pub mod reorder;
|
|
pub mod ugrid;
|
|
pub mod wasm_alloc;
|
|
pub mod text_layout;
|
|
pub mod plan_text;
|
|
|
|
#[cfg(feature = "web")]
|
|
mod web;
|