GCodeViewer -> Extrusion toolpaths colored by volumetric rate

This commit is contained in:
enricoturri1966 2020-04-21 11:38:42 +02:00
parent 53d758639f
commit 443a511420
3 changed files with 36 additions and 60 deletions

View file

@ -80,6 +80,8 @@ namespace Slic3r {
float mm3_per_mm{ 0.0f };
float fan_speed{ 0.0f }; // percentage
float volumetric_rate() const { return feedrate * mm3_per_mm; }
std::string to_string() const
{
std::string str = std::to_string((int)type);