mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-19 03:57:28 +08:00
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.
This commit is contained in:
parent
22012bdb1c
commit
2fe0bab52d
@ -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
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user