Merge pull request #1809 from ramox81/codex/pdfimport-parity

PDFIMPORT: command-line file import, measured scale and curve recognition
This commit is contained in:
Hakan Seven committed 2026-10-15 16:47:08 +03:00
commit a66880be31
3 files changed
+584 -48

No files matched your search

+7 -2
View File
@@ -749,9 +749,14 @@ impl OpenCADStudio {
self.open_blocks_palette(Some(tab));
}
"PDFIMPORT" => {
"PDFIMPORT" | "-PDFIMPORT" => {
use crate::command::CadCommand;
let command = crate::modules::insert::pdf_import::PdfImportCommand::new();
use crate::modules::insert::pdf_import::PdfImportCommand;
let command = if cmd == "-PDFIMPORT" {
PdfImportCommand::command_line()
} else {
PdfImportCommand::new()
};
self.command_line.push_info(&command.prompt());
self.tabs[i].active_cmd = Some(Box::new(command));
}