Browse Source

Disable "Small Feature Max Length", "Small Feature Speed" and "Small Feature Initial Layer Speed" when "small hole size = 0"

CURA-9987
c.lamboo 2 years ago
parent
commit
532965fb46
1 changed files with 3 additions and 0 deletions
  1. 3 0
      resources/definitions/fdmprinter.def.json

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

@@ -8161,6 +8161,7 @@
                         "small_feature_max_length":
                         {
                             "label": "Small Feature Max Length",
+                            "enabled": "small_hole_max_size > 0",
                             "description": "Feature outlines that are shorter than this length will be printed using Small Feature Speed.",
                             "unit": "mm",
                             "type": "float",
@@ -8174,6 +8175,7 @@
                 "small_feature_speed_factor":
                 {
                     "label": "Small Feature Speed",
+                    "enabled": "small_hole_max_size > 0",
                     "description": "Small features will be printed at this percentage of their normal print speed. Slower printing can help with adhesion and accuracy.",
                     "unit": "%",
                     "type": "float",
@@ -8186,6 +8188,7 @@
                 "small_feature_speed_factor_0":
                 {
                     "label": "Small Feature Initial Layer Speed",
+                    "enabled": "small_hole_max_size > 0",
                     "description": "Small features on the first layer will be printed at this percentage of their normal print speed. Slower printing can help with adhesion and accuracy.",
                     "unit": "%",
                     "type": "float",