forked from 1b-agent/opencadstudio-upstream
Feat: Phase 5.3 — MLINE command (ML) — create multiline entity
Pick vertices, Enter to finish (≥2 pts). Text input while picking: C / CLOSE → close and commit (≥3 pts) S <value> → set scale factor (default 1.0) S alone → prompt for scale then continue Uses acadrust MLine::from_points / closed_from_points + scale_factor field. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
1 parent
e4a7970c3e
commit
05ccc80048
3 files changed
+131
No files matched your search
@@ -332,6 +332,13 @@ impl H7CAD {
|
||||
self.tabs[i].active_cmd = Some(Box::new(new_cmd));
|
||||
}
|
||||
|
||||
"MLINE"|"ML" => {
|
||||
use crate::modules::home::draw::mline::MlineCommand;
|
||||
let cmd_obj = MlineCommand::new();
|
||||
self.command_line.push_info(&cmd_obj.prompt());
|
||||
self.tabs[i].active_cmd = Some(Box::new(cmd_obj));
|
||||
}
|
||||
|
||||
cmd if cmd == "WIPEOUT" || cmd == "WO" || cmd.starts_with("WIPEOUT ") => {
|
||||
use crate::modules::home::draw::wipeout::WipeoutCommand;
|
||||
let args = cmd.split_once(' ').map(|(_, r)| r.trim().to_uppercase()).unwrap_or_default();
|
||||
|
||||
Reference in new issue
Block a user