mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 14:39:02 +08:00
settings refactor: line widths together with layer height in the same category
This commit is contained in:
parent
cc2f0fc009
commit
3b533c653d
@ -31,7 +31,7 @@
|
||||
},
|
||||
"categories": {
|
||||
"layer_height": {
|
||||
"label": "Layer Height",
|
||||
"label": "Line dimensions",
|
||||
"visible": true,
|
||||
"icon": "category_layer_height",
|
||||
"settings": {
|
||||
@ -55,6 +55,118 @@
|
||||
"min_value_warning": 0.04,
|
||||
"max_value_warning": 0.32,
|
||||
"visible": false
|
||||
},
|
||||
"line_width": {
|
||||
"label": "Line Width",
|
||||
"description": "Width of a single line. Each line will be printed with this width in mind. Generally the width of each line should correspond to the width of your nozzle, but for the outer wall and top/bottom surface smaller line widths may be chosen, for higher quality.",
|
||||
"unit": "mm",
|
||||
"min_value": 0.0001,
|
||||
"min_value_warning": 0.2,
|
||||
"max_value_warning": 5.0,
|
||||
"default": 0.4,
|
||||
"type": "float",
|
||||
"visible": false,
|
||||
"inherit_function": "machine_nozzle_size",
|
||||
|
||||
"children": {
|
||||
"wall_line_width": {
|
||||
"label": "Wall Line Width",
|
||||
"description": "Width of a single shell line. Each line of the shell will be printed with this width in mind.",
|
||||
"unit": "mm",
|
||||
"min_value": 0.0001,
|
||||
"min_value_warning": 0.2,
|
||||
"max_value_warning": 5.0,
|
||||
"default": 0.4,
|
||||
"type": "float",
|
||||
"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": {
|
||||
"wall_line_width_0": {
|
||||
"label": "Outer Wall Line Width",
|
||||
"description": "Width of the outermost shell line. By printing a thinner outermost wall line you can print higher details with a larger nozzle.",
|
||||
"unit": "mm",
|
||||
"min_value": 0.0001,
|
||||
"min_value_warning": 0.2,
|
||||
"max_value_warning": 5.0,
|
||||
"default": 0.4,
|
||||
"type": "float",
|
||||
"visible": false
|
||||
},
|
||||
"wall_line_width_x": {
|
||||
"label": "Other Walls Line Width",
|
||||
"description": "Width of a single shell line for all shell lines except the outermost one.",
|
||||
"unit": "mm",
|
||||
"min_value": 0.0001,
|
||||
"min_value_warning": 0.2,
|
||||
"max_value_warning": 5.0,
|
||||
"default": 0.4,
|
||||
"type": "float",
|
||||
"visible": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"skirt_line_width": {
|
||||
"label": "Skirt line width",
|
||||
"description": "Width of a single skirt line.",
|
||||
"unit": "mm",
|
||||
"min_value": 0.0001,
|
||||
"min_value_warning": 0.2,
|
||||
"max_value_warning": 5.0,
|
||||
"default": 0.4,
|
||||
"type": "float",
|
||||
"visible": false
|
||||
},
|
||||
"skin_line_width": {
|
||||
"label": "Top/bottom line width",
|
||||
"description": "Width of a single top/bottom printed line, used to fill up the top/bottom areas of a print.",
|
||||
"unit": "mm",
|
||||
"min_value": 0.0001,
|
||||
"min_value_warning": 0.2,
|
||||
"max_value_warning": 5.0,
|
||||
"default": 0.4,
|
||||
"type": "float",
|
||||
"visible": false
|
||||
},
|
||||
"infill_line_width": {
|
||||
"label": "Infill line width",
|
||||
"description": "Width of the inner infill printed lines.",
|
||||
"unit": "mm",
|
||||
"min_value": 0.0001,
|
||||
"min_value_warning": 0.2,
|
||||
"max_value_warning": 5.0,
|
||||
"default": 0.4,
|
||||
"type": "float",
|
||||
"visible": false
|
||||
},
|
||||
"support_line_width": {
|
||||
"label": "Support line width",
|
||||
"description": "Width of the printed support structures lines.",
|
||||
"unit": "mm",
|
||||
"min_value": 0.0001,
|
||||
"min_value_warning": 0.2,
|
||||
"max_value_warning": 5.0,
|
||||
"default": 0.4,
|
||||
"type": "float",
|
||||
"visible": false,
|
||||
"active_if" : {
|
||||
"setting": "support_enable",
|
||||
"value": true
|
||||
}
|
||||
},
|
||||
"support_roof_line_width": {
|
||||
"label": "Support Hammock line width",
|
||||
"description": "Width of a single hammock line, used to fill the roof of the support.",
|
||||
"unit": "mm",
|
||||
"default": 0.4,
|
||||
"type": "float",
|
||||
"visible": false,
|
||||
"active_if" : {
|
||||
"setting": "support_roof_enable",
|
||||
"value": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -93,104 +205,7 @@
|
||||
"type": "int",
|
||||
"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))))"
|
||||
},
|
||||
"wall_line_width": {
|
||||
"label": "Wall Line Width",
|
||||
"description": "Width of a single shell line. Each line of the shell will be printed with this width in mind.",
|
||||
"unit": "mm",
|
||||
"min_value": 0.0,
|
||||
"min_value_warning": 0.2,
|
||||
"max_value_warning": 5.0,
|
||||
"default": 0.4,
|
||||
"type": "float",
|
||||
"visible": false,
|
||||
"inherit_function": "max(machine_nozzle_size, (parent_value / (int(parent_value / (machine_nozzle_size - 0.0001) + 1))) if (parent_value / (int(parent_value / (machine_nozzle_size - 0.0001))) > machine_nozzle_size * 1.5) else (parent_value / int(parent_value / (machine_nozzle_size - 0.0001))))",
|
||||
|
||||
"children": {
|
||||
"wall_line_width_0": {
|
||||
"label": "Outer Wall Line Width",
|
||||
"description": "Width of the outermost shell line. By printing a thinner outermost wall line you can print higher details with a larger nozzle.",
|
||||
"unit": "mm",
|
||||
"min_value": 0.0,
|
||||
"min_value_warning": 0.2,
|
||||
"max_value_warning": 5.0,
|
||||
"default": 0.4,
|
||||
"type": "float",
|
||||
"visible": false
|
||||
},
|
||||
"wall_line_width_x": {
|
||||
"label": "Other Walls Line Width",
|
||||
"description": "Width of a single shell line for all shell lines except the outermost one.",
|
||||
"unit": "mm",
|
||||
"min_value": 0.0,
|
||||
"min_value_warning": 0.2,
|
||||
"max_value_warning": 5.0,
|
||||
"default": 0.4,
|
||||
"type": "float",
|
||||
"visible": false
|
||||
},
|
||||
"skirt_line_width": {
|
||||
"label": "Skirt line width",
|
||||
"description": "Width of a single skirt line.",
|
||||
"unit": "mm",
|
||||
"min_value": 0.0,
|
||||
"min_value_warning": 0.2,
|
||||
"max_value_warning": 5.0,
|
||||
"default": 0.4,
|
||||
"type": "float",
|
||||
"visible": false
|
||||
},
|
||||
"skin_line_width": {
|
||||
"label": "Top/bottom line width",
|
||||
"description": "Width of a single top/bottom printed line, used to fill up the top/bottom areas of a print.",
|
||||
"unit": "mm",
|
||||
"min_value": 0.0,
|
||||
"min_value_warning": 0.2,
|
||||
"max_value_warning": 5.0,
|
||||
"default": 0.4,
|
||||
"type": "float",
|
||||
"visible": false
|
||||
},
|
||||
"infill_line_width": {
|
||||
"label": "Infill line width",
|
||||
"description": "Width of the inner infill printed lines.",
|
||||
"unit": "mm",
|
||||
"min_value": 0.0,
|
||||
"min_value_warning": 0.2,
|
||||
"max_value_warning": 5.0,
|
||||
"default": 0.4,
|
||||
"type": "float",
|
||||
"visible": false
|
||||
},
|
||||
"support_line_width": {
|
||||
"label": "Support line width",
|
||||
"description": "Width of the printed support structures lines.",
|
||||
"unit": "mm",
|
||||
"min_value": 0.0,
|
||||
"min_value_warning": 0.2,
|
||||
"max_value_warning": 5.0,
|
||||
"default": 0.4,
|
||||
"type": "float",
|
||||
"visible": false,
|
||||
"active_if" : {
|
||||
"setting": "support_enable",
|
||||
"value": true
|
||||
}
|
||||
},
|
||||
"support_roof_line_width": {
|
||||
"label": "Support Hammock line width",
|
||||
"description": "Width of a single hammock line, used to fill the roof of the support.",
|
||||
"unit": "mm",
|
||||
"default": 0.4,
|
||||
"type": "float",
|
||||
"visible": false,
|
||||
"active_if" : {
|
||||
"setting": "support_roof_enable",
|
||||
"value": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"alternate_extra_perimeter": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user