obj Y to Z
This commit is contained in:
parent
8f36b88571
commit
d5170014c0
|
@ -19,6 +19,9 @@ class Obj(Triangular):
|
|||
for vertex in scene_dic['vertices']:
|
||||
for i in range(0, 3):
|
||||
vertex[i] -= reference_coordinates[i]
|
||||
aux_variable = vertex[1]
|
||||
vertex[1] = vertex[2]
|
||||
vertex[2] = aux_variable
|
||||
scene = Trimesh(vertices=scene_dic['vertices'], faces=scene_dic['faces'])
|
||||
obj_file = trimesh.exchange.obj.export_obj(scene)
|
||||
with open(file_path_out, 'w') as file:
|
||||
|
|
Loading…
Reference in New Issue
Block a user