mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
FIX: the wipe tower should not show for printer which is not support clumping
jira: none Change-Id: Ife535adb406224252fe8b0b3e7807a3e84752cc2 (cherry picked from commit 2f2bc935bfeb325de548e4cf867eb2d3a5d67879)
This commit is contained in:
@@ -95,7 +95,7 @@ public:
|
||||
m_plate_origin(plate_origin),
|
||||
m_single_extruder_multi_material(print_config.single_extruder_multi_material),
|
||||
m_enable_timelapse_print(print_config.timelapse_type.value == TimelapseType::tlSmooth),
|
||||
m_enable_wrapping_detection(print_config.enable_wrapping_detection && (slice_used_filaments.size() <= 1)),
|
||||
m_enable_wrapping_detection(print_config.enable_wrapping_detection && (print_config.wrapping_exclude_area.values.size() > 2) && (slice_used_filaments.size() <= 1)),
|
||||
m_is_first_print(true),
|
||||
m_print_config(&print_config)
|
||||
{
|
||||
|
||||
@@ -1501,7 +1501,7 @@ WipeTower::WipeTower(const PrintConfig& config, int plate_idx, Vec3d plate_origi
|
||||
//wipe_volumes(flush_matrix)
|
||||
m_enable_timelapse_print(config.timelapse_type.value == TimelapseType::tlSmooth),
|
||||
m_enable_wrapping_detection(config.enable_wrapping_detection),
|
||||
m_wrapping_detection_layers(config.wrapping_detection_layers.value),
|
||||
m_wrapping_detection_layers(config.wrapping_detection_layers.value && (config.wrapping_exclude_area.values.size() > 2)),
|
||||
m_slice_used_filaments(slice_used_filaments.size()),
|
||||
m_filaments_change_length(config.filament_change_length.values),
|
||||
m_is_multi_extruder(config.nozzle_diameter.size() > 1),
|
||||
|
||||
@@ -2956,7 +2956,7 @@ size_t Print::get_extruder_id(unsigned int filament_id) const
|
||||
bool Print::has_wipe_tower() const
|
||||
{
|
||||
if (m_config.enable_prime_tower.value == true) {
|
||||
if (m_config.enable_wrapping_detection.value)
|
||||
if (m_config.enable_wrapping_detection.value && m_config.wrapping_exclude_area.values.size() > 2)
|
||||
return true;
|
||||
|
||||
if (enable_timelapse_print())
|
||||
|
||||
Reference in New Issue
Block a user