Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Extruder.hpp « libslic3r « src « xs - github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9caa38c8943a4150c0640a276bd09027b0e014e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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