Browse Source

Added warnings to top/bottom thickness if it exceeds machine height

CURA-1706
Jaime van Kessel 8 years ago
parent
commit
8a4ea5c710
1 changed files with 3 additions and 1 deletions
  1. 3 1
      resources/definitions/fdmprinter.def.json

+ 3 - 1
resources/definitions/fdmprinter.def.json

@@ -582,6 +582,7 @@
                     "default_value": 0.8,
                     "minimum_value": "0",
                     "minimum_value_warning": "0.6",
+                    "maximum_value_warning": "machine_height",
                     "type": "float",
                     "settable_per_mesh": true,
                     "children":
@@ -593,7 +594,7 @@
                             "unit": "mm",
                             "default_value": 0.8,
                             "minimum_value": "0",
-                            "maximum_value_warning": "100",
+                            "maximum_value_warning": "machine_height",
                             "type": "float",
                             "value": "top_bottom_thickness",
                             "settable_per_mesh": true,
@@ -621,6 +622,7 @@
                             "minimum_value": "0",
                             "type": "float",
                             "value": "top_bottom_thickness",
+                            "maximum_value_warning": "machine_height",
                             "settable_per_mesh": true,
                             "children":
                             {