diff --git a/cura/LayerPolygon.py b/cura/LayerPolygon.py index e772a8b78ec..d2a5f1c335d 100644 --- a/cura/LayerPolygon.py +++ b/cura/LayerPolygon.py @@ -23,7 +23,8 @@ class LayerPolygon: MoveRetractionType = 9 SupportInterfaceType = 10 PrimeTowerType = 11 - __number_of_types = 12 + RoofType = 12 + __number_of_types = 13 __jump_map = numpy.logical_or(numpy.logical_or(numpy.arange(__number_of_types) == NoneType, numpy.arange(__number_of_types) == MoveCombingType), @@ -272,7 +273,8 @@ def getColorMap(cls) -> numpy.ndarray: theme.getColor("layerview_move_combing").getRgbF(), # MoveCombingType theme.getColor("layerview_move_retraction").getRgbF(), # MoveRetractionType theme.getColor("layerview_support_interface").getRgbF(), # SupportInterfaceType - theme.getColor("layerview_prime_tower").getRgbF() # PrimeTowerType + theme.getColor("layerview_prime_tower").getRgbF(), # PrimeTowerType + theme.getColor("layerview_roof").getRgbF(), # RoofType ]) return cls.__color_map diff --git a/plugins/CuraEngineBackend/Cura.proto b/plugins/CuraEngineBackend/Cura.proto index 238829ba646..89422227f80 100644 --- a/plugins/CuraEngineBackend/Cura.proto +++ b/plugins/CuraEngineBackend/Cura.proto @@ -82,6 +82,7 @@ message Polygon { MoveRetractionType = 9; SupportInterfaceType = 10; PrimeTowerType = 11; + RoofType = 12; } Type type = 1; // Type of move bytes points = 2; // The points of the polygon, or two points if only a line segment (Currently only line segments are used) diff --git a/plugins/SimulationView/SimulationView.py b/plugins/SimulationView/SimulationView.py index b4333219145..083bb70b0e9 100644 --- a/plugins/SimulationView/SimulationView.py +++ b/plugins/SimulationView/SimulationView.py @@ -599,6 +599,7 @@ def calculateColorSchemeLimits(self) -> None: visible_line_types = [] if self.getShowSkin(): # Actually "shell". visible_line_types.append(LayerPolygon.SkinType) + visible_line_types.append(LayerPolygon.RoofType) visible_line_types.append(LayerPolygon.Inset0Type) visible_line_types.append(LayerPolygon.InsetXType) if self.getShowInfill(): diff --git a/resources/themes/cura-dark-colorblind/theme.json b/resources/themes/cura-dark-colorblind/theme.json index 4a006ee836f..468bb93842e 100644 --- a/resources/themes/cura-dark-colorblind/theme.json +++ b/resources/themes/cura-dark-colorblind/theme.json @@ -16,6 +16,7 @@ "layerview_inset_0": [255, 64, 0, 255], "layerview_inset_x": [0, 156, 128, 255], "layerview_skin": [255, 255, 86, 255], + "layerview_roof": [160, 255, 86, 255], "layerview_support": [255, 255, 0, 255], "layerview_infill": [0, 255, 255, 255], diff --git a/resources/themes/cura-light-colorblind/theme.json b/resources/themes/cura-light-colorblind/theme.json index 740bf977b2b..4c4ba1683d7 100644 --- a/resources/themes/cura-light-colorblind/theme.json +++ b/resources/themes/cura-light-colorblind/theme.json @@ -19,6 +19,7 @@ "layerview_inset_0": [255, 64, 0, 255], "layerview_inset_x": [0, 156, 128, 255], "layerview_skin": [255, 255, 86, 255], + "layerview_roof": [160, 255, 86, 255], "layerview_support": [255, 255, 0, 255], "layerview_infill": [0, 255, 255, 255], diff --git a/resources/themes/cura-light/theme.json b/resources/themes/cura-light/theme.json index 160799be6e9..a2e2efae870 100644 --- a/resources/themes/cura-light/theme.json +++ b/resources/themes/cura-light/theme.json @@ -457,6 +457,7 @@ "layerview_inset_0": [230, 0, 0, 255], "layerview_inset_x": [0, 230, 0, 255], "layerview_skin": [230, 230, 0, 255], + "layerview_roof": [160, 230, 0, 255], "layerview_support": [0, 230, 230, 127], "layerview_skirt": [0, 230, 230, 255], "layerview_infill": [230, 115, 0, 255],