Create validation error when both avoid crossing curled overhangs and avoid crossing perimeters are both enabled together

Update of the previous fix of extra perimeters - do not allow changing the direction of the paths after they have been sorted
This commit is contained in:
Pavel Mikus 2023-02-03 15:25:21 +01:00
parent d09f31db9c
commit 79d5a38928
2 changed files with 17 additions and 1 deletions

View file

@ -474,6 +474,10 @@ std::string Print::validate(std::string* warning) const
return L("Some objects are too tall and cannot be printed without extruder collisions.");
}
if (m_config.avoid_crossing_perimeters && m_config.avoid_crossing_curled_overhangs) {
return L("Avoid crossing perimeters option and avoid crossing curled overhangs option cannot be both enabled together.");
}
if (m_config.spiral_vase) {
size_t total_copies_count = 0;
for (const PrintObject *object : m_objects)