mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 23:25:53 +08:00
Correct for inverted Z in ProcessSlicedObjectListJob
This commit is contained in:
parent
462b68f389
commit
be168bace0
@ -49,6 +49,8 @@ class ProcessSlicedObjectListJob(Job):
|
|||||||
points[:,0] -= self._center.x
|
points[:,0] -= self._center.x
|
||||||
points[:,2] -= self._center.z
|
points[:,2] -= self._center.z
|
||||||
|
|
||||||
|
points[:,2] *= -1
|
||||||
|
|
||||||
#points = numpy.pad(points, ((0,0), (0,1)), 'constant', constant_values=(0.0, 1.0))
|
#points = numpy.pad(points, ((0,0), (0,1)), 'constant', constant_values=(0.0, 1.0))
|
||||||
#inverse = node.getWorldTransformation().getInverse().getData()
|
#inverse = node.getWorldTransformation().getInverse().getData()
|
||||||
#points = points.dot(inverse)
|
#points = points.dot(inverse)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user