mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:46:05 +08:00
Use 'or' instead of '||' for Python code
Oops. Contributes to issue CURA-4017.
This commit is contained in:
parent
f3aeb01af0
commit
6110b83844
@ -1528,8 +1528,8 @@
|
||||
"description": "Connect the ends where the infill pattern meets the inner wall using a line which follows the shape of the inner wall. Enabling this setting can make the infill adhere to the walls better and reduce the effects of infill on the quality of vertical surfaces. Disabling this setting reduces the amount of material used.",
|
||||
"type": "bool",
|
||||
"default_value": false,
|
||||
"value": "infill_pattern == 'cross' || infill_pattern == 'cross_3d'",
|
||||
"enabled": "infill_pattern == 'grid' || infill_pattern == 'triangles' || infill_pattern == 'trihexagon' || infill_pattern == 'cubic' || infill_pattern == 'tetrahedral' || infill_pattern == 'quarter_cubic' || infill_pattern == 'cross' || infill_pattern == 'cross_3d'",
|
||||
"value": "infill_pattern == 'cross' or infill_pattern == 'cross_3d'",
|
||||
"enabled": "infill_pattern == 'grid' or infill_pattern == 'triangles' or infill_pattern == 'trihexagon' or infill_pattern == 'cubic' or infill_pattern == 'tetrahedral' or infill_pattern == 'quarter_cubic' or infill_pattern == 'cross' or infill_pattern == 'cross_3d'",
|
||||
"settable_per_mesh": true
|
||||
},
|
||||
"infill_angles":
|
||||
|
Loading…
x
Reference in New Issue
Block a user