Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Kuipers <t.kuipers@ultimaker.com>2016-12-21 13:40:12 +0300
committerTim Kuipers <t.kuipers@ultimaker.com>2017-01-11 18:58:22 +0300
commit16d8bdf628733d95462d00d8aba1e001f7ddb8ca (patch)
tree0884396c41463de7d1951b52f80c68c361cfdb37 /resources/definitions
parent2f9057dc7749d460cc91cfbe926aee17136c3169 (diff)
JSON fix: prime tower thickness defaulted to zero, rather than defaulting to full prime tower (CURA-3175)
Diffstat (limited to 'resources/definitions')
-rw-r--r--resources/definitions/fdmprinter.def.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json
index 5dd7bc3a0d..842a2a5bfd 100644
--- a/resources/definitions/fdmprinter.def.json
+++ b/resources/definitions/fdmprinter.def.json
@@ -3755,7 +3755,7 @@
"unit": "mm",
"type": "float",
"default_value": 2,
- "value": "max(2 * min(extruderValues('prime_tower_line_width')), 0.5 * (resolveOrValue('prime_tower_size') - math.sqrt(resolveOrValue('prime_tower_size') ** 2 - max(extruderValues('prime_tower_min_volume')) / resolveOrValue('layer_height')) if (resolveOrValue('prime_tower_size') ** 2 > max(extruderValues('prime_tower_min_volume')) / resolveOrValue('layer_height')) else 0))",
+ "value": "max(2 * min(extruderValues('prime_tower_line_width')), 0.5 * (resolveOrValue('prime_tower_size') - math.sqrt(max(0, resolveOrValue('prime_tower_size') ** 2 - max(extruderValues('prime_tower_min_volume')) / resolveOrValue('layer_height')))))",
"resolve": "max(extruderValues('prime_tower_wall_thickness'))",
"minimum_value": "0.001",
"minimum_value_warning": "2 * min(extruderValues('prime_tower_line_width'))",