GCode Preview - Added visualization of volumetric flow rate

This commit is contained in:
Enrico Turri 2018-03-21 10:03:10 +01:00
parent 78d1d83583
commit 4a179c81d2
5 changed files with 28 additions and 1 deletions

View file

@ -50,6 +50,7 @@ public:
Range height;
Range width;
Range feedrate;
Range volumetric_rate;
};
struct LegendItem
@ -70,6 +71,7 @@ public:
Height,
Width,
Feedrate,
VolumetricRate,
Tool,
Num_View_Types
};
@ -190,6 +192,7 @@ public:
const Color& get_height_color(float height) const;
const Color& get_width_color(float width) const;
const Color& get_feedrate_color(float feedrate) const;
const Color& get_volumetric_rate_color(float rate) const;
void set_extrusion_role_color(const std::string& role_name, float red, float green, float blue, float alpha);
void set_extrusion_paths_colors(const std::vector<std::string>& colors);