Updated upgrade script. removed update of materials other than:

abs
 pla
 petg and
 tough-pla

CURA-11151
This commit is contained in:
saumya.jain 2023-10-16 14:13:12 +02:00
parent dc66732150
commit 8ca005f804

View File

@ -11,7 +11,7 @@ import re
class VersionUpgrade54to55(VersionUpgrade):
profile_regex = re.compile(
r"um\_(?P<machine>s(3|5|7))_(?P<core_type>aa|cc|bb)(?P<nozzle_size>0\.(6|4|8))_(?P<material>pla|petg|abs|cpe|cpe_plus|nylon|pc|petcf|tough_pla|tpu)_(?P<layer_height>0\.\d{1,2}mm)")
r"um\_(?P<machine>s(3|5|7))_(?P<core_type>aa|cc|bb)(?P<nozzle_size>0\.(6|4|8))_(?P<material>pla|petg|abs|tough_pla)_(?P<layer_height>0\.\d{1,2}mm)")
@staticmethod
def _isUpgradedUltimakerDefinitionId(definition_id: str) -> bool: