mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-30 22:32:07 +00:00
FIX: fix error length for nozzle change
jira: none Change-Id: I1c9052cadef717888c5f8ff50e0d6e1efce6d73e (cherry picked from commit d0d5ed2f5ef69b9f5155ec64c7c0a73cfa90483e)
This commit is contained in:
@@ -281,6 +281,12 @@ public:
|
||||
if (layer_height < 0) return m_extrusion_flow;
|
||||
return layer_height * (m_perimeter_width - layer_height * (1.f - float(M_PI) / 4.f)) / filament_area();
|
||||
}
|
||||
float nozzle_change_extrusion_flow(float layer_height = -1.f) const // negative layer_height - return current m_extrusion_flow
|
||||
{
|
||||
if (layer_height < 0)
|
||||
return m_extrusion_flow;
|
||||
return layer_height * (m_nozzle_change_perimeter_width - layer_height * (1.f - float(M_PI) / 4.f)) / filament_area();
|
||||
}
|
||||
|
||||
bool get_floating_area(float& start_pos_y, float& end_pos_y) const;
|
||||
bool need_thick_bridge_flow(float pos_y) const;
|
||||
|
||||
Reference in New Issue
Block a user