mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Remove subprofiles from intent nodes
As the documentation says, it has no subprofiles any more. Contributes to issue CURA-6600.
This commit is contained in:
parent
a0d3cb6742
commit
b05784e607
1 changed files with 4 additions and 10 deletions
|
@ -1,19 +1,13 @@
|
||||||
# Copyright (c) 2019 Ultimaker B.V.
|
# Copyright (c) 2019 Ultimaker B.V.
|
||||||
# Cura is released under the terms of the LGPLv3 or higher.
|
# Cura is released under the terms of the LGPLv3 or higher.
|
||||||
|
|
||||||
from typing import TYPE_CHECKING
|
|
||||||
|
|
||||||
from cura.Machines.ContainerNode import ContainerNode
|
from cura.Machines.ContainerNode import ContainerNode
|
||||||
from cura.Machines.MaterialNode import MaterialNode
|
|
||||||
from cura.Machines.QualityNode import QualityNode
|
from cura.Machines.QualityNode import QualityNode
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
## This class represents an intent profile in the container tree.
|
||||||
from typing import Dict
|
|
||||||
|
|
||||||
## This class represents an intent category in the container tree.
|
|
||||||
#
|
#
|
||||||
# This class has no more subnodes.
|
# This class has no more subnodes.
|
||||||
class IntentNode(ContainerNode):
|
class IntentNode(ContainerNode):
|
||||||
def __init__(self, container_id: str, parent: QualityNode) -> None:
|
def __init__(self, container_id: str, quality: QualityNode) -> None:
|
||||||
super().__init__(container_id, parent)
|
super().__init__(container_id)
|
||||||
self.variants = {} # type: Dict[str, MaterialNode] # mapping variant IDs to their nodes.
|
self.quality = quality
|
Loading…
Add table
Add a link
Reference in a new issue