mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-10 07:15:03 -06:00
Removed final parent_value from functions
CURA-1278
This commit is contained in:
parent
293fd5e80d
commit
6dc7476839
2 changed files with 3 additions and 2471 deletions
|
@ -457,7 +457,7 @@
|
|||
"minimum_value": "0",
|
||||
"maximum_value_warning": "100",
|
||||
"type": "int",
|
||||
"value": "0 if infill_sparse_density == 100 else math.ceil(round(parent_value / layer_height, 4))"
|
||||
"value": "0 if infill_sparse_density == 100 else math.ceil(round(top_thickness / layer_height, 4))"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -479,7 +479,7 @@
|
|||
"minimum_value": "0",
|
||||
"default_value": 6,
|
||||
"type": "int",
|
||||
"value": "999999 if infill_sparse_density == 100 else math.ceil(round(parent_value / layer_height, 4))"
|
||||
"value": "999999 if infill_sparse_density == 100 else math.ceil(round(bottom_thickness / layer_height, 4))"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2151,7 +2151,7 @@
|
|||
"minimum_value": "magic_fuzzy_skin_thickness / 2",
|
||||
"minimum_value_warning": "0.1",
|
||||
"maximum_value_warning": "10",
|
||||
"value": "10000 if parent_value == 0 else 1 / magic_fuzzy_skin_point_density",
|
||||
"value": "10000 if magic_fuzzy_skin_point_density == 0 else 1 / magic_fuzzy_skin_point_density",
|
||||
"enabled": "magic_fuzzy_skin_enabled"
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue