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

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2015-01-09 14:02:04 +0300
committerAlessandro Ranellucci <aar@cpan.org>2015-01-09 14:02:04 +0300
commit02d717b7a39e8fbbfaa5a63687f5810e3ea35721 (patch)
tree5f2da0c5e76fea552dfa2d41dba2b849497054dc
parentfb08588007111634586a82d629043dc5d4d82f8e (diff)
Don't put any M200 automatically when volumetric mode is selected. Explain how to do it manually in the tooltip. #1746
-rw-r--r--xs/src/libslic3r/GCodeWriter.cpp10
-rw-r--r--xs/src/libslic3r/PrintConfig.cpp2
2 files changed, 1 insertions, 11 deletions
diff --git a/xs/src/libslic3r/GCodeWriter.cpp b/xs/src/libslic3r/GCodeWriter.cpp
index 0fe15809e..9aa7616a6 100644
--- a/xs/src/libslic3r/GCodeWriter.cpp
+++ b/xs/src/libslic3r/GCodeWriter.cpp
@@ -60,16 +60,6 @@ GCodeWriter::preamble()
} else {
gcode << "M82 ; use absolute distances for extrusion\n";
}
- if (this->config.use_volumetric_e && this->config.start_gcode.value.find("M200") == std::string::npos) {
- for (std::map<unsigned int,Extruder>::const_iterator it = this->extruders.begin(); it != this->extruders.end(); ++it) {
- unsigned int extruder_id = it->first;
- gcode << "M200 D" << E_NUM(this->config.filament_diameter.get_at(extruder_id));
- if (this->multiple_extruders || extruder_id != 0) {
- gcode << " T" << extruder_id;
- }
- gcode << " ; set filament diameter\n";
- }
- }
gcode << this->reset_e(true);
}
diff --git a/xs/src/libslic3r/PrintConfig.cpp b/xs/src/libslic3r/PrintConfig.cpp
index e18179cd1..6d331b4d1 100644
--- a/xs/src/libslic3r/PrintConfig.cpp
+++ b/xs/src/libslic3r/PrintConfig.cpp
@@ -947,7 +947,7 @@ PrintConfigDef::build_def() {
Options["use_volumetric_e"].type = coBool;
Options["use_volumetric_e"].label = "Use volumetric E";
- Options["use_volumetric_e"].tooltip = "This experimental setting uses outputs the E values in cubic millimeters instead of linear millimeters. The M200 command is prepended to the generated G-code, unless it is found in the configured start G-code. This is only supported in recent Marlin.";
+ Options["use_volumetric_e"].tooltip = "This experimental setting uses outputs the E values in cubic millimeters instead of linear millimeters. If your firmware doesn't already know filament diameter(s), you can put commands like 'M200 D[filament_diameter_0] T0' in your start G-code in order to turn volumetric mode on and use the filament diameter associated to the filament selected in Slic3r. This is only supported in recent Marlin.";
Options["use_volumetric_e"].cli = "use-volumetric-e!";
Options["vibration_limit"].type = coFloat;