Export the current 3D view as 2D DXF with optional hidden lines (#1449)
Adds File > Export > Current View as DXF: the visible bodies projected from the current camera onto 2D LINE/LWPOLYLINE entities, with hidden edges omitted or dashed. Co-authored-by: cronos <19868002+crono2250@users.noreply.github.com> Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
20 files changed
+798
-3
No files matched your search
@@ -328,6 +328,8 @@ pub struct Prefs {
|
||||
/// Save as mesh: the last format (`stl` or `3mf`), whether it was sent to a slicer, which one
|
||||
/// (an installed slicer's id or a program path), and the programs the user added (newest first).
|
||||
pub save_mesh_format: String,
|
||||
/// Hidden edges in the current-view DXF export (false: omit, true: dashed).
|
||||
pub view_dxf_dashed: bool,
|
||||
pub save_mesh_send: bool,
|
||||
pub save_mesh_slicer: String,
|
||||
pub custom_slicers: Vec<String>,
|
||||
@@ -420,6 +422,7 @@ impl Default for Prefs {
|
||||
check_updates: true,
|
||||
update: crate::update::Memo::default(),
|
||||
save_mesh_format: "stl".into(),
|
||||
view_dxf_dashed: false,
|
||||
save_mesh_send: false,
|
||||
save_mesh_slicer: String::new(),
|
||||
custom_slicers: Vec::new(),
|
||||
|
||||
Reference in new issue
Block a user