Fixes of the Prusa Multi Material wipe tower.

This commit is contained in:
bubnikv 2017-05-17 16:45:37 +02:00
parent 4bc827d1da
commit 7b6c9b3b3c
5 changed files with 188 additions and 138 deletions

View file

@ -51,7 +51,13 @@ public:
virtual std::pair<std::string, xy> tool_change(int new_tool) = 0;
// Close the current wipe tower layer with a perimeter and possibly fill the unfilled space with a zig-zag.
virtual std::pair<std::string, xy> close_layer() = 0;
// Call this method only if layer_finished() is false.
virtual std::pair<std::string, xy> finish_layer() = 0;
// Is the current layer finished? A layer is finished if either the wipe tower is finished, or
// the wipe tower has been completely covered by the tool change extrusions,
// or the rest of the tower has been filled by a sparse infill with the finish_layer() method.
virtual bool layer_finished() const = 0;
};
}; // namespace Slic3r