cant use makeclothes(probably)

If you have problems understanding something or getting started, ask here

Moderator: joepal

cant use makeclothes(probably)

Postby Kagan » Tue Jun 27, 2017 10:12 pm

good forums guys i just made a custom hair fitted and exported using blender addon makeclothes its ok but when i try to put on hair at makehuman i got this error and hair didnt appear on my characters head

log:

Failed to load C:/Users/nanob/Documents/makehuman/v1/data/clothes/sidepart~0_default.001_default.001/sidepart~0_default.001_default.001.obj
Unable to load obj file: C:/Users/nanob/Documents/makehuman/v1/data/clothes/sidepart~0_default.001_default.001/sidepart~0_default.001_default.001.obj
Traceback (most recent call last):
File "core\files3d.py", line 206, in loadMesh
File "core\files3d.py", line 165, in loadTextMesh
File "shared\wavefront.py", line 148, in loadObjFile
File "core\module3d.py", line 642, in setFaces
File "core\module3d.py", line 712, in _update_faces
RuntimeError: Incompatible mesh topology.
Failed to load C:/Users/nanob/Documents/makehuman/v1/data/clothes/sidepart~0_default.001_default.000/sidepart~0_default.001_default.000.obj
do Change clothes
showing task Logs
Selecting proxy file "C:/Users/nanob/Documents/makehuman/v1/data/clothes\sidepart~0_default.001_default.000\sidepart~0_default.001_default.000.mhpxy" from clothes library.
compiled proxy file out of date: C:/Users/nanob/Documents/makehuman/v1/data/clothes\sidepart~0_default.001_default.000\sidepart~0_default.001_default.000.mhpxy
Problem loading binary proxy: ('compiled file out of date: %s', u'C:/Users/nanob/Documents/makehuman/v1/data/clothes\\sidepart~0_default.001_default.000\\sidepart~0_default.001_default.000.mhpxy')
Loading proxy file: C:/Users/nanob/Documents/makehuman/v1/data/clothes\sidepart~0_default.001_default.000\sidepart~0_default.001_default.000.mhclo.
Loading material from file C:/Users/nanob/Documents/makehuman/v1/data/clothes/sidepart~0_default.001_default.000/sidepart~0_default.001_default.000.mhmat
Compiling binary proxy file C:/Users/nanob/Documents/makehuman/v1/data/clothes\sidepart~0_default.001_default.000\sidepart~0_default.001_default.000.mhpxy
compiled file missing: C:/Users/nanob/Documents/makehuman/v1/data/clothes/sidepart~0_default.001_default.000/sidepart~0_default.001_default.000.npz
Problem loading binary mesh: ('compiled file missing: %s', u'C:/Users/nanob/Documents/makehuman/v1/data/clothes/sidepart~0_default.001_default.000/sidepart~0_default.001_default.000.npz')
Loading ASCII mesh C:/Users/nanob/Documents/makehuman/v1/data/clothes/sidepart~0_default.001_default.000/sidepart~0_default.001_default.000.obj.
Failed to index faces of mesh sidepart~0_default.001_default.000.obj, you are probably loading a mesh with mixed nb of verts per face (do not mix tris and quads). Or your mesh has too many faces attached to one vertex (the maximum is 8-poles). In the second case, either increase MAX_FACES for this mesh, or improve the mesh topology. Original error message: (<type 'exceptions.ValueError'>) could not broadcast input array from shape (9) into shape (8)
Unable to load obj file: C:/Users/nanob/Documents/makehuman/v1/data/clothes/sidepart~0_default.001_default.000/sidepart~0_default.001_default.000.obj
Traceback (most recent call last):
File "core\files3d.py", line 206, in loadMesh
File "core\files3d.py", line 165, in loadTextMesh
File "shared\wavefront.py", line 148, in loadObjFile
File "core\module3d.py", line 642, in setFaces
File "core\module3d.py", line 712, in _update_faces
RuntimeError: Incompatible mesh topology.
Failed to load C:/Users/nanob/Documents/makehuman/v1/data/clothes/sidepart~0_default.001_default.000/sidepart~0_default.001_default.000.obj
Exception during event onFileSelected
Traceback (most recent call last):
File "core\events3d.py", line 211, in callEvent
File "apps\gui\proxychooser.py", line 163, in onFileSelected
File "apps\gui\proxychooser.py", line 240, in proxyFileSelected
File "core\mhmain.py", line 858, in do
File "apps\gui\proxychooser.py", line 77, in do
File "apps\gui\proxychooser.py", line 308, in selectProxy
File "shared\proxy.py", line 166, in loadMeshAndObject
AttributeError: 'bool' object has no attribute 'priority'
hiding category Geometries
showing category Utilities
hiding task Clothes
showing task Logs
Kagan
 
Posts: 4
Joined: Tue Jun 27, 2017 10:04 pm

Re: cant use makeclothes(probably)

Postby loki1950 » Wed Jun 28, 2017 3:03 am

You most likely have triangles in the mesh hair you made makeclothes only works when there are only quadrangles so back to blender and try again ;)

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo Ideapad 320-15ABR Win 10/Mint 19
User avatar
loki1950
 
Posts: 1219
Joined: Thu Dec 18, 2014 6:27 pm
Location: Ottawa,Ontario

Re: cant use makeclothes(probably)

Postby Kagan » Wed Jun 28, 2017 4:29 am

loki1950 wrote:You most likely have triangles in the mesh hair you made makeclothes only works when there are only quadrangles so back to blender and try again ;)

Enjoy the Choice :)

thanks but how can i do? is there a tool for it or i have to model whole obj again?
Kagan
 
Posts: 4
Joined: Tue Jun 27, 2017 10:04 pm

Re: cant use makeclothes(probably)

Postby blindsaypatten » Wed Jun 28, 2017 3:34 pm

I'm just curious, will MakeClothes even produce output if the mesh contains non-quads? I have always just gotten error messages.
blindsaypatten
 
Posts: 586
Joined: Tue Mar 14, 2017 11:16 pm

Re: cant use makeclothes(probably)

Postby Kagan » Wed Jun 28, 2017 4:59 pm

blindsaypatten wrote:I'm just curious, will MakeClothes even produce output if the mesh contains non-quads? I have always just gotten error messages.

yes but its useless if you even manage to produce output it triggers my problem
Kagan
 
Posts: 4
Joined: Tue Jun 27, 2017 10:04 pm

Re: cant use makeclothes(probably)

Postby punkduck » Wed Jun 28, 2017 7:57 pm

blindsaypatten wrote:I'm just curious, will MakeClothes even produce output if the mesh contains non-quads? I have always just gotten error messages.


I just tried it, 2 triangles: MakeClothes does not complain. 2 triangles and 1 rectangle, "you cannot mix ..." :?

I guess the complete object is made from triangles. Otherwise MakeClothes should complain.

If not there is another chance: increase the max_pole value in .mhclo file manually from 8 to 9 with an editor. I got the problem often, but is was more like MakeClothes created a max_pole value of 5 and I had 6 edges leaving a vertex. Maybe 8 is the limit. In this case you should do a change in the topology. Here is a picture how I changed the triangle fan used for a dics in Blender to something MH could handle:

http://www.makehumancommunity.org/forum/download/file.php?id=4130&mode=view
User avatar
punkduck
 
Posts: 1260
Joined: Mon Oct 17, 2016 7:24 pm
Location: Nuremberg, Germany

Re: cant use makeclothes(probably)

Postby Kagan » Sat Jul 08, 2017 4:03 pm

oh nevermind i got its done you can lock this topic if anybody haves this problem too just put hair on your characters head in blender and select neck bone and hair using left shift+right mouse button then ctrl p set parent to bone and here its sticked to head :)
Kagan
 
Posts: 4
Joined: Tue Jun 27, 2017 10:04 pm


Return to Newbies

Who is online

Users browsing this forum: No registered users and 5 guests