Luca,

I've been getting a bug when writing a .dat file, and trying to read it back in:

Reading Tecplot surface file.
Traceback (most recent call last):
  File "/Users/benberkowitz/vmtk-build/Install/bin/vmtksurfaceviewer", line 64, 
in <module>
    main.Execute()
  File "/Users/benberkowitz/vmtk-build/Install/lib/vmtk/vmtk/pypescript.py", 
line 615, in Execute
    pipe.Execute()
  File "/Users/benberkowitz/vmtk-build/Install/lib/vmtk/vmtk/pype.py", line 
272, in Execute
    scriptObject.IORead()
  File "/Users/benberkowitz/vmtk-build/Install/lib/vmtk/vmtk/pypescript.py", 
line 567, in IORead
    reader.Execute()
  File 
"/Users/benberkowitz/vmtk-build/Install/lib/vmtk/vmtk/vmtksurfacereader.py", 
line 220, in Execute
    self.ReadTecplotSurfaceFile()
  File 
"/Users/benberkowitz/vmtk-build/Install/lib/vmtk/vmtk/vmtksurfacereader.py", 
line 107, in ReadTecplotSurfaceFile
    self.PrintLog("Reading " + str(numberOfNodes)+" nodes.")
UnboundLocalError: local variable 'numberOfNodes' referenced before assignment

There is one other question I had.  When working with the Voronoi diagrams, I'm 
a little confused as what is actually represented by the data.  In the .vtp 
files, if I want to get the centers and locations of the spheres, should I be 
counting and reading the cells or the points in VTK?

Thanks,
Ben Berkowitz



------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
vmtk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vmtk-users

Reply via email to