6 Commits

Author SHA1 Message Date
Arjen Hiemstra
bc055a8031 Rework LayerData mesh generation for improved performance
Rather than using a lot of calls to MeshData::addVertices which is very
slow, pre-allocate numpy arrays, fill them with data from the polygons
and then assign them to the mesh data's arrays. This greatly increases
performance of the layer data calculation.

Contributes to #52
2015-06-22 17:11:11 +02:00
Arjen Hiemstra
06b5e9d0ca Add a createMesh function to LayerData::Layer that creates a mesh from a layer
Contributes to #52
2015-06-16 13:20:22 +02:00
Arjen Hiemstra
75fff176f4 Add support for line width and infill types to LayerData::Polygon
Contributes to #52
2015-06-16 13:20:22 +02:00
Arjen Hiemstra
ad88506325 Use the new layer message properties to properly create layers
Now we use the height as provided by the engine to render the layer at.

Contributes to #52
2015-06-16 13:20:22 +02:00
Arjen Hiemstra
9d7e460b50 Add missing copyright headers
Fixes #5
2015-05-11 12:18:05 +02:00
Arjen Hiemstra
3823afd8cc Add 'plugins/CuraEngineBackend/' from commit '918d4b41c802f5e8acd0e271a261b73df0441346'
git-subtree-dir: plugins/CuraEngineBackend
git-subtree-mainline: 49210587fff4e64553a377b25cbdc78cc22ebbb1
git-subtree-split: 918d4b41c802f5e8acd0e271a261b73df0441346
2015-04-30 12:25:58 +02:00