by Skalldyrssuppe » Tue Jun 11, 2024 5:41 pm
im using Windows and the format dont matter (ive tried MHx2, fbx, obj even stl), all of them start the progressbar but at 10% it just fails.
Sometimes it would produce a file, but its only 81kb and does not contain the exported model
it turns out its a problem with the male_chitton clothing cuz when i put on some other clothes it works as intended in all formats, the clothing works well in MH though so i cant understand why that would be a problem
The log reports:
Exception during event onFileSelected
Traceback (most recent call last):
File "./core\events3d.py", line 211, in callEvent
method(event)
File "./apps/gui\guiexport.py", line 113, in onFileSelected
exporter.export(gui3d.app.selectedHuman, filename)
File "D:\MH 1.3\1.2\makehuman\plugins\9_export_mhx2\__init__.py", line 56, in export
mh2mhx2.exportMhx2(filename("mhx2"), cfg)
File "D:\MH 1.3\1.2\makehuman\plugins\9_export_mhx2\mh2mhx2.py", line 59, in exportMhx2
meshes = [obj.mesh.clone(cfg.scale, True) for obj in objects]
File "D:\MH 1.3\1.2\makehuman\plugins\9_export_mhx2\mh2mhx2.py", line 59, in <listcomp>
meshes = [obj.mesh.clone(cfg.scale, True) for obj in objects]
File "./core\module3d.py", line 171, in clone
other.calcNormals()
File "./core\module3d.py", line 1210, in calcNormals
self.calcVertexNormals(verticesToUpdate)
File "./core\module3d.py", line 366, in calcVertexNormals
norms *= np.arange(self.MAX_FACES)[None,:,None] < self.nfaces[ix][:,None,None]
ValueError: operands could not be broadcast together with shapes (4492,6,3) (4492,8,1) (4492,6,3)
but i have no clue what this means, but seems relevant