Removed the rather hacky implementation of the shrinkage factor averaging. Issues with dual extrusion were the second extruder is not used should solved in a different way.

Relates to PP-77
This commit is contained in:
p.kuiper 2022-04-06 13:28:55 +02:00
parent 733447a2dd
commit 0a8ef5162e
4 changed files with 43 additions and 22 deletions

View file

@ -139,4 +139,4 @@ class ModelChecker(QObject, Extension):
global_container_stack = Application.getInstance().getGlobalContainerStack()
if global_container_stack is None:
return 100
return max(global_container_stack.getProperty("material_shrinkage_percentage_xy", "value"), global_container_stack.getProperty("material_shrinkage_percentage_z", "value"))
return global_container_stack.getProperty("material_shrinkage_percentage", "value")