Wipe tower: don't use soluble filament for perimeters, sparse infill or first layer

This commit is contained in:
Lukas Matena 2021-03-19 15:26:55 +01:00
parent 3ed68ac28a
commit f6de946dd7
2 changed files with 87 additions and 40 deletions

View file

@ -361,6 +361,11 @@ private:
// Stores information about used filament length per extruder:
std::vector<float> m_used_filament_length;
// Return index of first toolchange that switches to non-soluble extruder
// ot -1 if there is no such toolchange.
int first_toolchange_to_nonsoluble(
const std::vector<WipeTowerInfo::ToolChange>& tool_changes) const;
// Returns gcode for wipe tower brim
// sideOnly -- set to false -- experimental, draw brim on sides of wipe tower