Add surface energy property to get correct behaviour - CURA-4248

This commit is contained in:
ChrisTerBeke 2017-10-17 13:03:29 +02:00
parent c553834a82
commit 91589ed29d
2 changed files with 15 additions and 4 deletions

View file

@ -676,15 +676,15 @@ class XmlMaterialProfile(InstanceContainer):
"processing temperature graph": "material_flow_temp_graph", "processing temperature graph": "material_flow_temp_graph",
"print cooling": "cool_fan_speed", "print cooling": "cool_fan_speed",
"retraction amount": "retraction_amount", "retraction amount": "retraction_amount",
"retraction speed": "retraction_speed", "retraction speed": "retraction_speed"
"support interface density": "support_interface_density"
} }
__unmapped_settings = [ __unmapped_settings = [
"hardware compatible" "hardware compatible"
] ]
__material_properties_setting_map = { __material_properties_setting_map = {
"diameter": "material_diameter", "diameter": "material_diameter",
"adhesion_tendency": "material_adhesion_tendency" "adhesion_tendency": "material_adhesion_tendency",
"surface_energy": "material_surface_energy"
} }
__material_metadata_setting_map = { __material_metadata_setting_map = {
"GUID": "material_guid" "GUID": "material_guid"

View file

@ -1854,10 +1854,21 @@
{ {
"label": "Adhesion Tendency", "label": "Adhesion Tendency",
"description": "Surface adhesion tendency.", "description": "Surface adhesion tendency.",
"unit": "%",
"type": "int", "type": "int",
"default_value": 0, "default_value": 0,
"minimum_value": 0, "minimum_value": 0,
"maximum_value": 10,
"settable_per_mesh": false,
"settable_per_extruder": true
},
"material_surface_energy":
{
"label": "Surface Energy",
"description": "Surface energy.",
"unit": "%",
"type": "int",
"default_value": 100,
"minimum_value": 0,
"maximum_value": 100, "maximum_value": 100,
"settable_per_mesh": false, "settable_per_mesh": false,
"settable_per_extruder": true "settable_per_extruder": true