Merge branch 'master' of github.com:Ultimaker/Cura

This commit is contained in:
Jaime van Kessel 2016-11-07 13:15:14 +01:00
commit 1610f50da0
5 changed files with 90 additions and 4 deletions

View File

@ -258,7 +258,7 @@ class CuraApplication(QtApplication):
Preferences.getInstance().setDefault("general/visible_settings", """
machine_settings
resolution
resolution
layer_height
shell
wall_thickness

View File

@ -401,7 +401,7 @@ Item {
}
visibilityHandler: UM.SettingPreferenceVisibilityHandler {}
expanded: [ "*" ]
exclude: [ "machine_settings" ]
exclude: [ "machine_settings", "command_line_settings" ]
}
delegate:Loader
{

View File

@ -756,6 +756,18 @@
}
}
},
"wall_0_wipe_dist":
{
"label": "Outer Wall Wipe Distance",
"description": "Distance of a travel move inserted after the outer wall, to hide the Z seam better.",
"unit": "mm",
"type": "float",
"default_value": 0.2,
"value": "machine_nozzle_size / 2",
"minimum_value": "0",
"maximum_value_warning": "machine_nozzle_size",
"settable_per_mesh": true
},
"top_bottom_thickness":
{
"label": "Top/Bottom Thickness",
@ -1140,6 +1152,21 @@
"settable_per_mesh": false,
"settable_per_extruder": true
},
"material_print_temperature_layer_0":
{
"label": "Printing Temperature Initial Layer",
"description": "The temperature used for printing the first layer. Set at 0 to disable special handling of the initial layer.",
"unit": "°C",
"type": "float",
"default_value": 215,
"value": "material_print_temperature + 5",
"minimum_value": "-273.15",
"minimum_value_warning": "0",
"maximum_value_warning": "260",
"enabled": "not (material_flow_dependent_temperature)",
"settable_per_mesh": false,
"settable_per_extruder": true
},
"material_flow_temp_graph":
{
"label": "Flow Temperature Graph",
@ -1182,6 +1209,22 @@
"settable_per_extruder": false,
"settable_per_meshgroup": false
},
"material_bed_temperature_layer_0":
{
"label": "Build Plate Temperature Initial Layer",
"description": "The temperature used for the heated build plate at the first layer.",
"unit": "°C",
"type": "float",
"resolve": "max(extruderValues('material_bed_temperature_layer_0'))",
"default_value": 60,
"minimum_value": "-273.15",
"minimum_value_warning": "0",
"maximum_value_warning": "260",
"enabled": "machine_heated_bed",
"settable_per_mesh": false,
"settable_per_extruder": false,
"settable_per_meshgroup": false
},
"material_diameter":
{
"label": "Diameter",
@ -4356,6 +4399,49 @@
"settable_per_meshgroup": false
}
}
},
"command_line_settings": {
"label": "Command Line Settings",
"description": "Settings which are only used if CuraEngine isn't called from the Cura frontend.",
"type": "category",
"enabled": false,
"children": {
"center_object": {
"description": "Whether to center the object on the middle of the build platform (0,0), instead of using the coordinate system in which the object was saved.",
"type": "bool",
"label": "Center object",
"default_value": true,
"enabled": false
},
"mesh_position_x": {
"description": "Offset applied to the object in the x direction.",
"type": "float",
"label": "Mesh position x",
"default_value": 0,
"enabled": false
},
"mesh_position_y": {
"description": "Offset applied to the object in the y direction.",
"type": "float",
"label": "Mesh position y",
"default_value": 0,
"enabled": false
},
"mesh_position_z": {
"description": "Offset applied to the object in the z direction. With this you can perform what was used to be called 'Object Sink'.",
"type": "float",
"label": "Mesh position z",
"default_value": 0,
"enabled": false
},
"mesh_rotation_matrix": {
"label": "Mesh Rotation Matrix",
"description": "Transformation matrix to be applied to the model when loading it from file.",
"type": "str",
"default_value": "[[1,0,0], [0,1,0], [0,0,1]]",
"enabled": false
}
}
}
}
}

View File

@ -116,7 +116,7 @@ UM.PreferencesPage
id: definitionsModel
containerId: Cura.MachineManager.activeDefinitionId
showAll: true
exclude: ["machine_settings"]
exclude: ["machine_settings", "command_line_settings"]
showAncestors: true
expanded: ["*"]
visibilityHandler: UM.SettingPreferenceVisibilityHandler { }

View File

@ -30,7 +30,7 @@ ScrollView
id: definitionsModel;
containerId: Cura.MachineManager.activeDefinitionId
visibilityHandler: UM.SettingPreferenceVisibilityHandler { }
exclude: ["machine_settings", "infill_mesh", "infill_mesh_order"]
exclude: ["machine_settings", "command_line_settings", "infill_mesh", "infill_mesh_order"] # TODO: infill_mesh settigns are excluded hardcoded, but should be based on the fact that settable_globally, settable_per_meshgroup and settable_per_extruder are false.
expanded: Printer.expandedCategories
onExpandedChanged: Printer.setExpandedCategories(expanded)
onVisibilityChanged: Cura.SettingInheritanceManager.forceUpdate()