mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 21:26:06 +08:00
JSON: bugfix/feat: wall_line_width defaults to nozzle size and wall_line_count computed properly
This commit is contained in:
parent
4dba1cefcb
commit
f132720aff
@ -149,7 +149,6 @@
|
|||||||
"default": 0.4,
|
"default": 0.4,
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"visible": false,
|
"visible": false,
|
||||||
"inherit_function": "max(machine_nozzle_size, (wall_thickness / (int(wall_thickness / (machine_nozzle_size - 0.0001) + 1))) if (wall_thickness / (int(wall_thickness / (machine_nozzle_size - 0.0001))) > machine_nozzle_size * 1.5) else (wall_thickness / int(wall_thickness / (machine_nozzle_size - 0.0001))))",
|
|
||||||
"children": {
|
"children": {
|
||||||
"wall_line_width_0": {
|
"wall_line_width_0": {
|
||||||
"label": "Outer Wall Line Width",
|
"label": "Outer Wall Line Width",
|
||||||
@ -266,7 +265,7 @@
|
|||||||
"default": 2,
|
"default": 2,
|
||||||
"type": "int",
|
"type": "int",
|
||||||
"visible": false,
|
"visible": false,
|
||||||
"inherit_function": "max(1, (int(parent_value / (machine_nozzle_size - 0.0001) + 1) if (parent_value / max(1, int(parent_value / (machine_nozzle_size - 0.0001))) > machine_nozzle_size) * 1.5 else int(parent_value / (machine_nozzle_size - 0.0001))))"
|
"inherit_function": "max(1, round((wall_thickness - wall_line_width_0) / wall_line_width_x) + 1)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user