mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-23 08:41:11 -06:00
GCode Preview - Added objects and wipe tower transparent shells
This commit is contained in:
parent
6b14e7cc54
commit
3f006dc11a
8 changed files with 152 additions and 1 deletions
|
@ -298,7 +298,12 @@ void GCodeAnalyzer::PreviewData::Retraction::set_default()
|
|||
{
|
||||
color = Default_Color;
|
||||
is_visible = false;
|
||||
};
|
||||
}
|
||||
|
||||
void GCodeAnalyzer::PreviewData::Shell::set_default()
|
||||
{
|
||||
is_visible = false;
|
||||
}
|
||||
|
||||
GCodeAnalyzer::PreviewData::PreviewData()
|
||||
{
|
||||
|
@ -311,6 +316,7 @@ void GCodeAnalyzer::PreviewData::set_default()
|
|||
travel.set_default();
|
||||
retraction.set_default();
|
||||
unretraction.set_default();
|
||||
shell.set_default();
|
||||
}
|
||||
|
||||
void GCodeAnalyzer::PreviewData::reset()
|
||||
|
|
|
@ -256,10 +256,18 @@ public:
|
|||
void set_default();
|
||||
};
|
||||
|
||||
struct Shell
|
||||
{
|
||||
bool is_visible;
|
||||
|
||||
void set_default();
|
||||
};
|
||||
|
||||
Extrusion extrusion;
|
||||
Travel travel;
|
||||
Retraction retraction;
|
||||
Retraction unretraction;
|
||||
Shell shell;
|
||||
|
||||
PreviewData();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue