yeah, very strange!
Code: Select all
selected files:
mmisha_z_AA.dae
PSSG file size:59333
PSSG attribute count:33
PSSG info count:20
then IndexError: list index out of range
And I can't debug the script because of not having access to "offset" (always=-1)
Code: Select all
def read_BE(self , offset = -1, fmt='L', extractifsingle = True):
if type(offset) is str:
if type(fmt) is bool:
extractifsingle = fmt
fmt = offset
elif offset != -1:
self.seek(offset); print(hex(offset))#never met
result = struct.unpack(">" + fmt, self.read(struct.calcsize(">" + fmt)))
if extractifsingle and len(result) == 1:
return result[0]
return result
(This is why I really hate python.
)
btw: extracting those dae.gz files did reveals translation and rotation tables only, so far. Not worth bothering for me.
For
stage_a_KK.dae the script didn't crash but blender displays nothing.
stage_a_KK.dae
PSSG file size:18827795
PSSG attribute count:108
PSSG info count:39
...
Parsing root
Parsing Joints
Parsing Skin
Parsing Skin
Parsing Skin
LIBRARY
file name:stage_a_KK
script terminated in 0 seconds
.
stage_a_KK-dae.jpg
You do not have the required permissions to view the files attached to this post.