GCodeViewer -> Coloring of travel paths

This commit is contained in:
enricoturri1966 2020-04-24 08:46:31 +02:00
parent 90d5cf1735
commit 81a29169ae
4 changed files with 26 additions and 8 deletions

View file

@ -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 };