Export function dont work

Tech support and suggestions forum. If you only have a basic question on how to get started, please use the "newbies" forum in the community section.

Moderator: joepal

Export function dont work

Postby Skalldyrssuppe » Tue Jun 11, 2024 9:42 am

Hi im having trouble exporting my model, i thought it was a bug in 1.3 so i downgraded to 1.2 but the problem persists

after some troubleshooting it seems to be a problem in the model itself cuz other models ive made exports fine.

any ideas? ive uploaded the .MHM but since it will be the main character of my game please dont post/use it somewhere.

its using the male_chitton clothing and i seem to remember having to fix the texture pathing on it, could that be it? (idk why but...)

any help would be appreciated, Skalldyrssuppe

lol. model is not included as" The extension mhm is not allowed."
Skalldyrssuppe
 
Posts: 15
Joined: Wed Mar 15, 2017 11:01 am

Re: Export function dont work

Postby Skalldyrssuppe » Tue Jun 11, 2024 10:48 am

UPDATE: the citton was the problem, i still dont know why so any feedback is still appreciated
Skalldyrssuppe
 
Posts: 15
Joined: Wed Mar 15, 2017 11:01 am

Re: Export function dont work

Postby tomcat » Tue Jun 11, 2024 3:47 pm

Skalldyrssuppe wrote:im having trouble exporting my model

What:
  1. exactly is the problem
  2. format did you export to
  3. operating system
??
Foreigners' reactions to Russian "Bird's Milk" candies
— Are your birds being milked?
— In Russia everyone is milked. Here even the zucchini is used to make caviar.
User avatar
tomcat
 
Posts: 476
Joined: Sun Sep 27, 2015 7:53 pm
Location: Moscow (Orcish Stun), The Aggressive Evil Empire

Re: Export function dont work

Postby 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
Skalldyrssuppe
 
Posts: 15
Joined: Wed Mar 15, 2017 11:01 am

Re: Export function dont work

Postby tomcat » Tue Jun 11, 2024 7:56 pm

Skalldyrssuppe wrote:it turns out its a problem with the male_chitton clothing

There is a problem with clothing, indeed there is… but that doesn't prevent imports:

Image

I fixed a similar thing, but I don't remember how.

You can use import to Blender via socket or MPFB2 (it allows you to import models from MakeHuman).

Image
Foreigners' reactions to Russian "Bird's Milk" candies
— Are your birds being milked?
— In Russia everyone is milked. Here even the zucchini is used to make caviar.
User avatar
tomcat
 
Posts: 476
Joined: Sun Sep 27, 2015 7:53 pm
Location: Moscow (Orcish Stun), The Aggressive Evil Empire


Return to Bugs, problems and feature requests

Who is online

Users browsing this forum: No registered users and 1 guest