Add support for line width and infill types to LayerData::Polygon

Contributes to #52
This commit is contained in:
Arjen Hiemstra 2015-06-16 13:17:52 +02:00
parent ad88506325
commit 75fff176f4
2 changed files with 31 additions and 17 deletions

View file

@ -57,8 +57,8 @@ class ProcessSlicedObjectListJob(Job):
center = [settings.getSettingValueByKey("machine_width") / 2, 0.0, -settings.getSettingValueByKey("machine_depth") / 2]
points -= numpy.array(center)
layerData.addPolygon(layer.id, polygon.type, points, polygon.line_width)
layerData.addPolygon(layer.id, polygon.type, points)
# We are done processing all the layers we got from the engine, now create a mesh out of the data
layerData.build()
mesh.layerData = layerData