mirror of
https://github.com/storytold/cadcraft.git
synced 2026-12-02 10:47:31 -06:00
acadrust 0.6.6 writes and reads a DWG linetype's element count as one byte, so a linetype of 256 elements came back from a DWG save with none (continuous) and one of 300 with 44. The DXF read cap of #3482 lets 256 through, so every capped DXF linetype hit the 256 -> 0 case. The DWG bridge text now writes at most 255 elements per linetype (the first ones, with group 40 totalling them); DXF output is unchanged. cadcraft_io::dwg_notes gives one note counting the linetypes cut, counted by the writer so an xref linetype the file leaves out is not counted. An engine hook installed by the apps echoes it and returns it in `warnings` on every DWG write: QSAVE/SAVEAS, document.bytes, EXPORT, WBLOCK, -WBLOCK, LAYOUT SAVEAS; cadcraft-cli convert prints it. Part of #1923 (F-05). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
282 B
Rust
12 lines
282 B
Rust
mod cli;
|
|
mod drafting_spacing;
|
|
mod help;
|
|
// DWG output needs craft-dwg's bridge.
|
|
#[cfg(not(any(target_arch = "wasm32", all(target_os = "freebsd", target_arch = "aarch64"))))]
|
|
mod ltype_dwg_note;
|
|
mod mcp_connect;
|
|
mod pdf_import;
|
|
mod skipped_records;
|
|
mod undrawn_entities;
|
|
mod usage;
|