mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
NEW: add gcode conflict checker
1. add gcode conflict checker 2. add a new command line option: --no_check. When it's provided, gcode conflict check is skipped. Change-Id: I6feafca8c5fa6c3c5eae1f0e541ce59d2f03dedf (cherry picked from commit 5a39afb64e826a960d9673dcada89d02d62b3911)
This commit is contained in:
parent
36e0cc0b12
commit
d43c7d5c92
8 changed files with 410 additions and 1 deletions
|
@ -510,6 +510,8 @@ public:
|
|||
//BBS: get/set plate id
|
||||
int get_plate_index() const { return m_plate_index; }
|
||||
void set_plate_index(int index) { m_plate_index = index; }
|
||||
bool get_no_check_flag() const { return m_no_check; }
|
||||
void set_no_check_flag(bool no_check) { m_no_check = no_check; }
|
||||
|
||||
protected:
|
||||
friend class PrintObjectBase;
|
||||
|
@ -544,6 +546,7 @@ protected:
|
|||
|
||||
//BBS: add plate id into print base
|
||||
int m_plate_index{ 0 };
|
||||
bool m_no_check = false;
|
||||
|
||||
// Callback to be evoked regularly to update state of the UI thread.
|
||||
status_callback_type m_status_callback;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue