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:
authorGhostkeeper <rubend@tutanota.com>2016-12-14 16:21:02 +0300
committerGhostkeeper <rubend@tutanota.com>2016-12-14 16:21:16 +0300
commit2fe0bab52d2b0eabc2d321e5e3ee561f6fe691cb (patch)
tree82dda6c3a1b6e73a0cfff8947c84a77208bafd2e /resources/definitions
parent22012bdb1cb572a80e81489b2771056ef92f02be (diff)
Inherit gradual infill steps for line distances below 1mm too
A miscalculation on my part: A negative result of the logarithm would result in a more positive final result for the maximum value, not a negative final result. Contributes to issue CURA-3137.
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 e63485ed35..7725940553 100644
--- a/resources/definitions/fdmprinter.def.json
+++ b/resources/definitions/fdmprinter.def.json
@@ -1190,7 +1190,7 @@
"type": "int",
"minimum_value": "0",
"maximum_value_warning": "4",
- "maximum_value": "(20 - math.log(infill_line_distance) / math.log(2)) if infill_line_distance > 1 else 1",
+ "maximum_value": "(20 - math.log(infill_line_distance) / math.log(2)) if infill_line_distance > 0 else 0",
"enabled": "infill_sparse_density > 0 and infill_pattern != 'cubicsubdiv'",
"settable_per_mesh": true
},