mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
GCodeViewer -> Extrusion toolpaths colored by volumetric rate
This commit is contained in:
parent
53d758639f
commit
443a511420
3 changed files with 36 additions and 60 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue