mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
FIX: the option to adjust the first layer flow
Change-Id: Icf0c2686cc78c26724438ddc80d1894ac50ec179 Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
This commit is contained in:
parent
646cd5a209
commit
a321121acc
5 changed files with 10 additions and 8 deletions
|
@ -3882,8 +3882,8 @@ std::string GCode::_extrude(const ExtrusionPath &path, std::string description,
|
|||
// calculate extrusion length per distance unit
|
||||
if( path.role() == erTopSolidInfill )
|
||||
_mm3_per_mm *= m_config.top_solid_infill_flow_ratio.value;
|
||||
else if (path.role() == erBottomSurface)
|
||||
_mm3_per_mm *= m_config.bottom_solid_infill_flow_ratio.value;
|
||||
else if (this->on_first_layer())
|
||||
_mm3_per_mm *= m_config.initial_layer_flow_ratio.value;
|
||||
|
||||
double e_per_mm = m_writer.extruder()->e_per_mm3() * _mm3_per_mm;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue