Cyclic ordering (#13578)

Co-authored-by: Ian Bassi <ian.bassi@outlook.com>
This commit is contained in:
Maksym Pyrozhok
2026-07-28 01:52:29 +03:00
committed by GitHub
parent 47ccca7f72
commit ef7bfeda9c
11 changed files with 897 additions and 11 deletions

View File

@@ -539,6 +539,11 @@ private:
// Cache for custom seam enforcers/blockers for each layer.
SeamPlacer m_seam_placer;
// Cache per-filament ordering to avoid recomputing when object set is unchanged across layers.
// Key: filament_id. Value: {sorted ObjectIDs of objects present on this filament, cached ordering}.
std::map<unsigned int, std::pair<std::vector<ObjectID>, std::vector<const PrintInstance*>>>
m_ordering_cache;
ExtrusionQualityEstimator m_extrusion_quality_estimator;