mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 01:39:03 +08:00
Merge branch '2.1' of https://github.com/Ultimaker/Cura into 2.1
This commit is contained in:
commit
a03f256366
@ -37,10 +37,12 @@ class SolidView(View):
|
|||||||
if Application.getInstance().getMachineManager().getWorkingProfile():
|
if Application.getInstance().getMachineManager().getWorkingProfile():
|
||||||
profile = Application.getInstance().getMachineManager().getWorkingProfile()
|
profile = Application.getInstance().getMachineManager().getWorkingProfile()
|
||||||
|
|
||||||
if profile.getSettingValue("support_enable") or not Preferences.getInstance().getValue("view/show_overhang"):
|
if Preferences.getInstance().getValue("view/show_overhang"):
|
||||||
angle = profile.getSettingValue("support_angle")
|
angle = profile.getSettingValue("support_angle")
|
||||||
if angle != None:
|
if angle != None:
|
||||||
self._enabled_shader.setUniformValue("u_overhangAngle", math.cos(math.radians(90 - angle)))
|
self._enabled_shader.setUniformValue("u_overhangAngle", math.cos(math.radians(90 - angle)))
|
||||||
|
else:
|
||||||
|
self._enabled_shader.setUniformValue("u_overhangAngle", math.cos(math.radians(0))) #Overhang angle of 0 causes no area at all to be marked as overhang.
|
||||||
else:
|
else:
|
||||||
self._enabled_shader.setUniformValue("u_overhangAngle", math.cos(math.radians(0)))
|
self._enabled_shader.setUniformValue("u_overhangAngle", math.cos(math.radians(0)))
|
||||||
|
|
||||||
|
@ -210,7 +210,7 @@
|
|||||||
"default": 0.1,
|
"default": 0.1,
|
||||||
"min_value": "0.001",
|
"min_value": "0.001",
|
||||||
"min_value_warning": "0.04",
|
"min_value_warning": "0.04",
|
||||||
"max_value_warning": "0.32",
|
"max_value_warning": "0.8 * machine_nozzle_size",
|
||||||
"global_only": "print_sequence != \"one_at_a_time\""
|
"global_only": "print_sequence != \"one_at_a_time\""
|
||||||
},
|
},
|
||||||
"layer_height_0": {
|
"layer_height_0": {
|
||||||
@ -221,7 +221,7 @@
|
|||||||
"default": 0.3,
|
"default": 0.3,
|
||||||
"min_value": "0.001",
|
"min_value": "0.001",
|
||||||
"min_value_warning": "0.04",
|
"min_value_warning": "0.04",
|
||||||
"max_value_warning": "0.32",
|
"max_value_warning": "0.8 * machine_nozzle_size",
|
||||||
"visible": false,
|
"visible": false,
|
||||||
"global_only": "print_sequence != \"one_at_a_time\""
|
"global_only": "print_sequence != \"one_at_a_time\""
|
||||||
},
|
},
|
||||||
@ -231,7 +231,7 @@
|
|||||||
"unit": "mm",
|
"unit": "mm",
|
||||||
"min_value": "0.0001",
|
"min_value": "0.0001",
|
||||||
"min_value_warning": "0.2",
|
"min_value_warning": "0.2",
|
||||||
"max_value_warning": "5",
|
"max_value_warning": "2 * machine_nozzle_size",
|
||||||
"default": 0.4,
|
"default": 0.4,
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"visible": false,
|
"visible": false,
|
||||||
@ -630,7 +630,7 @@
|
|||||||
"description": "Change the temperature for each layer automatically with the average flow speed of that layer.",
|
"description": "Change the temperature for each layer automatically with the average flow speed of that layer.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"visible": true
|
"visible": false
|
||||||
},
|
},
|
||||||
"material_print_temperature": {
|
"material_print_temperature": {
|
||||||
"label": "Printing Temperature",
|
"label": "Printing Temperature",
|
||||||
@ -658,7 +658,8 @@
|
|||||||
"default": 150,
|
"default": 150,
|
||||||
"min_value": "0",
|
"min_value": "0",
|
||||||
"max_value_warning": "260",
|
"max_value_warning": "260",
|
||||||
"global_only": "print_sequence != \"one_at_a_time\""
|
"global_only": "print_sequence != \"one_at_a_time\"",
|
||||||
|
"visible": false
|
||||||
},
|
},
|
||||||
"material_extrusion_cool_down_speed": {
|
"material_extrusion_cool_down_speed": {
|
||||||
"label": "Extrusion Cool Down Speed Modifier",
|
"label": "Extrusion Cool Down Speed Modifier",
|
||||||
@ -668,7 +669,8 @@
|
|||||||
"default": 0.5,
|
"default": 0.5,
|
||||||
"min_value": "0",
|
"min_value": "0",
|
||||||
"max_value_warning": "10.0",
|
"max_value_warning": "10.0",
|
||||||
"global_only": "print_sequence != \"one_at_a_time\""
|
"global_only": "print_sequence != \"one_at_a_time\"",
|
||||||
|
"visible": false
|
||||||
},
|
},
|
||||||
"material_bed_temperature": {
|
"material_bed_temperature": {
|
||||||
"label": "Bed Temperature",
|
"label": "Bed Temperature",
|
||||||
@ -1011,7 +1013,7 @@
|
|||||||
"description": "Coasting replaces the last part of an extrusion path with a travel path. The oozed material is used to lay down the last piece of the extrusion path in order to reduce stringing.",
|
"description": "Coasting replaces the last part of an extrusion path with a travel path. The oozed material is used to lay down the last piece of the extrusion path in order to reduce stringing.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"visible": true
|
"visible": false
|
||||||
},
|
},
|
||||||
"coasting_volume": {
|
"coasting_volume": {
|
||||||
"label": "Coasting Volume",
|
"label": "Coasting Volume",
|
||||||
@ -1303,7 +1305,7 @@
|
|||||||
"type": "float",
|
"type": "float",
|
||||||
"min_value": "-90",
|
"min_value": "-90",
|
||||||
"max_value": "90",
|
"max_value": "90",
|
||||||
"default": 30,
|
"default": -30,
|
||||||
"visible": false,
|
"visible": false,
|
||||||
"enabled": "support_conical_enabled and support_enable"
|
"enabled": "support_conical_enabled and support_enable"
|
||||||
},
|
},
|
||||||
@ -1428,28 +1430,31 @@
|
|||||||
"visible": false,
|
"visible": false,
|
||||||
"enabled": "support_enable"
|
"enabled": "support_enable"
|
||||||
},
|
},
|
||||||
"support_minimal_diameter": {
|
|
||||||
"label": "Minimum Diameter",
|
|
||||||
"description": "Minimum diameter in the X/Y directions of a small area which is to be supported by a specialized support tower.",
|
|
||||||
"unit": "mm",
|
|
||||||
"type": "float",
|
|
||||||
"default": 1,
|
|
||||||
"min_value": "0",
|
|
||||||
"max_value_warning": "10",
|
|
||||||
"visible": false,
|
|
||||||
"enabled": "support_enable"
|
|
||||||
},
|
|
||||||
"support_tower_diameter": {
|
"support_tower_diameter": {
|
||||||
"label": "Tower Diameter",
|
"label": "Tower Diameter",
|
||||||
"description": "The diameter of a special tower.",
|
"description": "The diameter of a special tower.",
|
||||||
"unit": "mm",
|
"unit": "mm",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"default": 1,
|
"default": 3.0,
|
||||||
"min_value": "0",
|
"min_value": "0",
|
||||||
"min_value_warning": "support_minimal_diameter",
|
|
||||||
"max_value_warning": "10",
|
"max_value_warning": "10",
|
||||||
"visible": false,
|
"visible": false,
|
||||||
"enabled": "support_enable"
|
"enabled": "support_enable and support_use_towers",
|
||||||
|
"children": {
|
||||||
|
"support_minimal_diameter": {
|
||||||
|
"label": "Minimum Diameter",
|
||||||
|
"description": "Minimum diameter in the X/Y directions of a small area which is to be supported by a specialized support tower.",
|
||||||
|
"unit": "mm",
|
||||||
|
"type": "float",
|
||||||
|
"default": 3.0,
|
||||||
|
"min_value": "0",
|
||||||
|
"max_value_warning": "10",
|
||||||
|
"max_value": "support_tower_diameter",
|
||||||
|
"inherit": true,
|
||||||
|
"visible": false,
|
||||||
|
"enabled": "support_enable and support_use_towers"
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"support_tower_roof_angle": {
|
"support_tower_roof_angle": {
|
||||||
"label": "Tower Roof Angle",
|
"label": "Tower Roof Angle",
|
||||||
@ -1536,7 +1541,8 @@
|
|||||||
"min_value": "0",
|
"min_value": "0",
|
||||||
"max_value_warning": "10",
|
"max_value_warning": "10",
|
||||||
"enabled": "adhesion_type == \"skirt\"",
|
"enabled": "adhesion_type == \"skirt\"",
|
||||||
"global_only": "print_sequence != \"one_at_a_time\""
|
"global_only": "print_sequence != \"one_at_a_time\"",
|
||||||
|
"visible": false
|
||||||
},
|
},
|
||||||
"skirt_gap": {
|
"skirt_gap": {
|
||||||
"label": "Skirt Distance",
|
"label": "Skirt Distance",
|
||||||
@ -1547,7 +1553,8 @@
|
|||||||
"min_value_warning": "0",
|
"min_value_warning": "0",
|
||||||
"max_value_warning": "100",
|
"max_value_warning": "100",
|
||||||
"enabled": "adhesion_type == \"skirt\"",
|
"enabled": "adhesion_type == \"skirt\"",
|
||||||
"global_only": "print_sequence != \"one_at_a_time\""
|
"global_only": "print_sequence != \"one_at_a_time\"",
|
||||||
|
"visible": false
|
||||||
},
|
},
|
||||||
"skirt_minimal_length": {
|
"skirt_minimal_length": {
|
||||||
"label": "Skirt Minimum Length",
|
"label": "Skirt Minimum Length",
|
||||||
@ -1559,7 +1566,8 @@
|
|||||||
"min_value_warning": "25",
|
"min_value_warning": "25",
|
||||||
"max_value_warning": "2500",
|
"max_value_warning": "2500",
|
||||||
"enabled": "adhesion_type == \"skirt\"",
|
"enabled": "adhesion_type == \"skirt\"",
|
||||||
"global_only": "print_sequence != \"one_at_a_time\""
|
"global_only": "print_sequence != \"one_at_a_time\"",
|
||||||
|
"visible": false
|
||||||
},
|
},
|
||||||
"brim_width": {
|
"brim_width": {
|
||||||
"label": "Brim Width",
|
"label": "Brim Width",
|
||||||
|
@ -87,6 +87,10 @@
|
|||||||
"material_print_temperature": { "enabled": "False" },
|
"material_print_temperature": { "enabled": "False" },
|
||||||
"material_bed_temperature": { "enabled": "False" },
|
"material_bed_temperature": { "enabled": "False" },
|
||||||
"material_diameter": { "enabled": "False" },
|
"material_diameter": { "enabled": "False" },
|
||||||
"material_flow": { "enabled": "False" }
|
"material_flow": { "enabled": "False" },
|
||||||
|
"retraction_amount": { "enabled": "False" },
|
||||||
|
"retraction_speed": { "enabled": "False" },
|
||||||
|
"retraction_retract_speed": { "enabled": "False" },
|
||||||
|
"retraction_prime_speed": { "enabled": "False" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user