Disabled a limit of the nozzle diameter 0.4mm for the Prusa Wipe Tower.

Allowed scaling of the extrusion amount over the Prusa Wipe Tower
for layer heights over 0.2mm.
This commit is contained in:
bubnikv 2017-08-28 14:57:00 +02:00
parent 61b89865ff
commit 48f826c2c5
2 changed files with 6 additions and 2 deletions

View file

@ -558,9 +558,11 @@ std::string Print::validate() const
}
if (this->has_wipe_tower() && ! this->objects.empty()) {
#if 0
for (auto dmr : this->config.nozzle_diameter.values)
if (std::abs(dmr - 0.4) > EPSILON)
return "The Wipe Tower is currently only supported for the 0.4mm nozzle diameter.";
#endif
if (this->config.gcode_flavor != gcfRepRap)
return "The Wipe Tower is currently only supported for the RepRap (Marlin / Sprinter) G-code flavor.";
if (! this->config.use_relative_e_distances)