Separate legacy bed areas from collision volumes

This commit is contained in:
Harry Loud committed 2026-09-21 10:28:26 +01:00
1 parent e49840d0c6
commit f832cae2eb
21 files changed
+558 -279

No files matched your search

@@ -114,7 +114,10 @@ void ExclusionVolumePathChecker::configure(const PrintConfig &config)
std::vector<PreparedRegion> &prepared = m_regions_by_extruder[extruder_id];
prepared.reserve(regions[extruder_id].size());
for (const BedExcludeRegion &region : regions[extruder_id]) {
if (region.polygon.points.size() < 3 || region.z_max < region.z_min)
// Legacy excluded areas are material keep-outs. Some stock profiles
// deliberately move the nozzle into them (for example, a cutter), so
// only explicitly configured collision volumes constrain motion.
if (!region.is_collision_volume() || region.polygon.points.size() < 3 || region.z_max < region.z_min)
continue;
PreparedRegion item;