mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
GCodeViewer -> Coloring of travel paths
This commit is contained in:
parent
90d5cf1735
commit
81a29169ae
4 changed files with 26 additions and 8 deletions
|
@ -16,6 +16,7 @@ namespace GUI {
|
|||
class GCodeViewer
|
||||
{
|
||||
static const std::vector<std::array<float, 3>> Extrusion_Role_Colors;
|
||||
static const std::vector<std::array<float, 3>> Travel_Colors;
|
||||
static const std::vector<std::array<float, 3>> Range_Colors;
|
||||
|
||||
// buffer containing vertices data
|
||||
|
@ -39,6 +40,7 @@ class GCodeViewer
|
|||
ExtrusionRole role{ erNone };
|
||||
unsigned int first{ 0 };
|
||||
unsigned int last{ 0 };
|
||||
float delta_extruder{ 0.0f };
|
||||
float height{ 0.0f };
|
||||
float width{ 0.0f };
|
||||
float feedrate{ 0.0f };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue