1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-13 08:24:27 +00:00

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
+2
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);