diff options
author | p.kuiper <p.kuiper@ultimaker.com> | 2022-04-01 14:00:41 +0300 |
---|---|---|
committer | p.kuiper <p.kuiper@ultimaker.com> | 2022-04-01 14:00:41 +0300 |
commit | 733447a2dd16ea4b036a34543e5ba40dc2d61ef0 (patch) | |
tree | 7b6cc3bdbfb34526d00870c08acd6fa2ec9c326f /cura | |
parent | 4bb79654d4e8d77dbb8ce0bac7694a653d3eee3e (diff) |
Removed the settings: "material_shrinkage_percentage" and update code that was using this parameter.PP-77_shrinkage_compensation_for_PLA_TPLA_PETG
material_shrinkage_percentage_xy and material_shrinkage_percentage_z cannot depend on material_shrinkage_percentage otherwise their resolve function will not execute properly.
I noticed that the shrinkage factors do not get the correct value if a wrong nozzle is chosen for a material. However, in that case the slicer will also not slice, so in practice this is not an issue
Relates to PP-77
Diffstat (limited to 'cura')
-rw-r--r-- | cura/Scene/ConvexHullDecorator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/Scene/ConvexHullDecorator.py b/cura/Scene/ConvexHullDecorator.py index 36697b7c57..4545a49aa0 100644 --- a/cura/Scene/ConvexHullDecorator.py +++ b/cura/Scene/ConvexHullDecorator.py @@ -383,7 +383,7 @@ class ConvexHullDecorator(SceneNodeDecorator): # Shrinkage compensation. if not self._global_stack: # Should never happen. return convex_hull - scale_factor = self._global_stack.getProperty("material_shrinkage_percentage", "value") / 100.0 + scale_factor = self._global_stack.getProperty("material_shrinkage_percentage_xy", "value") / 100.0 result = convex_hull if scale_factor != 1.0 and not self.getNode().callDecoration("isGroup"): center = None |