Klipper: Adding the new firmware flavor:

- added the new option
- allowed machine limits page
- added a check for Klipper + 'emit limits to gcode' (Print::validate so far)
This commit is contained in:
Lukas Matena 2023-03-09 14:05:04 +01:00
parent 3ff600bed0
commit 42f1217f6e
4 changed files with 13 additions and 5 deletions

View file

@ -502,6 +502,10 @@ std::string Print::validate(std::string* warning) const
return _u8L("The Spiral Vase option can only be used when printing single material objects.");
}
if (m_config.machine_limits_usage == MachineLimitsUsage::EmitToGCode && m_config.gcode_flavor == gcfKlipper)
return L("Machine limits cannot be emitted to G-Code when Klipper firmware flavor is used. "
"Change the value of machine_limits_usage.");
// Cache of layer height profiles for checking:
// 1) Whether all layers are synchronized if printing with wipe tower and / or unsynchronized supports.
// 2) Whether layer height is constant for Organic supports.