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

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2014-10-25 12:42:07 +0400
committerAlessandro Ranellucci <aar@cpan.org>2014-10-25 12:42:07 +0400
commit7f57f007cd8d3e6586e7d14789df9025e9201ae2 (patch)
tree88c5f6f6ab25cfaf543d65ea8d7648295fd7414d /xs/src/libslic3r/Extruder.cpp
parentc2e710d0920f117b363f90c0b93e6e8c36eaf9e0 (diff)
Refactoring: moved Slic3r::GCode::Base to Slic3r::GCode::Writer
Diffstat (limited to 'xs/src/libslic3r/Extruder.cpp')
-rw-r--r--xs/src/libslic3r/Extruder.cpp44
1 files changed, 1 insertions, 43 deletions
diff --git a/xs/src/libslic3r/Extruder.cpp b/xs/src/libslic3r/Extruder.cpp
index f3cf5ab2c..d0934851e 100644
--- a/xs/src/libslic3r/Extruder.cpp
+++ b/xs/src/libslic3r/Extruder.cpp
@@ -2,7 +2,7 @@
namespace Slic3r {
-Extruder::Extruder(int id, PrintConfig *config)
+Extruder::Extruder(int id, GCodeConfig *config)
: id(id),
config(config)
{
@@ -91,18 +91,6 @@ Extruder::used_filament() const
return this->absolute_E + this->retracted;
}
-Pointf
-Extruder::extruder_offset() const
-{
- return this->config->extruder_offset.get_at(this->id);
-}
-
-double
-Extruder::nozzle_diameter() const
-{
- return this->config->nozzle_diameter.get_at(this->id);
-}
-
double
Extruder::filament_diameter() const
{
@@ -115,18 +103,6 @@ Extruder::extrusion_multiplier() const
return this->config->extrusion_multiplier.get_at(this->id);
}
-int
-Extruder::temperature() const
-{
- return this->config->temperature.get_at(this->id);
-}
-
-int
-Extruder::first_layer_temperature() const
-{
- return this->config->first_layer_temperature.get_at(this->id);
-}
-
double
Extruder::retract_length() const
{
@@ -152,18 +128,6 @@ Extruder::retract_restart_extra() const
}
double
-Extruder::retract_before_travel() const
-{
- return this->config->retract_before_travel.get_at(this->id);
-}
-
-bool
-Extruder::retract_layer_change() const
-{
- return this->config->retract_layer_change.get_at(this->id);
-}
-
-double
Extruder::retract_length_toolchange() const
{
return this->config->retract_length_toolchange.get_at(this->id);
@@ -175,12 +139,6 @@ Extruder::retract_restart_extra_toolchange() const
return this->config->retract_restart_extra_toolchange.get_at(this->id);
}
-bool
-Extruder::wipe() const
-{
- return this->config->wipe.get_at(this->id);
-}
-
#ifdef SLIC3RXS
REGISTER_CLASS(Extruder, "Extruder");