Don't put any M200 automatically when volumetric mode is selected. Explain how to do it manually in the tooltip. #1746
This commit is contained in:
parent
fb08588007
commit
02d717b7a3
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user