ENH: add back use_relative_e for third party printer

Useless for BambuPrinter. But used by third party printer

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ib6a63e78816b25696c25952508f76c3d9221e363
This commit is contained in:
salt.wei 2023-06-21 15:51:01 +08:00 committed by Lane.Wei
parent 9bd0e3e85b
commit 766abf92fa
13 changed files with 31 additions and 23 deletions

View file

@ -162,6 +162,7 @@ bool Print::invalidate_state_by_config_options(const ConfigOptionResolver & /* n
"inner_wall_acceleration",
"sparse_infill_acceleration",
"exclude_object",
"use_relative_e_distances"
};
static std::unordered_set<std::string> steps_ignore;
@ -973,6 +974,8 @@ StringObjectException Print::validate(StringObjectException *warning, Polygons*
return { ("Different nozzle diameters and different filament diameters is not allowed when prime tower is enabled.") };
}
if (! m_config.use_relative_e_distances)
return { ("The Wipe Tower is currently only supported with the relative extruder addressing (use_relative_e_distances=1).") };
if (m_config.ooze_prevention)
return { ("Ooze prevention is currently not supported with the prime tower enabled.") };