nruddock opened this issue on Jul 14, 2007 ยท 39 posts
nruddock posted Wed, 15 August 2007 at 6:49 PM
Quote - Output: "Number of vertices read is 0" -- which makes me wonder if the Hex obj export for Mac is what is screwy. Quick edit: actually... maybe not. There are 'v' lines in the Hex exported obj.
There should also be lines that start as follows printed out :-
File size ...
Number of lines ...
If your not seeing those then the fix isn't kicking in, so replace the following lines
if (os.name == 'mac'):
lines = filein2.read()
lineSource = lines.split()
print "File size", len(lines)
print "Number of lines", len(lineSource)
else:
lineSource = filein2
with
# if (os.name == 'mac'):
lines = filein2.read()
lineSource = lines.split()
print "File size", len(lines)
print "Number of lines", len(lineSource)
# else:
# lineSource = filein2
This should tell me at least something about what's happening.
I suspect that I'll need you to send me something exported from Hex (a cube would do), so that I can examine it.