mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-24 01:01:15 -06:00
Fixes for Multi Material ramming, increased separation of wipe lines.
This commit is contained in:
parent
a99b006b98
commit
dfc4717308
3 changed files with 26 additions and 24 deletions
|
|
@ -90,14 +90,15 @@ public:
|
|||
m_current_shape = (! is_first_layer && m_current_shape == SHAPE_NORMAL) ? SHAPE_REVERSED : SHAPE_NORMAL;
|
||||
++ m_num_layer_changes;
|
||||
|
||||
int layer_idx = int(std::floor(layer_height * 100) + 0.5f);
|
||||
int layer_idx = int(std::floor(layer_height * 1000) + 0.5f);
|
||||
switch (layer_idx)
|
||||
{
|
||||
case 15:
|
||||
m_extrusion_flow = (float)0.024;
|
||||
case 150:
|
||||
m_extrusion_flow = (float)0.0218;
|
||||
break;
|
||||
case 20:
|
||||
case 200:
|
||||
default:
|
||||
// Extrusion rate for an extrusion aka perimeter width 0.35mm.
|
||||
m_extrusion_flow = (float)0.029;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue