mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Merge branch '4.11' of github.com:Ultimaker/Cura
This commit is contained in:
commit
deab3fd32b
3 changed files with 10 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2020 Ultimaker B.V.
|
||||
# Copyright (c) 2021 Ultimaker B.V.
|
||||
# Cura is released under the terms of the LGPLv3 or higher.
|
||||
|
||||
import math
|
||||
|
@ -153,7 +153,7 @@ class FlavorParser:
|
|||
Af = (self._filament_diameter / 2) ** 2 * numpy.pi
|
||||
# Length of the extruded filament
|
||||
de = current_extrusion - previous_extrusion
|
||||
# Volumne of the extruded filament
|
||||
# Volume of the extruded filament
|
||||
dVe = de * Af
|
||||
# Length of the printed line
|
||||
dX = numpy.sqrt((current_point[0] - previous_point[0])**2 + (current_point[2] - previous_point[2])**2)
|
||||
|
|
|
@ -60,7 +60,7 @@ Cura.ExpandablePopup
|
|||
anchors.verticalCenter: parent.verticalCenter
|
||||
}
|
||||
|
||||
ColumnLayout
|
||||
Column
|
||||
{
|
||||
opacity: model.enabled ? 1 : UM.Theme.getColor("extruder_disabled").a
|
||||
spacing: 0
|
||||
|
@ -83,7 +83,7 @@ Cura.ExpandablePopup
|
|||
font: UM.Theme.getFont("default")
|
||||
color: UM.Theme.getColor("text")
|
||||
renderType: Text.NativeRendering
|
||||
Layout.preferredWidth: parent.width
|
||||
width: parent.width
|
||||
visible: !truncated
|
||||
}
|
||||
|
||||
|
@ -96,7 +96,7 @@ Cura.ExpandablePopup
|
|||
font: UM.Theme.getFont("default")
|
||||
color: UM.Theme.getColor("text")
|
||||
renderType: Text.NativeRendering
|
||||
Layout.preferredWidth: parent.width
|
||||
width: parent.width
|
||||
visible: !materialBrandColorTypeLabel.visible && !truncated
|
||||
}
|
||||
|
||||
|
@ -109,7 +109,7 @@ Cura.ExpandablePopup
|
|||
font: UM.Theme.getFont("default")
|
||||
color: UM.Theme.getColor("text")
|
||||
renderType: Text.NativeRendering
|
||||
Layout.preferredWidth: parent.width
|
||||
width: parent.width
|
||||
visible: !materialBrandColorTypeLabel.visible && !materialColorTypeLabel.visible
|
||||
}
|
||||
// Label that shows the name of the variant
|
||||
|
|
|
@ -167,6 +167,10 @@
|
|||
"new_icon": "Check",
|
||||
"size": "default"
|
||||
},
|
||||
"star": {
|
||||
"new_icon": "StarFilled",
|
||||
"size": "default"
|
||||
},
|
||||
"pencil": {
|
||||
"new_icon": "Pen",
|
||||
"size": "default"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue