mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 10:02:12 +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:
@@ -3129,6 +3129,14 @@ void GUI_App::load_gcode(wxWindow* parent, wxString& input_file) const
|
||||
input_file = dialog.GetPath();
|
||||
}
|
||||
|
||||
wxString GUI_App::transition_tridid(int trid_id)
|
||||
{
|
||||
wxString maping_dict[8] = { "A", "B", "C", "D", "E", "F", "G" };
|
||||
int id_index = ceil(trid_id / 4);
|
||||
int id_suffix = (trid_id + 1) % 4 == 0 ? 4 : (trid_id + 1) % 4;
|
||||
return wxString::Format("%s%d", maping_dict[id_index], id_suffix);
|
||||
}
|
||||
|
||||
//BBS
|
||||
void GUI_App::request_login(bool show_user_info)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user