mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-25 03:41:08 -07:00
Merge branch 'master' of github.com:Ultimaker/Cura into transparent_limit_to_extruder
This commit is contained in:
commit
9686df285d
28 changed files with 205 additions and 189 deletions
|
|
@ -2555,7 +2555,6 @@
|
|||
"default_value": 20,
|
||||
"value": "jerk_support_interface",
|
||||
"minimum_value": "0.1",
|
||||
"minimum_value_warning": "5",
|
||||
"maximum_value_warning": "50",
|
||||
"enabled": "resolveOrValue('jerk_enabled') and extruderValue(support_roof_extruder_nr, 'support_roof_enable') and support_enable",
|
||||
"limit_to_extruder": "support_roof_extruder_nr",
|
||||
|
|
@ -2571,7 +2570,6 @@
|
|||
"default_value": 20,
|
||||
"value": "jerk_support_interface",
|
||||
"minimum_value": "0.1",
|
||||
"minimum_value_warning": "5",
|
||||
"maximum_value_warning": "50",
|
||||
"enabled": "resolveOrValue('jerk_enabled') and extruderValue(support_bottom_extruder_nr, 'support_bottom_enable') and support_enable",
|
||||
"limit_to_extruder": "support_bottom_extruder_nr",
|
||||
|
|
@ -3624,7 +3622,7 @@
|
|||
"none": "None"
|
||||
},
|
||||
"default_value": "brim",
|
||||
"limit_to_extruder": "adhesion_extruder_nr",
|
||||
"resolve": "extruderValue(adhesion_extruder_nr, 'adhesion_type')",
|
||||
"settable_per_mesh": false,
|
||||
"settable_per_extruder": false
|
||||
},
|
||||
|
|
|
|||
|
|
@ -15,22 +15,19 @@ SettingItem
|
|||
contents: ComboBox
|
||||
{
|
||||
id: control
|
||||
anchors.fill: parent
|
||||
|
||||
model: Cura.ExtrudersModel
|
||||
{
|
||||
id: extruders_model
|
||||
onModelChanged: control.color = extruders_model.getItem(control.currentIndex).color
|
||||
}
|
||||
property string color:
|
||||
{
|
||||
var model_color = extruders_model.getItem(control.currentIndex).color;
|
||||
return (model_color) ? model_color : "";
|
||||
}
|
||||
model: Cura.ExtrudersModel { }
|
||||
|
||||
textRole: "name"
|
||||
|
||||
anchors.fill: parent
|
||||
onCurrentIndexChanged: updateCurrentColor();
|
||||
onActivated:
|
||||
{
|
||||
forceActiveFocus();
|
||||
propertyProvider.setPropertyValue("value", model.getItem(index).index);
|
||||
}
|
||||
|
||||
currentIndex: propertyProvider.properties.value
|
||||
|
||||
MouseArea
|
||||
{
|
||||
|
|
@ -59,7 +56,19 @@ SettingItem
|
|||
}
|
||||
}
|
||||
border.width: UM.Theme.getSize("default_lining").width
|
||||
border.color: !enabled ? UM.Theme.getColor("setting_control_disabled_border") : control.hovered ? UM.Theme.getColor("setting_control_border_highlight") : UM.Theme.getColor("setting_control_border")
|
||||
border.color:
|
||||
{
|
||||
if(!enabled)
|
||||
{
|
||||
return UM.Theme.getColor("setting_control_disabled_border");
|
||||
}
|
||||
if(control.hovered || base.activeFocus)
|
||||
{
|
||||
UM.Theme.getColor("setting_control_border_highlight")
|
||||
}
|
||||
|
||||
return UM.Theme.getColor("setting_control_border")
|
||||
}
|
||||
}
|
||||
label: Item
|
||||
{
|
||||
|
|
@ -68,35 +77,36 @@ SettingItem
|
|||
id: swatch
|
||||
height: UM.Theme.getSize("setting_control").height / 2
|
||||
width: height
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: UM.Theme.getSize("default_lining").width
|
||||
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
color: control.color
|
||||
border.width: UM.Theme.getSize("default_lining").width
|
||||
border.color: !enabled ? UM.Theme.getColor("setting_control_disabled_border") : UM.Theme.getColor("setting_control_border")
|
||||
border.color: enabled ? UM.Theme.getColor("setting_control_border") : UM.Theme.getColor("setting_control_disabled_border")
|
||||
|
||||
color: control.currentText != "" ? control.model.getItem(control.currentIndex).color : ""
|
||||
}
|
||||
Label
|
||||
{
|
||||
anchors.left: swatch.right
|
||||
anchors.leftMargin: UM.Theme.getSize("default_lining").width
|
||||
anchors.right: downArrow.left
|
||||
anchors.rightMargin: UM.Theme.getSize("default_lining").width
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors
|
||||
{
|
||||
left: swatch.right;
|
||||
right: arrow.left;
|
||||
verticalCenter: parent.verticalCenter
|
||||
margins: UM.Theme.getSize("default_lining").width
|
||||
}
|
||||
width: parent.width - swatch.width;
|
||||
|
||||
text: control.currentText
|
||||
font: UM.Theme.getFont("default")
|
||||
color: !enabled ? UM.Theme.getColor("setting_control_disabled_text") : UM.Theme.getColor("setting_control_text")
|
||||
color: enabled ? UM.Theme.getColor("setting_control_text") : UM.Theme.getColor("setting_control_disabled_text")
|
||||
|
||||
elide: Text.ElideRight
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
}
|
||||
|
||||
UM.RecolorImage
|
||||
{
|
||||
id: downArrow
|
||||
id: arrow
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: UM.Theme.getSize("default_lining").width * 2
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
source: UM.Theme.getIcon("arrow_bottom")
|
||||
|
|
@ -109,57 +119,5 @@ SettingItem
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
onActivated:
|
||||
{
|
||||
forceActiveFocus();
|
||||
propertyProvider.setPropertyValue("value", extruders_model.getItem(index).index);
|
||||
control.color = extruders_model.getItem(index).color;
|
||||
}
|
||||
|
||||
onModelChanged: updateCurrentIndex();
|
||||
|
||||
Binding
|
||||
{
|
||||
target: control
|
||||
property: "currentIndex"
|
||||
value:
|
||||
{
|
||||
for(var i = 0; i < extruders_model.rowCount(); ++i)
|
||||
{
|
||||
if(extruders_model.getItem(i).index == propertyProvider.properties.value)
|
||||
{
|
||||
return i;
|
||||
}
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
// In some cases we want to update the current color without updating the currentIndex, so it's a seperate function.
|
||||
function updateCurrentColor()
|
||||
{
|
||||
for(var i = 0; i < extruders_model.rowCount(); ++i)
|
||||
{
|
||||
if(extruders_model.getItem(i).index == currentIndex)
|
||||
{
|
||||
control.color = extruders_model.getItem(i).color;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function updateCurrentIndex()
|
||||
{
|
||||
for(var i = 0; i < extruders_model.rowCount(); ++i)
|
||||
{
|
||||
if(extruders_model.getItem(i).index == propertyProvider.properties.value)
|
||||
{
|
||||
control.currentIndex = i;
|
||||
return;
|
||||
}
|
||||
}
|
||||
currentIndex = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,14 +0,0 @@
|
|||
[general]
|
||||
version = 2
|
||||
name = Not Supported
|
||||
definition = ultimaker3
|
||||
|
||||
[metadata]
|
||||
weight = 0
|
||||
type = quality
|
||||
quality_type = normal
|
||||
material = generic_tpu_ultimaker3_AA_0.8
|
||||
supported = False
|
||||
setting_version = 1
|
||||
|
||||
[values]
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
[general]
|
||||
version = 2
|
||||
name = Not Supported
|
||||
definition = ultimaker3
|
||||
|
||||
[metadata]
|
||||
weight = 0
|
||||
type = quality
|
||||
quality_type = superdraft
|
||||
material = generic_tpu_ultimaker3_AA_0.8
|
||||
supported = False
|
||||
setting_version = 1
|
||||
|
||||
[values]
|
||||
|
|
@ -13,10 +13,6 @@ setting_version = 1
|
|||
[values]
|
||||
material_print_temperature = =default_material_print_temperature + 10
|
||||
material_standby_temperature = 100
|
||||
prime_tower_enable = False
|
||||
skin_overlap = 20
|
||||
support_interface_height = 0.8
|
||||
prime_tower_enable = False
|
||||
speed_support_interface = =math.ceil(speed_support * 20 / 25)
|
||||
jerk_support_interface = =math.ceil(jerk_support * 1 / 5)
|
||||
acceleration_support_interface = =math.ceil(acceleration_support * 100 / 500 )
|
||||
support_xy_distance = =round(line_width * 1.5, 2)
|
||||
|
|
|
|||
|
|
@ -13,10 +13,6 @@ setting_version = 1
|
|||
[values]
|
||||
material_print_temperature = =default_material_print_temperature + 5
|
||||
material_standby_temperature = 100
|
||||
prime_tower_enable = False
|
||||
skin_overlap = 15
|
||||
support_interface_height = 0.8
|
||||
prime_tower_enable = False
|
||||
speed_support_interface = =math.ceil(speed_support * 20 / 25)
|
||||
jerk_support_interface = =math.ceil(jerk_support * 1 / 5)
|
||||
acceleration_support_interface = =math.ceil(acceleration_support * 100 / 500 )
|
||||
support_xy_distance = =round(line_width * 1.5, 2)
|
||||
|
|
|
|||
|
|
@ -11,11 +11,7 @@ material = generic_pva_ultimaker3_BB_0.4
|
|||
setting_version = 1
|
||||
|
||||
[values]
|
||||
support_infill_rate = 25
|
||||
support_interface_height = 0.8
|
||||
material_standby_temperature = 100
|
||||
prime_tower_enable = False
|
||||
speed_support_interface = =math.ceil(speed_support * 20 / 25)
|
||||
jerk_support_interface = =math.ceil(jerk_support * 1 / 5)
|
||||
acceleration_support_interface = =math.ceil(acceleration_support * 100 / 500 )
|
||||
support_xy_distance = =round(line_width * 1.5, 2)
|
||||
support_infill_rate = 25
|
||||
support_interface_height = 0.8
|
||||
|
|
|
|||
|
|
@ -11,11 +11,7 @@ material = generic_pva_ultimaker3_BB_0.4
|
|||
setting_version = 1
|
||||
|
||||
[values]
|
||||
support_infill_rate = 25
|
||||
support_interface_height = 0.8
|
||||
material_standby_temperature = 100
|
||||
prime_tower_enable = False
|
||||
speed_support_interface = =math.ceil(speed_support * 20 / 25)
|
||||
jerk_support_interface = =math.ceil(jerk_support * 1 / 5)
|
||||
acceleration_support_interface = =math.ceil(acceleration_support * 100 / 500 )
|
||||
support_xy_distance = =round(line_width * 1.5, 2)
|
||||
support_infill_rate = 25
|
||||
support_interface_height = 0.8
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ support_line_width = =round(line_width * 0.4 / 0.35, 2)
|
|||
support_offset = 1.5
|
||||
support_pattern = triangles
|
||||
support_use_towers = False
|
||||
support_xy_distance = =wall_line_width_0 / 2
|
||||
support_xy_distance = =round(wall_line_width_0 * 0.75, 2)
|
||||
support_xy_distance_overhang = =wall_line_width_0 / 4
|
||||
support_z_distance = 0
|
||||
switch_extruder_prime_speed = 15
|
||||
|
|
|
|||
|
|
@ -36,5 +36,5 @@ support_interface_skip_height = =layer_height
|
|||
support_join_distance = 3
|
||||
support_line_width = =round(line_width * 0.4 / 0.35, 2)
|
||||
support_offset = 3
|
||||
support_xy_distance = =wall_line_width_0 * 3
|
||||
support_xy_distance = =round(wall_line_width_0 * 0.75, 2)
|
||||
support_xy_distance_overhang = =wall_line_width_0 / 2
|
||||
|
|
|
|||
|
|
@ -11,7 +11,9 @@ setting_version = 1
|
|||
[values]
|
||||
acceleration_enabled = True
|
||||
acceleration_print = 4000
|
||||
acceleration_support_interface = =math.ceil(acceleration_topbottom * 100 / 500)
|
||||
acceleration_support = =math.ceil(acceleration_print * 2000 / 4000)
|
||||
acceleration_support_interface = =math.ceil(acceleration_support * 1500 / 2000)
|
||||
acceleration_support_bottom = =math.ceil(acceleration_support_interface * 100 / 1500)
|
||||
brim_width = 3
|
||||
cool_fan_speed = 50
|
||||
cool_min_speed = 5
|
||||
|
|
@ -21,7 +23,9 @@ infill_pattern = triangles
|
|||
infill_wipe_dist = 0
|
||||
jerk_enabled = True
|
||||
jerk_print = 25
|
||||
jerk_support_interface = =math.ceil(jerk_topbottom * 1 / 5)
|
||||
jerk_support = =math.ceil(jerk_print * 15 / 25)
|
||||
jerk_support_interface = =math.ceil(jerk_support * 10 / 15)
|
||||
jerk_support_bottom = =math.ceil(jerk_support_interface * 1 / 10)
|
||||
layer_height = 0.2
|
||||
machine_min_cool_heat_time_window = 15
|
||||
machine_nozzle_heat_up_speed = 1.5
|
||||
|
|
@ -54,20 +58,24 @@ retraction_prime_speed = 15
|
|||
skin_overlap = 5
|
||||
speed_layer_0 = 20
|
||||
speed_print = 35
|
||||
speed_support_interface = =math.ceil(speed_topbottom * 15 / 20)
|
||||
speed_support = =math.ceil(speed_print * 25 / 35)
|
||||
speed_support_interface = =math.ceil(speed_support * 20 / 25)
|
||||
speed_support_bottom = =math.ceil(speed_support_interface * 10 / 20)
|
||||
speed_wall_0 = =math.ceil(speed_wall * 25 / 30)
|
||||
support_angle = 60
|
||||
support_bottom_height = =layer_height * 2
|
||||
support_bottom_pattern = zigzag
|
||||
support_bottom_stair_step_height = =layer_height
|
||||
support_infill_rate = 25
|
||||
support_interface_enable = True
|
||||
support_interface_height = =layer_height * 5
|
||||
support_interface_skip_height = =layer_height
|
||||
support_join_distance = 3
|
||||
support_line_width = =round(line_width * 0.4 / 0.35, 2)
|
||||
support_offset = 1.5
|
||||
support_pattern = triangles
|
||||
support_use_towers = False
|
||||
support_xy_distance = =wall_line_width_0 / 2
|
||||
support_xy_distance = =round(wall_line_width_0 * 0.75, 2)
|
||||
support_xy_distance_overhang = =wall_line_width_0 / 4
|
||||
support_z_distance = 0
|
||||
switch_extruder_prime_speed = 15
|
||||
|
|
|
|||
|
|
@ -9,20 +9,32 @@ type = variant
|
|||
setting_version = 1
|
||||
|
||||
[values]
|
||||
cool_fan_speed_max = 100
|
||||
acceleration_support = =math.ceil(acceleration_print * 2000 / 4000)
|
||||
acceleration_support_interface = =math.ceil(acceleration_support * 1500 / 2000)
|
||||
acceleration_support_bottom = =math.ceil(acceleration_support_interface * 100 / 1500)
|
||||
cool_fan_speed_max = =cool_fan_speed
|
||||
jerk_support = =math.ceil(jerk_print * 15 / 25)
|
||||
jerk_support_interface = =math.ceil(jerk_support * 10 / 15)
|
||||
jerk_support_bottom = =math.ceil(jerk_support_interface * 1 / 10)
|
||||
machine_nozzle_heat_up_speed = 1.5
|
||||
machine_nozzle_size = 0.4
|
||||
material_bed_temperature = 60
|
||||
material_print_temperature = 215
|
||||
raft_acceleration = =acceleration_layer_0
|
||||
raft_jerk = =jerk_layer_0
|
||||
raft_base_speed = 20
|
||||
raft_interface_speed = 20
|
||||
raft_speed = 25
|
||||
retraction_extrusion_window = =retraction_amount
|
||||
speed_layer_0 = 20
|
||||
speed_support = =math.ceil(speed_print * 25 / 35)
|
||||
speed_support_interface = =math.ceil(speed_support * 20 / 25)
|
||||
speed_support_bottom = =math.ceil(speed_support_interface * 10 / 20)
|
||||
speed_wall_0 = =math.ceil(speed_wall * 25 / 30)
|
||||
support_bottom_height = =layer_height * 2
|
||||
support_bottom_pattern = zigzag
|
||||
support_bottom_stair_step_height = =layer_height
|
||||
support_infill_rate = 25
|
||||
support_interface_enable = True
|
||||
support_interface_skip_height = =layer_height
|
||||
support_join_distance = 3
|
||||
support_line_width = =round(line_width * 0.4 / 0.35, 2)
|
||||
support_pattern = triangles
|
||||
support_use_towers = False
|
||||
support_xy_distance = =wall_line_width_0 * 3
|
||||
support_offset = 3
|
||||
support_xy_distance = =round(wall_line_width_0 * 0.75, 2)
|
||||
support_xy_distance_overhang = =wall_line_width_0 / 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue