#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/DeviceCore/DevNozzleSystem.h>
Public Member Functions | |
| bool | IsEmpty () const |
| void | SetRack (const std::weak_ptr< DevNozzleRack > &rack) |
| int | GetNozzleId () const |
| int | GetNozzlePosId () const |
| NozzleType | GetNozzleType () const |
| NozzleFlowType | GetNozzleFlowType () const |
| NozzleDiameterType | GetNozzleDiameterType () const |
| float | GetNozzleDiameter () const |
| float | GetNozzleWear () const |
| int | GetNozzlePrintTime () const |
| DevFirmwareVersionInfo | GetFirmwareInfo () const |
| wxString | GetNozzleDiameterStr () const |
| wxString | GetNozzleFlowTypeStr () const |
| wxString | GetNozzleTypeStr () const |
| std::string | GetFilamentId () const |
| std::string | GetFilamentColor () const |
| bool | AtLeftExtruder () const |
| bool | AtRightExtruder () const |
| int | GetLogicExtruderId () const |
| int | GetExtruderId () const |
| bool | IsOnRack () const |
| bool | IsInfoReliable () const |
| bool | IsNormal () const |
| bool | IsAbnormal () const |
| bool | IsUnknown () const |
| void | SetOnRack (bool on_rack) |
| void | SetStatus (int stat) |
Static Public Member Functions | |
| static NozzleFlowType | ToNozzleFlowType (const NozzleVolumeType &type) |
| static NozzleVolumeType | ToNozzleVolumeType (const NozzleFlowType &type) |
| static wxString | GetNozzleFlowTypeStr (NozzleFlowType type) |
| static std::string | GetNozzleFlowTypeString (NozzleFlowType type) |
| static std::string | ToNozzleFlowString (const NozzleFlowType &type) |
| static wxString | GetNozzleTypeStr (NozzleType type) |
Public Attributes | |
| int | m_nozzle_id = -1 |
| NozzleFlowType | m_nozzle_flow = NozzleFlowType::S_FLOW |
| NozzleType | m_nozzle_type = NozzleType::ntUndefine |
| float | m_diameter = 0.0f |
Private Member Functions | |
| int | GetTotalExtruderCount () const |
Private Attributes | |
| bool | m_on_rack = false |
| int | m_stat = 0 |
| float | m_wear = 0.0f |
| std::string | m_fila_id |
| std::string | m_filament_clr |
| std::weak_ptr< DevNozzleRack > | m_nozzle_rack |
| int | m_nozzle_print_time {0} |
Friends | |
| class | DevNozzleSystemParser |
| bool Slic3r::DevNozzle::AtLeftExtruder | ( | ) | const |
References DEPUTY_EXTRUDER_ID, GetTotalExtruderCount(), IsOnRack(), and m_nozzle_id.
Referenced by GetExtruderId(), and GetLogicExtruderId().
| bool Slic3r::DevNozzle::AtRightExtruder | ( | ) | const |
References GetTotalExtruderCount(), IsOnRack(), m_nozzle_id, and MAIN_EXTRUDER_ID.
Referenced by GetExtruderId(), and GetLogicExtruderId().
| int Slic3r::DevNozzle::GetExtruderId | ( | ) | const |
References AtLeftExtruder(), AtRightExtruder(), DEPUTY_EXTRUDER_ID, GetTotalExtruderCount(), and MAIN_EXTRUDER_ID.
Referenced by Slic3r::GUI::SelectMachineDialog::on_ok_btn(), and Slic3r::GUI::SelectMachineDialog::update_show_status().
|
inline |
References m_filament_clr.
Referenced by Slic3r::GUI::wgtDeviceNozzleRackHotendUpdate::UpdateInfo(), and Slic3r::GUI::wgtDeviceNozzleRackToolHead::UpdateToolHeadInfo().
|
inline |
References m_fila_id.
Referenced by Slic3r::GUI::wgtDeviceNozzleRackHotendUpdate::UpdateInfo().
| DevFirmwareVersionInfo Slic3r::DevNozzle::GetFirmwareInfo | ( | ) | const |
References IsOnRack(), m_nozzle_id, and m_nozzle_rack.
Referenced by Slic3r::GUI::wgtDeviceNozzleRackHotendUpdate::UpdateInfo().
| int Slic3r::DevNozzle::GetLogicExtruderId | ( | ) | const |
References AtLeftExtruder(), AtRightExtruder(), GetTotalExtruderCount(), LOGIC_L_EXTRUDER_ID, LOGIC_R_EXTRUDER_ID, and LOGIC_UNIQUE_EXTRUDER_ID.
Referenced by Slic3r::DevNozzleMappingCtrl::GetFlushWeight(), Slic3r::DevUtilBackend::GetNozzleInfo(), and Slic3r::GUI::s_enable_item_if_match().
|
inline |
References m_diameter.
Referenced by Slic3r::GUI::is_same_nozzle_config(), Slic3r::GUI::SelectMachineDialog::on_ok_btn(), Slic3r::GUI::s_enable_item_if_match(), Slic3r::GUI::sCheckFilamentInfo(), and Slic3r::GUI::SelectMachineDialog::update_show_status().
|
inline |
References m_diameter.
Referenced by Slic3r::DevUtilBackend::GetNozzleInfo(), Slic3r::GUI::wgtDeviceNozzleRackHotendUpdate::UpdateInfo(), and Slic3r::GUI::wgtDeviceNozzleRackToolHead::UpdateToolHeadInfo().
| NozzleDiameterType Slic3r::DevNozzle::GetNozzleDiameterType | ( | ) | const |
References Slic3r::is_approx(), m_diameter, Slic3r::NONE_DIAMETER_TYPE, Slic3r::NOZZLE_DIAMETER_0_2, Slic3r::NOZZLE_DIAMETER_0_4, Slic3r::NOZZLE_DIAMETER_0_6, and Slic3r::NOZZLE_DIAMETER_0_8.
Referenced by Slic3r::GUI::wgtDeviceNozzleRackHotendUpdate::updateNozzleImage().
|
inline |
References m_nozzle_flow.
Referenced by Slic3r::DevUtilBackend::GetNozzleInfo(), Slic3r::GUI::is_same_nozzle_config(), Slic3r::GUI::SelectMachineDialog::on_ok_btn(), Slic3r::GUI::NewCalibrationHistoryDialog::on_select_nozzle_pos(), Slic3r::GUI::s_enable_item_if_match(), Slic3r::GUI::SelectMachineDialog::update_show_status(), and Slic3r::GUI::wgtDeviceNozzleRackHotendUpdate::updateNozzleImage().
|
inline |
References GetNozzleFlowTypeStr(), and m_nozzle_flow.
Referenced by Slic3r::GUI::SelectMachineDialog::CheckErrorExtruderNozzleWithSlicing(), and GetNozzleFlowTypeStr().
|
static |
References _L, Slic3r::E_FLOW, Slic3r::H_FLOW, Slic3r::S_FLOW, and Slic3r::U_FLOW.
Referenced by Slic3r::GUI::wgtDeviceNozzleRackHotendUpdate::UpdateInfo(), and Slic3r::GUI::wgtDeviceNozzleRackToolHead::UpdateToolHeadInfo().
|
static |
References Slic3r::E_FLOW, Slic3r::H_FLOW, Slic3r::S_FLOW, and Slic3r::U_FLOW.
Referenced by Slic3r::DevFilaSystem::GetNozzleFlowStringByAmsId(), Slic3r::GUI::SelectMachineDialog::on_ok_btn(), and Slic3r::GUI::SelectMachineDialog::update_show_status().
|
inline |
References m_nozzle_id.
| int Slic3r::DevNozzle::GetNozzlePosId | ( | ) | const |
References IsOnRack(), and m_nozzle_id.
Referenced by Slic3r::GUI::wgtDeviceNozzleRackSelect::SetSelectedNozzle(), and Slic3r::GUI::SelectMachineDialog::update_show_status().
|
inline |
References m_nozzle_print_time.
Referenced by Slic3r::GUI::wgtDeviceNozzleRackHotendUpdate::UpdateInfo().
|
inline |
References m_nozzle_type.
Referenced by Slic3r::GUI::s_enable_item_if_match(), Slic3r::GUI::SelectMachineDialog::update_show_status(), and Slic3r::GUI::wgtDeviceNozzleRackHotendUpdate::updateNozzleImage().
|
inline |
References GetNozzleTypeStr(), and m_nozzle_type.
Referenced by GetNozzleTypeStr().
|
static |
References _L, Slic3r::ntHardenedSteel, Slic3r::ntStainlessSteel, and Slic3r::ntTungstenCarbide.
Referenced by Slic3r::GUI::wgtDeviceNozzleRackHotendUpdate::UpdateInfo().
|
inline |
References m_wear.
|
private |
References Slic3r::MachineObject::GetExtderSystem(), Slic3r::MachineObject::GetNozzleSystem(), Slic3r::DevNozzleSystem::GetOwner(), Slic3r::DevExtderSystem::GetTotalExtderCount(), and m_nozzle_rack.
Referenced by AtLeftExtruder(), AtRightExtruder(), GetExtruderId(), and GetLogicExtruderId().
| bool Slic3r::DevNozzle::IsAbnormal | ( | ) | const |
References Slic3r::DevUtil::get_flag_bits(), and m_stat.
Referenced by Slic3r::DevNozzleRack::CtrlCanUpdateAll(), Slic3r::GUI::s_enable_item_if_match(), Slic3r::GUI::wgtDeviceNozzleRackHotendUpdate::UpdateInfo(), and Slic3r::GUI::wgtDeviceNozzleRackToolHead::UpdateToolHeadInfo().
|
inline |
References m_nozzle_id.
Referenced by IsInfoReliable(), IsNormal(), Slic3r::GUI::s_enable_item_if_match(), Slic3r::GUI::sCheckFilamentInfo(), Slic3r::GUI::wgtDeviceNozzleRackHotendUpdate::UpdateInfo(), and Slic3r::GUI::wgtDeviceNozzleRackToolHead::UpdateToolHeadInfo().
| bool Slic3r::DevNozzle::IsInfoReliable | ( | ) | const |
References Slic3r::DevUtil::get_flag_bits(), IsEmpty(), and m_stat.
| bool Slic3r::DevNozzle::IsNormal | ( | ) | const |
References Slic3r::DevUtil::get_flag_bits(), IsEmpty(), and m_stat.
Referenced by Slic3r::GUI::NewCalibrationHistoryDialog::on_select_nozzle_pos(), and Slic3r::GUI::wgtDeviceNozzleRackHotendUpdate::UpdateInfo().
|
inline |
References m_on_rack.
Referenced by AtLeftExtruder(), AtRightExtruder(), GetFirmwareInfo(), GetNozzlePosId(), and Slic3r::GUI::s_update_nozzle_info().
| bool Slic3r::DevNozzle::IsUnknown | ( | ) | const |
References Slic3r::DevUtil::get_flag_bits(), and m_stat.
Referenced by Slic3r::GUI::s_enable_item_if_match(), Slic3r::GUI::s_update_nozzle_info(), Slic3r::GUI::wgtDeviceNozzleRackHotendUpdate::UpdateInfo(), and Slic3r::GUI::wgtDeviceNozzleRackToolHead::UpdateToolHeadInfo().
|
inline |
References m_on_rack.
Referenced by Slic3r::DevNozzleRack::AddRackNozzle(), and Slic3r::DevNozzleRack::GetNozzle().
|
inline |
References m_nozzle_rack.
Referenced by Slic3r::DevNozzleSystemParser::ParseV1_0(), and Slic3r::DevNozzleSystemParser::ParseV2_0().
|
inline |
References m_stat.
Referenced by Slic3r::DevNozzleSystemParser::ParseV2_0().
|
static |
References Slic3r::E_FLOW, Slic3r::H_FLOW, Slic3r::S_FLOW, and Slic3r::U_FLOW.
Referenced by Slic3r::DevNozzleMappingCtrl::CtrlGetAutoNozzleMappingV0().
|
static |
References Slic3r::E_FLOW, Slic3r::H_FLOW, Slic3r::NONE_FLOWTYPE, Slic3r::nvtE3DHighFlow, Slic3r::nvtHighFlow, Slic3r::nvtStandard, Slic3r::nvtTPUHighFlow, Slic3r::S_FLOW, and Slic3r::U_FLOW.
Referenced by Slic3r::GUI::SelectMachineDialog::CheckWarningRackStatus(), Slic3r::DevUtilBackend::CollectNozzleInfo(), Slic3r::GUI::HotEndTable::FilterHotEnds(), and Slic3r::GUI::s_get_slicing_extuder_nozzles().
|
static |
References Slic3r::E_FLOW, Slic3r::H_FLOW, Slic3r::nvtE3DHighFlow, Slic3r::nvtHighFlow, Slic3r::nvtStandard, Slic3r::nvtTPUHighFlow, Slic3r::S_FLOW, and Slic3r::U_FLOW.
Referenced by Slic3r::MachineObject::check_ams_filament_valid(), Slic3r::GUI::AMSMaterialsSetting::get_filament_variant_index(), Slic3r::DevNozzleSystem::GetNozzleGroups(), Slic3r::DevUtilBackend::GetNozzleInfo(), Slic3r::GUI::CalibrationPresetPage::init_with_machine(), Slic3r::GUI::CalibrationPresetPage::is_nozzle_info_synced(), Slic3r::GUI::NewCalibrationHistoryDialog::on_select_nozzle_pos(), Slic3r::GUI::Sidebar::priv::sync_extruder_list(), and Slic3r::GUI::MultiNozzleStatusTable::UpdateRackInfo().
|
friend |
References DevNozzleSystemParser.
Referenced by DevNozzleSystemParser.
| float Slic3r::DevNozzle::m_diameter = 0.0f |
|
private |
Referenced by GetFilamentId(), and Slic3r::DevNozzleSystemParser::ParseV2_0().
|
private |
Referenced by GetFilamentColor(), and Slic3r::DevNozzleSystemParser::ParseV2_0().
| NozzleFlowType Slic3r::DevNozzle::m_nozzle_flow = NozzleFlowType::S_FLOW |
| int Slic3r::DevNozzle::m_nozzle_id = -1 |
|
private |
Referenced by GetNozzlePrintTime(), and Slic3r::DevNozzleSystemParser::ParseV2_0().
|
private |
Referenced by GetFirmwareInfo(), GetTotalExtruderCount(), and SetRack().
| NozzleType Slic3r::DevNozzle::m_nozzle_type = NozzleType::ntUndefine |
|
private |
Referenced by IsOnRack(), and SetOnRack().
|
private |
Referenced by IsAbnormal(), IsInfoReliable(), IsNormal(), IsUnknown(), and SetStatus().
|
private |
Referenced by GetNozzleWear(), and Slic3r::DevNozzleSystemParser::ParseV2_0().