mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-20 06:01:16 +00:00
NEW:add some new changes for send print job
1. change tray id like to A1, B1, C1, D1 2. can change the name of the project that is sent 3. add ams mapping instructions Change-Id: If301f4051f640157a53d6927a0ddf2facf4961b4
This commit is contained in:
1 parent
06ac3f73a6
commit
46dc96fddf
15 files changed
+567
-21
No files matched your search
@@ -146,7 +146,8 @@ void PrintJob::process()
|
||||
|
||||
BBL::PrintParams params;
|
||||
params.dev_id = m_dev_id;
|
||||
params.project_name = project_name;
|
||||
//params.project_name = project_name;
|
||||
params.project_name = m_project_name + ".gcode.3mf";
|
||||
params.preset_name = wxGetApp().preset_bundle->prints.get_selected_preset_name();
|
||||
params.filename = job_data._3mf_path.string();
|
||||
params.config_filename = job_data._3mf_config_path.string();
|
||||
@@ -339,4 +340,9 @@ void PrintJob::finalize() {
|
||||
Job::finalize();
|
||||
}
|
||||
|
||||
void PrintJob::set_project_name(std::string name)
|
||||
{
|
||||
m_project_name = name;
|
||||
}
|
||||
|
||||
}} // namespace Slic3r::GUI
|
||||
Reference in new issue
Block a user