Belt brim: the purge prism never gets a brim, whatever its config says

The prism's generator already sets no_brim; PrintObject::has_belt_brim() now also ignores
any brim setting on the prism (belt_purge_tower_object), so a brim on the parts beside it
never blocks purging.
This commit is contained in:
harrierpigeon
2026-10-02 01:00:36 -05:00
parent e8926efbe3
commit d755580c99
+4
View File
@@ -1209,6 +1209,10 @@ bool PrintObject::has_belt_brim() const
{
if (! m_print->has_tilted_belt())
return false;
// The purge prism is sacrificial and sits at the plate's edge; its generator sets no_brim, and
// this keeps it brimless whatever its config says, so a brim on the parts never blocks purging.
if (m_config.belt_purge_tower_object.value)
return false;
if (! this->belt_brim_instances_compatible())
return false;
if (m_config.brim_type == btNoBrim)