mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06: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:
parent
06ac3f73a6
commit
46dc96fddf
15 changed files with 567 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue