fix(plot): respect non-printing layers
Filter nested block, attribute, table, hatch, and wipeout geometry during export while preserving canvas visibility.
This commit is contained in:
parent
eb5cbaeca0
commit
77e1f1b876
10 changed files with 140 additions and 27 deletions
|
|
@ -172,7 +172,7 @@ fn plot_scene_content(
|
|||
paper_wires.retain(|wire| wire.plot_visible);
|
||||
model_wires.retain(|wire| wire.plot_visible);
|
||||
let paper_hatches = scene.paper_plot_hatches().as_ref().clone();
|
||||
let paper_wipeouts = scene.paper_canvas_wipeouts().as_ref().clone();
|
||||
let paper_wipeouts = scene.paper_plot_wipeouts().as_ref().clone();
|
||||
if scene.current_layout == "Model" {
|
||||
let splits = crate::io::pdf_export::PlotGroupSplits {
|
||||
wires: paper_wires.len(),
|
||||
|
|
|
|||
|
|
@ -2457,6 +2457,8 @@ impl OpenCADStudio {
|
|||
}
|
||||
}
|
||||
|
||||
self.tabs[i].layers.refresh_sort();
|
||||
|
||||
self.tabs[i]
|
||||
.scene
|
||||
.invalidate_layer_dependencies(&targets);
|
||||
|
|
|
|||
Loading…
Reference in a new issue