mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 17:58:03 -06:00
Testing for the required parameter combinations before enabling the wipe tower.
The wipe tower needs to be made more general in the future to overcome these limitations.
This commit is contained in:
parent
88c9ae6ca6
commit
72f348658f
2 changed files with 48 additions and 4 deletions
|
@ -564,6 +564,16 @@ std::string Print::validate() const
|
|||
if (this->regions.size() > 1)
|
||||
return "The Spiral Vase option can only be used when printing single material objects.";
|
||||
}
|
||||
|
||||
if (this->config.wipe_tower) {
|
||||
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.";
|
||||
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)
|
||||
return "The Wipe Tower is currently only supported with the relative extruder addressing (use_relative_e_distances=1).";
|
||||
}
|
||||
|
||||
{
|
||||
// find the smallest nozzle diameter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue