mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 15:37:27 -06:00
Merge fix, and update to json file to get all engine settings in there.
This commit is contained in:
commit
23e5bcc55b
2 changed files with 3 additions and 1 deletions
|
@ -141,7 +141,7 @@ class CuraEngineBackend(Backend):
|
|||
|
||||
verts = numpy.array(mesh_data.getVertices(), copy=True)
|
||||
verts[:,[1,2]] = verts[:,[2,1]]
|
||||
verts[:,[2]] *= -1
|
||||
verts[:,1] *= -1
|
||||
obj.vertices = verts.tostring()
|
||||
|
||||
#if meshData.hasNormals():
|
||||
|
|
|
@ -45,6 +45,8 @@ class ProcessSlicedObjectListJob(Job):
|
|||
points /= 1000
|
||||
points = numpy.insert(points, 1, layer.id * layerHeight, axis = 1)
|
||||
|
||||
points[:,2] *= -1
|
||||
|
||||
#points = numpy.pad(points, ((0,0), (0,1)), 'constant', constant_values=(0.0, 1.0))
|
||||
#inverse = node.getWorldTransformation().getInverse().getData()
|
||||
#points = points.dot(inverse)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue