daily pastebin goal
94%
SHARE
TWEET

Untitled

a guest Jan 24th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Copyright (c) 2017 Ultimaker B.V.
  2. # Cura is released under the terms of the LGPLv3 or higher.
  3.  
  4. import UM.Settings.Models.SettingVisibilityHandler
  5.  
  6.  
  7. class MaterialSettingsVisibilityHandler(UM.Settings.Models.SettingVisibilityHandler.SettingVisibilityHandler):
  8.     def __init__(self, parent=None, *args, **kwargs):
  9.         super().__init__(parent=parent, *args, **kwargs)
  10.  
  11.         material_settings = {
  12.             "default_material_print_temperature",
  13.             "default_material_bed_temperature",
  14.             "material_standby_temperature",
  15.             "material_bed_temperature_layer_0",
  16.             "material_flow",
  17.             "material_flow_layer_0",
  18.             #"material_linear_advance_factor", # uncomment if you are using Linear Advance Plugin
  19.             "cool_fan_speed",
  20.             "retraction_amount",
  21.             "retraction_speed",
  22.         }
  23.  
  24.         self.setVisible(material_settings)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top