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:
authorDiego Prado Gesto <d.pradogesto@ultimaker.com>2017-11-21 12:47:29 +0300
committerDiego Prado Gesto <d.pradogesto@ultimaker.com>2017-11-21 12:47:29 +0300
commitb6e997c88d5d8ac846f550b2e2ef1a6efeb7a288 (patch)
tree3d375fdcbbdd9f126bed21cf89baa36c8eb58cf0 /cura/Layer.py
parent43f339f927c120fedcff6bfd893692c4d06ff371 (diff)
CURA-4526 Delete LayerView plugin because it will be replaced with the
SimulationView. This commit also adapts the code in order to accept the messages coming from the engine, with information about feedrates and line thicknesses. Add also some changes in the GCodeReader that reads feedrates and line thickness from the gcode file.
Diffstat (limited to 'cura/Layer.py')
-rw-r--r--cura/Layer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cura/Layer.py b/cura/Layer.py
index d5ef5c9bb4..9cd45380fc 100644
--- a/cura/Layer.py
+++ b/cura/Layer.py
@@ -47,12 +47,12 @@ class Layer:
return result
- def build(self, vertex_offset, index_offset, vertices, colors, line_dimensions, extruders, line_types, indices):
+ def build(self, vertex_offset, index_offset, vertices, colors, line_dimensions, feedrates, extruders, line_types, indices):
result_vertex_offset = vertex_offset
result_index_offset = index_offset
self._element_count = 0
for polygon in self._polygons:
- polygon.build(result_vertex_offset, result_index_offset, vertices, colors, line_dimensions, extruders, line_types, indices)
+ polygon.build(result_vertex_offset, result_index_offset, vertices, colors, line_dimensions, feedrates, extruders, line_types, indices)
result_vertex_offset += polygon.lineMeshVertexCount()
result_index_offset += polygon.lineMeshElementCount()
self._element_count += polygon.elementCount