#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/DeviceCore/DevConfigUtil.h>
Public Member Functions | |
| DevPrinterConfigUtil ()=default | |
| ~DevPrinterConfigUtil ()=default | |
Static Public Member Functions | |
| static void | InitFilePath (const std::string &res_file_path) |
| static std::map< std::string, std::string > | get_all_model_id_with_name () |
| static bool | is_printer_model_compatible (const std::string &source_model, MachineObject &machine) |
| static bool | is_optional_printer_model_id (const std::string &model_id) |
| static std::string | get_printer_type (const std::string &type_str) |
| static std::string | get_printer_display_name (const std::string &type_str) |
| static std::string | get_printer_series_str (std::string type_str) |
| static PrinterArch | get_printer_arch (std::string type_str) |
| static std::string | get_printer_thumbnail_img (const std::string &type_str) |
| static std::string | get_printer_connect_help_img (const std::string &type_str) |
| static std::string | get_printer_auto_pa_cali_image (const std::string &type_str) |
| static std::string | get_ftp_folder (std::string type_str) |
| static std::vector< std::string > | get_resolution_supported (std::string type_str) |
| static std::vector< std::string > | get_compatible_machine (std::string type_str) |
| static std::map< std::string, std::vector< std::string > > | get_all_subseries (std::string type_str="") |
| static std::string | get_printer_use_ams_type (std::string type_str) |
| static std::string | get_printer_ams_img (const std::string &type_str) |
| static std::string | get_printer_ext_img (const std::string &type_str, int pos) |
| static bool | support_ams_fila_change_abort (std::string type_str) |
| static std::string | get_filament_load_img (const std::string &type_str, int ext_id, bool has_nozzle_rack=false) |
| static std::string | get_fan_text (const std::string &type_str, const std::string &key) |
| static std::vector< std::string > | get_fan_text_params (const std::string &type_str, const std::string &key) |
| static std::string | get_fan_text (const std::string &type_str, int airduct_mode, int airduct_func, int submode) |
| static std::string | get_fan_mode_text (const std::string &type_str, int airduct_mode, const std::string &key) |
| static bool | get_printer_can_set_nozzle (std::string type_str) |
| static std::string | get_toolhead_display_name (const std::string &type_str, int ext_id, ToolHeadComponent component, ToolHeadNameCase name_case=ToolHeadNameCase::TitleCase, bool short_name=false) |
| static bool | support_print_check_firmware_for_tpu_left (std::string type_str) |
| static bool | support_user_first_setup_tpu_check (std::string type_str) |
| static std::string | support_user_first_setup_tpu_check_url (std::string type_str) |
| static bool | support_ams_ext_mix_print (std::string type_str) |
| static bool | support_print_time_estimate_warning (std::string type_str) |
| static std::vector< std::string > | get_unsupport_auto_cali_filaments (std::string type_str) |
| static bool | support_disable_cali_flow_type (std::string type_str) |
| static bool | support_wrapping_detection (const std::string &type_str) |
| static bool | support_safety_options (const std::string &type_str) |
| static bool | support_print_check_extension_fan_f000_mounted (const std::string &type_str) |
| static std::string | air_print_detection_position (const std::string &type_str) |
| static int | get_bed_temperature_limit (const std::string &type_str) |
| template<typename T> | |
| static T | get_value_from_config (const std::string &type_str, const std::string &item) |
| template<typename T> | |
| static T | get_value_from_config (const std::string &type_str, const std::string &item1, const std::string &item2) |
| static nlohmann::json | get_json_from_config (const std::string &type_str, const std::string &key1, const std::string &key2=std::string()) |
Static Private Attributes | |
| static std::string | m_resource_file_path = "" |
|
default |
|
default |
|
inlinestatic |
References get_value_from_config().
|
static |
References m_resource_file_path.
Referenced by Slic3r::GUI::InputIpAddressDialog::InputIpAddressDialog().
|
static |
References m_resource_file_path.
Referenced by Slic3r::DeviceManager::parse_user_print_info().
|
inlinestatic |
|
inlinestatic |
References get_value_from_config().
Referenced by Slic3r::GUI::_collect_sorted_machines(), and Slic3r::MachineObject::get_compatible_machine().
|
static |
References Slic3r::Geometry::contains(), and m_resource_file_path.
|
static |
References m_resource_file_path.
Referenced by Slic3r::GUI::FanControlPopupNew::get_fan_func_name(), and Slic3r::GUI::FanControlPopupNew::init_names().
|
static |
References m_resource_file_path.
|
static |
References m_resource_file_path.
|
static |
References get_value_from_config().
Referenced by Slic3r::GUI::StatusBasePanel::expand_filament_loading().
|
inlinestatic |
References get_value_from_config().
Referenced by Slic3r::MachineObject::get_ftp_folder().
|
inlinestatic |
References m_resource_file_path.
Referenced by Slic3r::MachineObject::get_nozzle_replace_url().
|
inlinestatic |
References get_value_from_config().
Referenced by Slic3r::GUI::AMSSetting::update_ams_img().
|
static |
References ARCH_CORE_XY, ARCH_I3, and get_value_from_config().
Referenced by Slic3r::MachineObject::get_printer_arch().
|
inlinestatic |
References get_value_from_config().
Referenced by Slic3r::MachineObject::get_auto_pa_cali_thumbnail_img_str().
|
inlinestatic |
References get_value_from_config().
Referenced by Slic3r::GUI::Plater::check_printer_initialized(), and Slic3r::GUI::PrinterPartsDialog::Show().
|
inlinestatic |
References get_value_from_config().
Referenced by Slic3r::GUI::ConnectPrinterDialog::init_bitmap(), and Slic3r::GUI::InputIpAddressDialog::set_machine_obj().
|
inlinestatic |
References get_value_from_config().
Referenced by Slic3r::MachineObject::check_ams_filament_valid(), Slic3r::GUI::NewCalibrationHistoryDialog::get_all_filaments(), Slic3r::GUI::AMSMaterialsSetting::get_filament_variant_index(), Slic3r::MachineObject::get_printer_type_display_str(), Slic3r::GUI::AMSMaterialsSetting::on_select_filament(), Slic3r::GUI::AMSMaterialsSetting::Popup(), Slic3r::GUI::SelectMachineDialog::show_status(), Slic3r::GUI::SyncAmsInfoDialog::show_status(), Slic3r::GUI::AMSDryCtrWin::update_filament_list(), and Slic3r::MachineObject::update_printer_preset_name().
|
static |
References get_value_from_config().
Referenced by Slic3r::GUI::AMSExtImage::get_bmp().
|
inlinestatic |
References get_value_from_config().
Referenced by Slic3r::MachineObject::get_printer_series(), Slic3r::MachineObject::get_printer_series_str(), Slic3r::MachineObject::is_series_n(), Slic3r::MachineObject::is_series_o(), Slic3r::MachineObject::is_series_p(), Slic3r::MachineObject::is_series_x(), and Slic3r::GUI::MediaPlayCtrl::SetMachineObject().
|
inlinestatic |
References get_value_from_config().
Referenced by Slic3r::MachineObject::get_printer_thumbnail_img_str().
|
inlinestatic |
References get_value_from_config().
Referenced by Slic3r::_parse_printer_type().
|
inlinestatic |
References get_value_from_config().
Referenced by Slic3r::MachineObject::get_printer_ams_type(), and Slic3r::GUI::AMSSetting::update_insert_material_read_mode().
|
inlinestatic |
|
static |
References DEPUTY_EXTRUDER_ID, Slic3r::Extruder, get_value_from_config(), Slic3r::Hotend, Slic3r::LowerCase, Slic3r::Nozzle, and Slic3r::SentenceCase.
Referenced by Slic3r::GUI::AmsMapingPopup::AmsMapingPopup(), Slic3r::GUI::EditCalibrationHistoryDialog::EditCalibrationHistoryDialog(), Slic3r::GUI::FeedDirectionDialog::FeedDirectionDialog(), Slic3r::GUI::NewCalibrationHistoryDialog::NewCalibrationHistoryDialog(), Slic3r::GUI::UnsavedChangesDialog::build(), Slic3r::GUI::NozzleListTable::BuildTextObjStr(), WipingDialog::BuildTextObjStr(), Slic3r::check_filaments_printable(), Slic3r::GUI::Tab::generate_extruder_options(), Slic3r::GUI::SyncAmsInfoDialog::is_nozzle_type_match(), Slic3r::GUI::HistoryWindow::on_device_connected(), Slic3r::GUI::FeedDirectionDialog::OnRadioClicked(), Slic3r::GUI::CaliPASaveAutoPanel::sync_cali_result_for_multi_extruder(), Slic3r::GUI::Tab::sync_excluder(), Slic3r::GUI::HistoryWindow::sync_history_data(), Slic3r::GUI::AmsReplaceMaterialDialog::update_machine_obj(), Slic3r::GUI::Sidebar::update_presets(), and Slic3r::GUI::AmsMapingPopup::update_title().
|
inlinestatic |
References get_value_from_config().
Referenced by Slic3r::GUI::SelectMachineDialog::can_support_pa_auto_cali().
|
inlinestatic |
References m_resource_file_path.
Referenced by air_print_detection_position(), get_bed_temperature_limit(), get_compatible_machine(), get_filament_load_img(), get_ftp_folder(), get_printer_ams_img(), get_printer_arch(), get_printer_auto_pa_cali_image(), get_printer_can_set_nozzle(), get_printer_connect_help_img(), get_printer_display_name(), get_printer_ext_img(), get_printer_series_str(), get_printer_thumbnail_img(), get_printer_type(), get_printer_use_ams_type(), get_resolution_supported(), get_toolhead_display_name(), get_unsupport_auto_cali_filaments(), get_value_from_config(), support_ams_ext_mix_print(), support_ams_fila_change_abort(), support_disable_cali_flow_type(), support_print_check_extension_fan_f000_mounted(), support_print_check_firmware_for_tpu_left(), support_print_time_estimate_warning(), support_safety_options(), support_user_first_setup_tpu_check(), support_user_first_setup_tpu_check_url(), support_wrapping_detection(), and Slic3r::GUI::SelectMachineDialog::update_show_status().
|
inlinestatic |
References get_value_from_config().
|
inlinestatic |
References m_resource_file_path.
Referenced by Slic3r::DeviceManager::DeviceManager().
|
inlinestatic |
Referenced by is_printer_model_compatible(), Slic3r::GUI::Plater::is_same_printer_for_connected_and_selected(), Slic3r::GUI::SelectMachineDialog::is_same_printer_model(), Slic3r::GUI::SyncAmsInfoDialog::is_same_printer_model(), Slic3r::GUI::Sidebar::priv::sync_extruder_list(), Slic3r::GUI::CalibrationPresetPage::update_show_status(), Slic3r::GUI::SelectMachineDialog::update_show_status(), Slic3r::GUI::SyncAmsInfoDialog::update_show_status(), and Slic3r::GUI::Sidebar::priv::update_sync_status().
|
static |
References Slic3r::MachineObject::get_compatible_machine(), is_optional_printer_model_id(), and Slic3r::MachineObject::printer_type.
Referenced by Slic3r::GUI::GUI_App::is_blocking_printing().
|
inlinestatic |
References get_value_from_config().
Referenced by Slic3r::GUI::SelectMachineDialog::update_show_status().
|
inlinestatic |
References get_value_from_config().
Referenced by Slic3r::GUI::StatusPanel::update_filament_loading_panel().
|
inlinestatic |
|
inlinestatic |
References get_value_from_config().
Referenced by Slic3r::GUI::SelectMachineDialog::UpdateStatusCheckWarning_ExtensionTool().
|
inlinestatic |
References get_value_from_config().
Referenced by Slic3r::MachineObject::parse_new_info(), and Slic3r::GUI::SelectMachineDialog::update_show_status().
|
inlinestatic |
References get_value_from_config().
|
inlinestatic |
References get_value_from_config().
Referenced by Slic3r::GUI::StatusPanel::on_show_safety_options(), Slic3r::GUI::StatusPanel::update(), and Slic3r::GUI::PrintOptionsDialog::UpdateOptionOpenDoorCheck().
|
inlinestatic |
|
inlinestatic |
References get_value_from_config().
|
inlinestatic |
References get_value_from_config().
Referenced by Slic3r::GUI::TabPrinter::toggle_options(), Slic3r::GUI::ConfigManipulation::toggle_print_fff_options(), and Slic3r::GUI::ConfigManipulation::update_print_fff_config().
|
staticprivate |