OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::DevPrintOptions Class Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/DeviceCore/DevPrintOptions.h>

Collaboration diagram for Slic3r::DevPrintOptions:

Public Types

enum class  PurifyAirAtPrintEndState : int { PurifyAirDisable = 0 , PurifyAirByInside = 1 , PurifyAirByOutside = 2 }

Public Member Functions

 DevPrintOptions (MachineObject *obj)
void SetPrintingSpeedLevel (DevPrintingSpeedLevel speed_level)
DevPrintingSpeedLevel GetPrintingSpeedLevel () const
PrintOptionData * GetDetectionOption (PrintOptionEnum print_option)
int command_xcam_control_ai_monitoring (bool on_off, std::string lvl)
int command_xcam_control_first_layer_inspector (bool on_off, bool print_halt)
int command_xcam_control_buildplate_marker_detector (bool on_off)
int command_xcam_control_auto_recovery_step_loss (bool on_off)
int command_xcam_control_allow_prompt_sound (bool on_off)
int command_xcam_control_filament_tangle_detect (bool on_off)
int command_xcam_control_idelheatingprotect_detector (bool on_off)
int command_xcam_control_build_plate_align_detector (bool on_off)
int command_xcam_control_fod_check (bool on_off)
int command_xcam_control_displacement_detection (bool on_off)
int command_xcam_control_purify_air_at_print_end (int on_off)
int command_smart_nozzle_blob_detect_mode (int mode)
int command_snapshot_control (int on_off)
int command_xcam_control (std::string module_name, bool on_off, MachineObject *obj, std::string lvl="")
int command_set_printing_option (bool auto_recovery, MachineObject *obj)
int command_set_prompt_sound (bool prompt_sound, MachineObject *obj)
int command_set_filament_tangle_detect (bool fliament_tangle_detect, MachineObject *obj)
int command_set_against_continued_heating_mode (bool on_off)
int command_set_purify_air_at_print_end (PurifyAirAtPrintEndState state, MachineObject *obj)
int command_set_snapshot_control (int on_off, MachineObject *obj)
void parse_auto_recovery_step_loss_status (int flag)
void parse_allow_prompt_sound_status (int flag)
void parse_filament_tangle_detect_status (int flag)
bool GetAiMonitoring () const
bool GetFirstLayerInspector () const
bool GetBuildplateMarkerDetector () const
bool GetAutoRecoveryStepLoss () const
bool GetAllowPromptSound () const
bool GetFilamentTangleDetect () const
int GetIdelHeatingProtectEenabled () const
std::string GetAiMonitoringSensitivity () const

Private Attributes

DevPrintingSpeedLevel m_speed_level = SPEED_LEVEL_INVALID
PrintOptionData m_ai_monitoring_detection
PrintOptionData m_first_layer_detection
PrintOptionData m_buildplate_mark_detection
PrintOptionData m_buildplate_align_detection
PrintOptionData m_auto_recovery_detection
PrintOptionData m_allow_prompt_sound_detection
PrintOptionData m_filament_tangle_detection
PrintOptionData m_idel_heating_protect_detection
PrintOptionData m_purify_air_at_print_end
PrintOptionData m_snapshot_detection
PrintOptionData m_fod_check_detection
PrintOptionData m_displacement_detection
PrintOptionData m_smart_nozzle_blob_detection
std::map< PrintOptionEnum, PrintOptionData * > m_detection_list
MachineObject * m_obj

Friends

class DevPrintOptionsParser

Detailed Description

Member Enumeration Documentation

◆ PurifyAirAtPrintEndState

Enumerator
PurifyAirDisable 
PurifyAirByInside 
PurifyAirByOutside 
48 : int {
49 PurifyAirDisable = 0,
50 PurifyAirByInside = 1,
51 PurifyAirByOutside = 2,
52 };

Constructor & Destructor Documentation

◆ DevPrintOptions()

Slic3r::DevPrintOptions::DevPrintOptions ( MachineObject * obj)
19 : m_obj(obj)
20{
35 };
36}
PrintOptionData m_idel_heating_protect_detection
Definition DevPrintOptions.h:117
PrintOptionData m_buildplate_align_detection
Definition DevPrintOptions.h:113
PrintOptionData m_buildplate_mark_detection
Definition DevPrintOptions.h:112
PrintOptionData m_smart_nozzle_blob_detection
Definition DevPrintOptions.h:122
PrintOptionData m_first_layer_detection
Definition DevPrintOptions.h:111
std::map< PrintOptionEnum, PrintOptionData * > m_detection_list
Definition DevPrintOptions.h:124
PrintOptionData m_ai_monitoring_detection
Definition DevPrintOptions.h:110
PrintOptionData m_auto_recovery_detection
Definition DevPrintOptions.h:114
PrintOptionData m_purify_air_at_print_end
Definition DevPrintOptions.h:118
PrintOptionData m_filament_tangle_detection
Definition DevPrintOptions.h:116
PrintOptionData m_fod_check_detection
Definition DevPrintOptions.h:120
PrintOptionData m_allow_prompt_sound_detection
Definition DevPrintOptions.h:115
PrintOptionData m_displacement_detection
Definition DevPrintOptions.h:121
MachineObject * m_obj
Definition DevPrintOptions.h:126
PrintOptionData m_snapshot_detection
Definition DevPrintOptions.h:119
@ FOD_Check_Detection
Definition DevPrintOptions.h:27
@ AI_Monitoring
Definition DevPrintOptions.h:17
@ Buildplate_Align_Detection
Definition DevPrintOptions.h:20
@ Filament_Tangle_Detection
Definition DevPrintOptions.h:23
@ Displacement_Detection
Definition DevPrintOptions.h:28
@ Auto_Recovery_Detection
Definition DevPrintOptions.h:21
@ Purify_Air_At_Print_End
Definition DevPrintOptions.h:25
@ Idle_Heating_Protect_Detection
Definition DevPrintOptions.h:24
@ Smart_Nozzle_Blob_Detection
Definition DevPrintOptions.h:29
@ First_Layer_Detection
Definition DevPrintOptions.h:18
@ Buildplate_Mark_Detection
Definition DevPrintOptions.h:19
@ Allow_Prompt_Sound_Detection
Definition DevPrintOptions.h:22
@ Snapshot_Detection
Definition DevPrintOptions.h:26

References Slic3r::AI_Monitoring, Slic3r::Allow_Prompt_Sound_Detection, Slic3r::Auto_Recovery_Detection, Slic3r::Buildplate_Align_Detection, Slic3r::Buildplate_Mark_Detection, Slic3r::Displacement_Detection, Slic3r::Filament_Tangle_Detection, Slic3r::First_Layer_Detection, Slic3r::FOD_Check_Detection, Slic3r::Idle_Heating_Protect_Detection, m_ai_monitoring_detection, m_allow_prompt_sound_detection, m_auto_recovery_detection, m_buildplate_align_detection, m_buildplate_mark_detection, m_detection_list, m_displacement_detection, m_filament_tangle_detection, m_first_layer_detection, m_fod_check_detection, m_idel_heating_protect_detection, m_obj, m_purify_air_at_print_end, m_smart_nozzle_blob_detection, m_snapshot_detection, Slic3r::Purify_Air_At_Print_End, Slic3r::Smart_Nozzle_Blob_Detection, and Slic3r::Snapshot_Detection.

Member Function Documentation

◆ command_set_against_continued_heating_mode()

int Slic3r::DevPrintOptions::command_set_against_continued_heating_mode ( bool on_off)
330{
331 json j;
332 j["print"]["sequence_id"] = std::to_string(MachineObject::m_sequence_id++);
333 j["print"]["command"] = "set_against_continued_heating_mode";
334 j["print"]["enable"] = on_off;
335 return m_obj->publish_json(j);
336}
static int m_sequence_id
Definition DeviceManager.hpp:197
nlohmann::json json
Definition AssembleList.cpp:42

References m_obj, and Slic3r::MachineObject::m_sequence_id.

Referenced by command_xcam_control_idelheatingprotect_detector().

Here is the caller graph for this function:

◆ command_set_filament_tangle_detect()

int Slic3r::DevPrintOptions::command_set_filament_tangle_detect ( bool fliament_tangle_detect,
MachineObject * obj )
360{
361 json j;
362 j["print"]["command"] = "print_option";
363 j["print"]["sequence_id"] = std::to_string(MachineObject::m_sequence_id++);
364 j["print"]["filament_tangle_detect"] = filament_tangle_detect;
365
366 return obj->publish_json(j);
367}

References Slic3r::MachineObject::m_sequence_id, and Slic3r::MachineObject::publish_json().

Referenced by command_xcam_control_filament_tangle_detect().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ command_set_printing_option()

int Slic3r::DevPrintOptions::command_set_printing_option ( bool auto_recovery,
MachineObject * obj )
339{
340 json j;
341 j["print"]["command"] = "print_option";
342 j["print"]["sequence_id"] = std::to_string(MachineObject::m_sequence_id++);
343 j["print"]["option"] = (int) auto_recovery;
344 j["print"]["auto_recovery"] = auto_recovery;
345
346 return obj->publish_json(j);
347}

References Slic3r::MachineObject::m_sequence_id, and Slic3r::MachineObject::publish_json().

Referenced by command_xcam_control_auto_recovery_step_loss().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ command_set_prompt_sound()

int Slic3r::DevPrintOptions::command_set_prompt_sound ( bool prompt_sound,
MachineObject * obj )
350{
351 json j;
352 j["print"]["command"] = "print_option";
353 j["print"]["sequence_id"] = std::to_string(MachineObject::m_sequence_id++);
354 j["print"]["sound_enable"] = prompt_sound;
355
356 return obj->publish_json(j);
357}

References Slic3r::MachineObject::m_sequence_id, and Slic3r::MachineObject::publish_json().

Referenced by command_xcam_control_allow_prompt_sound().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ command_set_purify_air_at_print_end()

int Slic3r::DevPrintOptions::command_set_purify_air_at_print_end ( PurifyAirAtPrintEndState state,
MachineObject * obj )
398{
399 json j;
400 j["print"]["command"] = "print_option";
401 j["print"]["sequence_id"] = std::to_string(MachineObject::m_sequence_id++);
402 switch (state)
403 {
404 case PurifyAirAtPrintEndState::PurifyAirDisable: j["print"]["air_purification"] = 0; break;
405 case PurifyAirAtPrintEndState::PurifyAirByInside: j["print"]["air_purification"] = 1; break;
406 case PurifyAirAtPrintEndState::PurifyAirByOutside: j["print"]["air_purification"] = 2; break;
407 default: assert(0);
408 }
409 return obj->publish_json(j);
410}
@ PurifyAirByInside
Definition DevPrintOptions.h:50
@ PurifyAirByOutside
Definition DevPrintOptions.h:51
@ PurifyAirDisable
Definition DevPrintOptions.h:49

References Slic3r::MachineObject::m_sequence_id, Slic3r::MachineObject::publish_json(), PurifyAirByInside, PurifyAirByOutside, and PurifyAirDisable.

Referenced by command_xcam_control_purify_air_at_print_end().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ command_set_snapshot_control()

int Slic3r::DevPrintOptions::command_set_snapshot_control ( int on_off,
MachineObject * obj )
420{
421 json j;
422 j["camera"]["command"] = "ipcam_cap_pic_set";
423 j["camera"]["sequence_id"] = std::to_string(MachineObject::m_sequence_id++);
424 j["camera"]["control"] = on_off ? "enable" : "disable";
425 return obj->publish_json(j);
426}

References Slic3r::MachineObject::m_sequence_id, and Slic3r::MachineObject::publish_json().

Referenced by command_snapshot_control().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ command_smart_nozzle_blob_detect_mode()

int Slic3r::DevPrintOptions::command_smart_nozzle_blob_detect_mode ( int mode)
429{
430 json j;
431 j["print"]["command"] = "print_option";
432 j["print"]["sequence_id"] = std::to_string(MachineObject::m_sequence_id++);
433 j["print"]["nozzle_blob_detect_v2"] = mode; // int: 0=off, 1=on, 2=auto
434 m_smart_nozzle_blob_detection.current_detect_value = mode;
435 m_smart_nozzle_blob_detection.detect_hold_start = time(nullptr);
436 return m_obj->publish_json(j);
437}

References m_obj, Slic3r::MachineObject::m_sequence_id, and m_smart_nozzle_blob_detection.

Referenced by Slic3r::GUI::SelectMachineDialog::update_show_status().

Here is the caller graph for this function:

◆ command_snapshot_control()

int Slic3r::DevPrintOptions::command_snapshot_control ( int on_off)
413{
414 m_snapshot_detection.current_detect_value = on_off;
415 m_snapshot_detection.detect_hold_start = time(nullptr);
416 return command_set_snapshot_control(on_off, m_obj);
417}
int command_set_snapshot_control(int on_off, MachineObject *obj)
Definition DevPrintOptions.cpp:419

References command_set_snapshot_control(), m_obj, and m_snapshot_detection.

Here is the call graph for this function:

◆ command_xcam_control()

int Slic3r::DevPrintOptions::command_xcam_control ( std::string module_name,
bool on_off,
MachineObject * obj,
std::string lvl = "" )
316{
317 json j;
318 j["xcam"]["command"] = "xcam_control_set";
319 j["xcam"]["sequence_id"] = std::to_string(MachineObject::m_sequence_id++);
320 j["xcam"]["module_name"] = module_name;
321 j["xcam"]["control"] = on_off;
322 j["xcam"]["enable"] = on_off; // old protocol
323 j["xcam"]["print_halt"] = true; // old protocol
324 if (!lvl.empty()) { j["xcam"]["halt_print_sensitivity"] = lvl; }
325 BOOST_LOG_TRIVIAL(info) << "command:xcam_control_set" << ", module_name:" << module_name << ", control:" << on_off << ", halt_print_sensitivity:" << lvl;
326 return obj->publish_json(j);
327}

References Slic3r::MachineObject::m_sequence_id, and Slic3r::MachineObject::publish_json().

Referenced by command_xcam_control_ai_monitoring(), command_xcam_control_build_plate_align_detector(), command_xcam_control_buildplate_marker_detector(), command_xcam_control_displacement_detection(), command_xcam_control_first_layer_inspector(), and command_xcam_control_fod_check().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ command_xcam_control_ai_monitoring()

int Slic3r::DevPrintOptions::command_xcam_control_ai_monitoring ( bool on_off,
std::string lvl )
244{
245 bool print_halt = (lvl == "never_halt") ? false : true;
246
247 m_ai_monitoring_detection.current_detect_value = on_off;
248 m_ai_monitoring_detection.detect_hold_start = time(nullptr);
249 m_ai_monitoring_detection.current_detect_sensitivity_value = lvl;
250 return command_xcam_control("printing_monitor", on_off, m_obj, lvl);
251}
int command_xcam_control(std::string module_name, bool on_off, MachineObject *obj, std::string lvl="")
Definition DevPrintOptions.cpp:315

References command_xcam_control(), m_ai_monitoring_detection, and m_obj.

Here is the call graph for this function:

◆ command_xcam_control_allow_prompt_sound()

int Slic3r::DevPrintOptions::command_xcam_control_allow_prompt_sound ( bool on_off)
282{
283 m_allow_prompt_sound_detection.current_detect_value = on_off;
284 m_allow_prompt_sound_detection.detect_hold_start = time(nullptr);
285 return command_set_prompt_sound(on_off, m_obj);
286}
int command_set_prompt_sound(bool prompt_sound, MachineObject *obj)
Definition DevPrintOptions.cpp:349

References command_set_prompt_sound(), m_allow_prompt_sound_detection, and m_obj.

Here is the call graph for this function:

◆ command_xcam_control_auto_recovery_step_loss()

int Slic3r::DevPrintOptions::command_xcam_control_auto_recovery_step_loss ( bool on_off)
275{
276 m_auto_recovery_detection.current_detect_value = on_off;
277 m_auto_recovery_detection.detect_hold_start = time(nullptr);
278 return command_set_printing_option(on_off, m_obj);
279}
int command_set_printing_option(bool auto_recovery, MachineObject *obj)
Definition DevPrintOptions.cpp:338

References command_set_printing_option(), m_auto_recovery_detection, and m_obj.

Here is the call graph for this function:

◆ command_xcam_control_build_plate_align_detector()

int Slic3r::DevPrintOptions::command_xcam_control_build_plate_align_detector ( bool on_off)
370{
371 m_buildplate_align_detection.current_detect_value = on_off;
372 m_buildplate_align_detection.detect_hold_start = time(nullptr);
373 return command_xcam_control("plate_offset_switch", on_off, m_obj);
374}

References command_xcam_control(), m_buildplate_align_detection, and m_obj.

Here is the call graph for this function:

◆ command_xcam_control_buildplate_marker_detector()

int Slic3r::DevPrintOptions::command_xcam_control_buildplate_marker_detector ( bool on_off)
261{
262 m_buildplate_mark_detection.current_detect_value = on_off;
263 m_buildplate_mark_detection.detect_hold_start = time(nullptr);
264 return command_xcam_control("buildplate_marker_detector", on_off ,m_obj);
265}

References command_xcam_control(), m_buildplate_mark_detection, and m_obj.

Here is the call graph for this function:

◆ command_xcam_control_displacement_detection()

int Slic3r::DevPrintOptions::command_xcam_control_displacement_detection ( bool on_off)
384{
385 m_displacement_detection.current_detect_value = on_off;
386 m_displacement_detection.detect_hold_start = time(nullptr);
387 return command_xcam_control("model_movement_check", on_off, m_obj);
388}

References command_xcam_control(), m_displacement_detection, and m_obj.

Here is the call graph for this function:

◆ command_xcam_control_filament_tangle_detect()

int Slic3r::DevPrintOptions::command_xcam_control_filament_tangle_detect ( bool on_off)
289{
290 m_filament_tangle_detection.current_detect_value = on_off;
291 m_filament_tangle_detection.detect_hold_start = time(nullptr);
293}
int command_set_filament_tangle_detect(bool fliament_tangle_detect, MachineObject *obj)
Definition DevPrintOptions.cpp:359

References command_set_filament_tangle_detect(), m_filament_tangle_detection, and m_obj.

Here is the call graph for this function:

◆ command_xcam_control_first_layer_inspector()

int Slic3r::DevPrintOptions::command_xcam_control_first_layer_inspector ( bool on_off,
bool print_halt )
268{
269 m_first_layer_detection.current_detect_value = on_off;
270 m_first_layer_detection.detect_hold_start = time(nullptr);
271 return command_xcam_control("first_layer_inspector", on_off, m_obj);
272}

References command_xcam_control(), m_first_layer_detection, and m_obj.

Here is the call graph for this function:

◆ command_xcam_control_fod_check()

int Slic3r::DevPrintOptions::command_xcam_control_fod_check ( bool on_off)
377{
378 m_fod_check_detection.current_detect_value = on_off;
379 m_fod_check_detection.detect_hold_start = time(nullptr);
380 return command_xcam_control("fod_check", on_off, m_obj);
381}

References command_xcam_control(), m_fod_check_detection, and m_obj.

Here is the call graph for this function:

◆ command_xcam_control_idelheatingprotect_detector()

int Slic3r::DevPrintOptions::command_xcam_control_idelheatingprotect_detector ( bool on_off)
254{
255 m_idel_heating_protect_detection.current_detect_value = on_off;
256 m_idel_heating_protect_detection.detect_hold_start = time(nullptr);
258}
int command_set_against_continued_heating_mode(bool on_off)
Definition DevPrintOptions.cpp:329

References command_set_against_continued_heating_mode(), and m_idel_heating_protect_detection.

Here is the call graph for this function:

◆ command_xcam_control_purify_air_at_print_end()

int Slic3r::DevPrintOptions::command_xcam_control_purify_air_at_print_end ( int on_off)
391{
392 m_purify_air_at_print_end.current_detect_value = on_off;
393 m_purify_air_at_print_end.detect_hold_start = time(nullptr);
395}
PurifyAirAtPrintEndState
Definition DevPrintOptions.h:48
int command_set_purify_air_at_print_end(PurifyAirAtPrintEndState state, MachineObject *obj)
Definition DevPrintOptions.cpp:397

References command_set_purify_air_at_print_end(), m_obj, and m_purify_air_at_print_end.

Here is the call graph for this function:

◆ GetAiMonitoring()

bool Slic3r::DevPrintOptions::GetAiMonitoring ( ) const
inline
95{ return m_ai_monitoring_detection.current_detect_value == 1; }

References m_ai_monitoring_detection.

◆ GetAiMonitoringSensitivity()

std::string Slic3r::DevPrintOptions::GetAiMonitoringSensitivity ( ) const
inline
102{ return m_ai_monitoring_detection.current_detect_sensitivity_value; }

References m_ai_monitoring_detection.

◆ GetAllowPromptSound()

bool Slic3r::DevPrintOptions::GetAllowPromptSound ( ) const
inline
99{ return m_allow_prompt_sound_detection.current_detect_value == 1; }

References m_allow_prompt_sound_detection.

◆ GetAutoRecoveryStepLoss()

bool Slic3r::DevPrintOptions::GetAutoRecoveryStepLoss ( ) const
inline
98{ return m_auto_recovery_detection.current_detect_value == 1; }

References m_auto_recovery_detection.

◆ GetBuildplateMarkerDetector()

bool Slic3r::DevPrintOptions::GetBuildplateMarkerDetector ( ) const
inline
97{ return m_buildplate_mark_detection.current_detect_value == 1; }

References m_buildplate_mark_detection.

◆ GetDetectionOption()

PrintOptionData * Slic3r::DevPrintOptions::GetDetectionOption ( PrintOptionEnum print_option)
234{
235 auto it = m_detection_list.find(print_option);
236 if (it != m_detection_list.end())
237 {
238 return it->second;
239 }
240 return nullptr;
241}

References m_detection_list.

Referenced by Slic3r::GUI::PrintOptionsDialog::update_options(), and Slic3r::GUI::PrintOptionsDialog::update_purify_air_at_print_end().

Here is the caller graph for this function:

◆ GetFilamentTangleDetect()

bool Slic3r::DevPrintOptions::GetFilamentTangleDetect ( ) const
inline
100{ return m_filament_tangle_detection.current_detect_value == 1; }

References m_filament_tangle_detection.

◆ GetFirstLayerInspector()

bool Slic3r::DevPrintOptions::GetFirstLayerInspector ( ) const
inline
96{ return m_first_layer_detection.current_detect_value == 1; }

References m_first_layer_detection.

◆ GetIdelHeatingProtectEenabled()

int Slic3r::DevPrintOptions::GetIdelHeatingProtectEenabled ( ) const
inline
101{ return m_idel_heating_protect_detection.current_detect_value; }

References m_idel_heating_protect_detection.

◆ GetPrintingSpeedLevel()

DevPrintingSpeedLevel Slic3r::DevPrintOptions::GetPrintingSpeedLevel ( ) const
inline
56{ return m_speed_level;}
DevPrintingSpeedLevel m_speed_level
Definition DevPrintOptions.h:107

References m_speed_level.

◆ parse_allow_prompt_sound_status()

void Slic3r::DevPrintOptions::parse_allow_prompt_sound_status ( int flag)
302{
303 if (time(nullptr) - m_allow_prompt_sound_detection.detect_hold_start > HOLD_TIME_3SEC) {
304 m_allow_prompt_sound_detection.current_detect_value = ((flag >> 17) & 0x1) != 0;
305 }
306}
#define HOLD_TIME_3SEC
Definition DeviceManager.hpp:56

References HOLD_TIME_3SEC, and m_allow_prompt_sound_detection.

◆ parse_auto_recovery_step_loss_status()

void Slic3r::DevPrintOptions::parse_auto_recovery_step_loss_status ( int flag)
295 {
296 if (time(nullptr) - m_auto_recovery_detection.detect_hold_start > HOLD_TIME_3SEC) {
297 m_auto_recovery_detection.current_detect_value = ((flag >> 4) & 0x1) != 0;
298 }
299}

References HOLD_TIME_3SEC, and m_auto_recovery_detection.

◆ parse_filament_tangle_detect_status()

void Slic3r::DevPrintOptions::parse_filament_tangle_detect_status ( int flag)
309{
310 if (time(nullptr) - m_filament_tangle_detection.detect_hold_start > HOLD_TIME_3SEC) {
311 m_filament_tangle_detection.current_detect_value = ((flag >> 20) & 0x1) != 0;
312 }
313}

References HOLD_TIME_3SEC, and m_filament_tangle_detection.

◆ SetPrintingSpeedLevel()

void Slic3r::DevPrintOptions::SetPrintingSpeedLevel ( DevPrintingSpeedLevel speed_level)
222{
223 if (speed_level >= SPEED_LEVEL_INVALID && speed_level < SPEED_LEVEL_COUNT)
224 {
225 m_speed_level = speed_level;
226 }
227 else
228 {
229 m_speed_level = SPEED_LEVEL_INVALID; // Reset to invalid if out of range
230 }
231}
@ SPEED_LEVEL_COUNT
Definition DevDefs.h:141
@ SPEED_LEVEL_INVALID
Definition DevDefs.h:136

References m_speed_level, Slic3r::SPEED_LEVEL_COUNT, and Slic3r::SPEED_LEVEL_INVALID.

◆ DevPrintOptionsParser

friend class DevPrintOptionsParser
friend

References DevPrintOptionsParser.

Referenced by DevPrintOptionsParser.

Member Data Documentation

◆ m_ai_monitoring_detection

◆ m_allow_prompt_sound_detection

◆ m_auto_recovery_detection

◆ m_buildplate_align_detection

PrintOptionData Slic3r::DevPrintOptions::m_buildplate_align_detection
private

◆ m_buildplate_mark_detection

◆ m_detection_list

std::map<PrintOptionEnum, PrintOptionData*> Slic3r::DevPrintOptions::m_detection_list
private

◆ m_displacement_detection

PrintOptionData Slic3r::DevPrintOptions::m_displacement_detection
private

◆ m_filament_tangle_detection

◆ m_first_layer_detection

◆ m_fod_check_detection

PrintOptionData Slic3r::DevPrintOptions::m_fod_check_detection
private

◆ m_idel_heating_protect_detection

◆ m_obj

◆ m_purify_air_at_print_end

◆ m_smart_nozzle_blob_detection

◆ m_snapshot_detection

PrintOptionData Slic3r::DevPrintOptions::m_snapshot_detection
private

◆ m_speed_level


The documentation for this class was generated from the following files: