Ported GCode::set_extruder() and OozePrevention

This commit is contained in:
Alessandro Ranellucci 2015-07-02 15:02:20 +02:00
parent 72355a9500
commit a6f4c8e567
4 changed files with 101 additions and 86 deletions

View file

@ -44,6 +44,11 @@ class OozePrevention {
Points standby_points;
OozePrevention();
std::string pre_toolchange(GCode &gcodegen);
std::string post_toolchange(GCode &gcodegen);
private:
int _get_temp(GCode &gcodegen);
};
class Wipe {
@ -90,6 +95,7 @@ class GCode {
bool needs_retraction(const Polyline &travel, ExtrusionRole role = erNone);
std::string retract(bool toolchange = false);
std::string unretract();
std::string set_extruder(unsigned int extruder_id);
Pointf point_to_gcode(const Point &point);
private: