Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'cura/LayerData.py')
-rw-r--r--cura/LayerData.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/cura/LayerData.py b/cura/LayerData.py
index 72824591ab..e58fda597a 100644
--- a/cura/LayerData.py
+++ b/cura/LayerData.py
@@ -3,9 +3,12 @@
from UM.Mesh.MeshData import MeshData
-## Class to holds the layer mesh and information about the layers.
-# Immutable, use LayerDataBuilder to create one of these.
class LayerData(MeshData):
+ """Class to holds the layer mesh and information about the layers.
+
+ Immutable, use :py:class:`cura.LayerDataBuilder.LayerDataBuilder` to create one of these.
+ """
+
def __init__(self, vertices = None, normals = None, indices = None, colors = None, uvs = None, file_name = None,
center_position = None, layers=None, element_counts=None, attributes=None):
super().__init__(vertices=vertices, normals=normals, indices=indices, colors=colors, uvs=uvs,