plot styles: the CTB/STB model and codec come from the codec crate

Cargo: codec d36331d, kernel 60f086b, graph 74aac56.

The table model and its file codec now live in `codec::plot_style`
(opencadcodec#53) and are re-exported here. What stays is where tables
come from: the plot styles folder, the session registry, the shipped
tables, and saving to disk, as the `PlotStyleTableExt` trait.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Hakan SevenandClaude Opus 5.5 committed 2026-10-15 10:58:26 +03:00
1 parent 1070361c0a
commit 74df9ff84a
15 files changed
+55 -981

No files matched your search

+2
View File
@@ -51,6 +51,8 @@ pub mod windows_media;
pub mod xref;
pub mod xref_model;
#[cfg(not(target_arch = "wasm32"))]
use crate::io::plot_style::PlotStyleTableExt as _;
use crate::scene::DerivedCaches;
use codec::entities::EntityType;
// The path-based readers are native-only; web parsing runs through the
+1
View File
@@ -2700,6 +2700,7 @@ pub(crate) fn pdf_stream_text(bytes: &[u8]) -> String {
#[cfg(all(test, not(target_arch = "wasm32")))]
mod tests {
use crate::io::plot_style::PlotStyleTableExt as _;
use super::*;
fn test_page(wires: Vec<PlotWire>) -> PdfPageInput {
+31 -968
View File
File diff suppressed because it is too large. Load diff