ENH: remove the limit for number of tpu filaments

jira:STUDIO-11995

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ifd3ff7bf870570f9691b7008d8ca6ee8245c046d
(cherry picked from commit cd3219e6654d126363c04d0135bece62dcf94e39)
This commit is contained in:
xun.zhang
2025-05-16 12:04:26 +08:00
committed by Noisyfox
parent 09bdbbbed2
commit 1e9d825dbb
4 changed files with 2 additions and 48 deletions

View File

@@ -1756,10 +1756,8 @@ bool PartPlate::check_filament_printable(const DynamicPrintConfig &config, wxStr
bool PartPlate::check_tpu_printable_status(const DynamicPrintConfig & config, const std::vector<int> &tpu_filaments)
{
bool tpu_valid = true;
// only support at most 1 tpu
return tpu_filaments.size() <=1;
// do not limit the num of tpu filament in slicing
return true;
}
bool PartPlate::check_mixture_of_pla_and_petg(const DynamicPrintConfig &config)