diff options
Diffstat (limited to 'xs/src/libslic3r/Extruder.hpp')
-rw-r--r-- | xs/src/libslic3r/Extruder.hpp | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/xs/src/libslic3r/Extruder.hpp b/xs/src/libslic3r/Extruder.hpp new file mode 100644 index 000000000..9caa38c89 --- /dev/null +++ b/xs/src/libslic3r/Extruder.hpp @@ -0,0 +1,46 @@ +#ifndef slic3r_Extruder_hpp_ +#define slic3r_Extruder_hpp_ + +#include <myinit.h> +#include "Point.hpp" +#include "PrintConfig.hpp" + +namespace Slic3r { + +class Extruder +{ + public: + Extruder(int id, PrintConfig *config); + virtual ~Extruder() {} + void reset(); + double extrude(double dE); + + + Pointf extruder_offset() const; + double nozzle_diameter() const; + double filament_diameter() const; + double extrusion_multiplier() const; + int temperature() const; + int first_layer_temperature() const; + double retract_length() const; + double retract_lift() const; + int retract_speed() const; + double retract_restart_extra() const; + double retract_before_travel() const; + bool retract_layer_change() const; + double retract_length_toolchange() const; + double retract_restart_extra_toolchange() const; + bool wipe() const; + + int id; + double E; + double absolute_E; + double retracted; + double restart_extra; + + PrintConfig *config; +}; + +} + +#endif |