mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 20:28:01 -06:00
Rename to comptabileMaterialDiameter
CURA-5834 This property returns the material diameter an extruder is compatible with, so this makes it more clear.
This commit is contained in:
parent
afa3e62dc1
commit
ea10d5e608
2 changed files with 3 additions and 3 deletions
|
@ -70,7 +70,7 @@ class ExtruderStack(CuraContainerStack):
|
|||
# If the machine has no requirement for the diameter, -1 is returned.
|
||||
# \return The filament diameter for the printer
|
||||
@property
|
||||
def materialDiameter(self) -> float:
|
||||
def comptabileMaterialDiameter(self) -> float:
|
||||
context = PropertyEvaluationContext(self)
|
||||
context.context["evaluate_from_container_index"] = _ContainerIndexes.Variant
|
||||
|
||||
|
@ -86,7 +86,7 @@ class ExtruderStack(CuraContainerStack):
|
|||
# \return The approximate filament diameter for the printer
|
||||
@pyqtProperty(float)
|
||||
def approximateMaterialDiameter(self) -> float:
|
||||
return round(float(self.materialDiameter))
|
||||
return round(float(self.comptabileMaterialDiameter))
|
||||
|
||||
## Overridden from ContainerStack
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue