mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 12:15:53 +08:00
Add some print outs
This commit is contained in:
parent
102bef9a4f
commit
3a78bc841b
@ -54,10 +54,11 @@ class PickingPass(RenderPass):
|
|||||||
vertices = node.getMeshData().getVertices()
|
vertices = node.getMeshData().getVertices()
|
||||||
normals = node.getMeshData().getNormals()
|
normals = node.getMeshData().getNormals()
|
||||||
print("Faces:", faces)
|
print("Faces:", faces)
|
||||||
print("Vertices", vertices)
|
print("Vertices:", vertices)
|
||||||
|
print("Normals:", normals)
|
||||||
|
|
||||||
for index, face in enumerate(faces):
|
for index, face in enumerate(faces):
|
||||||
normal_vertex = normals[index]
|
normal_vertex = normals[face][0]
|
||||||
triangle_mesh = vertices[face]
|
triangle_mesh = vertices[face]
|
||||||
print(face, normal_vertex, triangle_mesh)
|
print(face, normal_vertex, triangle_mesh)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user