ENH: move filament compatibility checking to public

As title. This function need to be used in calibration
page.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ia4228cbd195d87f433b59bc14129bd4acdd9df68
This commit is contained in:
salt.wei 2023-06-30 15:46:34 +08:00 committed by Lane.Wei
parent dac0a90605
commit 73059c79af
2 changed files with 37 additions and 25 deletions

View file

@ -819,6 +819,8 @@ public:
// scaled point
Vec2d translate_to_print_space(const Point& point) const;
static bool check_multi_filaments_compatibility(const std::vector<std::string>& filament_types);
protected:
// Invalidates the step, and its depending steps in Print.
bool invalidate_step(PrintStep step);