mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Add support for line width and infill types to LayerData::Polygon
Contributes to #52
This commit is contained in:
parent
ad88506325
commit
75fff176f4
2 changed files with 31 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue