mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-06-26 01:15:28 -06:00
20 lines
732 B
Python
20 lines
732 B
Python
# Copyright (c) 2017 Ultimaker B.V.
|
|
# Uranium is released under the terms of the LGPLv3 or higher.
|
|
|
|
import UM.Settings.Models.SettingVisibilityHandler
|
|
|
|
class MaterialSettingsVisibilityHandler(UM.Settings.Models.SettingVisibilityHandler.SettingVisibilityHandler):
|
|
def __init__(self, parent = None, *args, **kwargs):
|
|
super().__init__(parent = parent, *args, **kwargs)
|
|
|
|
material_settings = {
|
|
"default_material_print_temperature",
|
|
"material_bed_temperature",
|
|
"material_standby_temperature",
|
|
"material_flow_temp_graph",
|
|
"cool_fan_speed",
|
|
"retraction_amount",
|
|
"retraction_speed",
|
|
}
|
|
|
|
self.setVisible(material_settings)
|