mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-10-11 07:47:53 -06:00
JSON: 100% infill bugfix: 100% infill now triggers all layers to be bottom layers
This commit is contained in:
parent
56e4fb71ad
commit
6047d85c7f
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue