forked from 1b-agent/opencadstudio-upstream
SWEEP: Expression option, reference prompts and localized messages
- Scale and Twist take an Expression evaluated with the drawing's parameters; invalid input prints the reference message and asks again. - The scale and twist prompts use the reference wording and defaults. - The SWEEP prompts and refusal messages are in the locale catalog with translations in every locale. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1a18fdd0cf
commit
56f3f68de9
27 files changed
+346
-64
No files matched your search
@@ -817,6 +817,7 @@ impl OpenCADStudio {
|
||||
let color = self.tabs[i].scene.layer_color(&self.tabs[i].active_layer);
|
||||
let isolines = crate::entities::solid3d::clamp_header_isolines(self.tabs[i].scene.document.header.isolines);
|
||||
let mut cmd = SweepCommand::new(color, isolines);
|
||||
cmd.set_parameters(self.tabs[i].scene.named_parameters().clone());
|
||||
let selected = self.tabs[i].scene.selected_handles_in_order()
|
||||
.into_iter()
|
||||
.filter_map(|handle| self.tabs[i].scene.document.get_entity(handle)
|
||||
|
||||
Reference in new issue
Block a user