mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-21 00:51:56 -06:00
Fixed an issue where the Max Volumetric Speed doesn't consider the Filament Flow Ratio (#9218)
* Rework extrusion-per-mm and speed-cap logic to enforce max vol speed * Fix _mm3_per_mm typo
This commit is contained in:
parent
2349ea063d
commit
ee7ebda584
2 changed files with 11 additions and 3 deletions
|
@ -34,7 +34,9 @@ public:
|
|||
double unretract();
|
||||
double E() const { return m_share_extruder ? m_share_E : m_E; }
|
||||
void reset_E() { m_E = 0.; m_share_E = 0.; }
|
||||
// e_per_mm is extrusion_per_mm = geometric volume * (filament flow ratio / cross-sectional area) [Doesn't account for print_flow_ratio, or modifiers like bridge flow ratio etc.]
|
||||
double e_per_mm(double mm3_per_mm) const { return mm3_per_mm * m_e_per_mm3; }
|
||||
// e_per_mm3 is extrusion_per_mm3 = filament flow ratio / cross-sectional area [Doesn't account for print_flow_ratio, or modifiers like bridge flow ratio etc.]
|
||||
double e_per_mm3() const { return m_e_per_mm3; }
|
||||
// Used filament volume in mm^3.
|
||||
double extruded_volume() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue