Skip to content

Commit

Permalink
Arch: removed degug messages in collada importer
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Jan 15, 2014
1 parent 0b94538 commit 5e7c5a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Mod/Arch/importDAE.py
Expand Up @@ -88,7 +88,7 @@ def read(filename):
#for geom in col.geometries:
for prim in geom.primitives():
#for prim in geom.primitives:
print prim, dir(prim)
#print prim, dir(prim)
meshdata = []
if hasattr(prim,"triangles"):
tset = prim.triangles()
Expand All @@ -99,9 +99,9 @@ def read(filename):
for v in tri.vertices:
face.append([v[0],v[1],v[2]])
meshdata.append(face)
print meshdata
#print meshdata
newmesh = Mesh.Mesh(meshdata)
print newmesh
#print newmesh
obj = FreeCAD.ActiveDocument.addObject("Mesh::Feature","Mesh")
obj.Mesh = newmesh

Expand Down

0 comments on commit 5e7c5a2

Please sign in to comment.