diff options
author | Mark Burton <markb@smartavionics.com> | 2017-08-24 17:24:10 +0300 |
---|---|---|
committer | Mark Burton <markb@smartavionics.com> | 2017-08-24 17:24:10 +0300 |
commit | 2db96f02f43699c8e38bf0e05c2f65cde6473433 (patch) | |
tree | ccb8f54e5827dd24ab69000d42d416fc5305c7b3 /resources/definitions/fdmprinter.def.json | |
parent | 2c13f5dc75230e3e6c5ffe849e2a6da5bd04a1f8 (diff) |
Revised minimum_value and minimum_value_warning values.
Now just constrains z_offset_taper_layers to be >= 0 as that needs to be positive.
Diffstat (limited to 'resources/definitions/fdmprinter.def.json')
-rwxr-xr-x | resources/definitions/fdmprinter.def.json | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json index 115c1069aa..13068c386a 100755 --- a/resources/definitions/fdmprinter.def.json +++ b/resources/definitions/fdmprinter.def.json @@ -4095,8 +4095,7 @@ "unit": "mm", "type": "float", "default_value": 0, - "minimum_value": "-layer_height_0 * 0.5", - "minimum_value_warning": "-layer_height_0 * 0.2", + "minimum_value_warning": "0", "maximum_value_warning": "layer_height_0", "enabled": "resolveOrValue('adhesion_type') != 'raft'", "settable_per_mesh": false, @@ -4108,7 +4107,7 @@ "description": "When non-zero, the Z offset is reduced to 0 over that many layers. A value of 0 means that the Z offset remains constant for all the layers in the print.", "type": "int", "default_value": 0, - "minimum_value": "0 if z_offset_layer_0 <= 0 or z_offset_taper_layers == 0 else max(1, round(5 * z_offset_layer_0 / layer_height + 0.5))", + "minimum_value": "0", "enabled": "resolveOrValue('adhesion_type') != 'raft' and z_offset_layer_0 != 0", "settable_per_mesh": false, "settable_per_extruder": false |