mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 03:07:55 -06:00
draft version
This commit is contained in:
parent
1df89650e9
commit
a3bae2f9a5
7 changed files with 47 additions and 34 deletions
|
@ -88,6 +88,12 @@ enum PrintObjectStep {
|
|||
posInfill, posIroning, posSupportMaterial, posSimplifyPath, posSimplifySupportPath, posCount,
|
||||
};
|
||||
|
||||
enum CalibMode {
|
||||
Calib_None = 0,
|
||||
Calib_PA_DDE,
|
||||
Calib_PA_Bowden
|
||||
};
|
||||
|
||||
// A PrintRegion object represents a group of volumes to print
|
||||
// sharing the same config (including the same assigned extruder(s))
|
||||
class PrintRegion
|
||||
|
@ -735,8 +741,8 @@ public:
|
|||
//SoftFever
|
||||
bool &is_BBL_printer() { return m_isBBLPrinter; }
|
||||
const bool is_BBL_printer() const { return m_isBBLPrinter; }
|
||||
bool &is_calib_mode() { return m_calib_mode; }
|
||||
const bool is_calib_mode() const { return m_calib_mode; }
|
||||
CalibMode& is_calib_mode() { return m_calib_mode; }
|
||||
const CalibMode is_calib_mode() const { return m_calib_mode; }
|
||||
protected:
|
||||
// Invalidates the step, and its depending steps in Print.
|
||||
bool invalidate_step(PrintStep step);
|
||||
|
@ -790,7 +796,7 @@ private:
|
|||
int m_modified_count {0};
|
||||
|
||||
//SoftFever: calibration mode, change to enum later
|
||||
bool m_calib_mode;
|
||||
CalibMode m_calib_mode;
|
||||
|
||||
// To allow GCode to set the Print's GCodeExport step status.
|
||||
friend class GCode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue