Commit 6a0e1176 authored by sumpfralle's avatar sumpfralle

r671@erker: lars | 2010-02-15 14:56:53 +0100

 comment the weird point order of AOI's (?) triangles


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@129 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 282b9065
...@@ -11,6 +11,7 @@ def convert_triangles_to_vertices_faces(triangles): ...@@ -11,6 +11,7 @@ def convert_triangles_to_vertices_faces(triangles):
id_index_map = {} id_index_map = {}
for t in triangles: for t in triangles:
coords = [] coords = []
# TODO: check if we need to change the order of points for non-AOI models as well
for p in (t.p1, t.p3, t.p2): for p in (t.p1, t.p3, t.p2):
# add the point to the id/index mapping, if necessary # add the point to the id/index mapping, if necessary
if not id_index_map.has_key(p.id): if not id_index_map.has_key(p.id):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment