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:
authorJack Ha <j.ha@ultimaker.com>2017-02-08 13:24:41 +0300
committerJack Ha <j.ha@ultimaker.com>2017-02-08 13:24:41 +0300
commit50ba236e660ac7df92e3070585de59a6d25374b0 (patch)
treebb211163836ec5b0be8ab216145b59c99b13e5f6 /cura/LayerPolygon.py
parent6c19bc1c16c15329539c9275581c80842f516cb1 (diff)
Removed unused option in LayerPolygon, added comments
Diffstat (limited to 'cura/LayerPolygon.py')
-rw-r--r--cura/LayerPolygon.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/cura/LayerPolygon.py b/cura/LayerPolygon.py
index 90bc123548..577de9e40b 100644
--- a/cura/LayerPolygon.py
+++ b/cura/LayerPolygon.py
@@ -19,10 +19,13 @@ class LayerPolygon:
__jump_map = numpy.logical_or(numpy.logical_or(numpy.arange(11) == NoneType, numpy.arange(11) == MoveCombingType), numpy.arange(11) == MoveRetractionType)
- ## LayerPolygon
- # line_thicknesses: array with type as index and thickness as value
- def __init__(self, mesh, extruder, line_types, data, line_widths, line_thicknesses):
- self._mesh = mesh
+ ## LayerPolygon, used in ProcessSlicedLayersJob
+ # \param extruder
+ # \param line_types array with line_types
+ # \param data new_points
+ # \param line_widths array with line widths
+ # \param line_thicknesses: array with type as index and thickness as value
+ def __init__(self, extruder, line_types, data, line_widths, line_thicknesses):
self._extruder = extruder
self._types = line_types
self._data = data