Accelerate current-view DXF export and keep desktop exports responsive (#1738)

Thanks @crono2250.
This commit is contained in:
cronos authored and GitHub committed 2026-10-16 10:26:27 -04:00
1 parent 4bacd0cae0
commit bba03803b7
20 files changed
+1319 -53

No files matched your search

+3
View File
@@ -332,6 +332,8 @@ pub struct Prefs {
pub save_mesh_format: String,
/// Hidden edges in the current-view DXF export (false: omit, true: dashed).
pub view_dxf_dashed: bool,
/// Model-space chord tolerance for current-view DXF curves, in millimetres.
pub view_dxf_tolerance: f64,
pub save_mesh_send: bool,
pub save_mesh_slicer: String,
pub custom_slicers: Vec<String>,
@@ -428,6 +430,7 @@ impl Default for Prefs {
update: crate::update::Memo::default(),
save_mesh_format: "stl".into(),
view_dxf_dashed: false,
view_dxf_tolerance: 0.01,
save_mesh_send: false,
save_mesh_slicer: String::new(),
custom_slicers: Vec::new(),