forked from 1b-agent/opencadstudio-upstream
TRIM / EXTEND: Standard mode and TRIMEXTENDMODE (#1733)
Both commands gain a mOde option [Quick/Standard]. Quick (the default) starts ready to pick, every object a cutting or boundary edge; Standard starts by selecting those edges, Enter with none taking every object. The choice is TRIMEXTENDMODE (1 Quick, 0 Standard), kept in the profile and settable with SETVAR. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7f411bc02d
commit
368dd0d7a5
5 files changed
+135
-4
No files matched your search
@@ -810,6 +810,7 @@ impl OpenCADStudio {
|
||||
field_display: crate::entities::field::display(),
|
||||
xref_fade: crate::scene::cache::block_cache::xref_fade_ctl(),
|
||||
file_dia: crate::sys::file_dia(),
|
||||
trim_extend_quick: crate::modules::draw::modify::trim::quick_mode(),
|
||||
attach_filter: crate::sys::attach_filter(),
|
||||
surface_associativity: crate::scene::model::sweep_model::surface_associativity(),
|
||||
ucs_ortho: crate::modules::view::view_cmd::ucs_ortho(),
|
||||
@@ -946,6 +947,7 @@ impl OpenCADStudio {
|
||||
crate::scene::cache::block_cache::set_xref_fade_ctl(s.xref_fade);
|
||||
self.ribbon.xref_fade = crate::scene::cache::block_cache::xref_fade_ctl();
|
||||
crate::sys::set_file_dia(s.file_dia);
|
||||
crate::modules::draw::modify::trim::set_quick_mode(s.trim_extend_quick);
|
||||
crate::sys::set_attach_filter(s.attach_filter);
|
||||
crate::scene::model::sweep_model::set_surface_associativity(s.surface_associativity);
|
||||
crate::modules::view::view_cmd::set_ucs_ortho(s.ucs_ortho);
|
||||
|
||||
Reference in new issue
Block a user