mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 04:19:03 +08:00
JSON: 100% infill bugfix: 100% infill now triggers all layers to be bottom layers
This commit is contained in:
parent
56e4fb71ad
commit
6047d85c7f
@ -321,7 +321,7 @@
|
|||||||
"default": 6,
|
"default": 6,
|
||||||
"type": "int",
|
"type": "int",
|
||||||
"visible": false,
|
"visible": false,
|
||||||
"inherit_function": "math.ceil(parent_value / layer_height)"
|
"inherit_function": "0 if support_infill_rate == 100 else math.ceil(parent_value / layer_height)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -341,7 +341,7 @@
|
|||||||
"default": 6,
|
"default": 6,
|
||||||
"type": "int",
|
"type": "int",
|
||||||
"visible": false,
|
"visible": false,
|
||||||
"inherit_function": "math.ceil(parent_value / layer_height)"
|
"inherit_function": "999999 if support_infill_rate == 100 else math.ceil(parent_value / layer_height)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user