mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +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:
@@ -150,9 +150,7 @@ void SendJob::process()
|
||||
|
||||
BBL::PrintParams params;
|
||||
params.dev_id = m_dev_id;
|
||||
//params.project_name = wxGetApp().plater()->get_project_name().ToUTF8().data();
|
||||
params.project_name = wxGetApp().plater()->get_project_name().utf8_string();
|
||||
|
||||
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();
|
||||
@@ -327,4 +325,9 @@ void SendJob::finalize() {
|
||||
Job::finalize();
|
||||
}
|
||||
|
||||
void SendJob::set_project_name(std::string name)
|
||||
{
|
||||
m_project_name = name;
|
||||
}
|
||||
|
||||
}} // namespace Slic3r::GUI
|
||||
|
||||
Reference in New Issue
Block a user