Moderator: joepal
jjones wrote:I'm sad to see that VScorpion has deleted her makeclothes videos. Now where will I turn for expert info? sigh...
joepal wrote:Clothes consists of two parts:
- The vertices of the clothes mesh
- Information about how they should be matched against the base mesh
In order to caculate the matching, you need both the clothes and base mesh. So these two objects need to be selected when performing the operation.
Exception during event onFileSelected
Traceback (most recent call last):
File "/Users/jjones/src/makehuman/makehuman-peach/./core/events3d.py", line 166, in callEvent
method(event)
File "/Users/jjones/src/makehuman/makehuman-peach/./apps/gui/proxychooser.py", line 163, in onFileSelected
self.proxyFileSelected(filename)
File "/Users/jjones/src/makehuman/makehuman-peach/./apps/gui/proxychooser.py", line 240, in proxyFileSelected
gui3d.app.do(action)
File "/Users/jjones/src/makehuman/makehuman-peach/./core/mhmain.py", line 913, in do
if action.do():
File "/Users/jjones/src/makehuman/makehuman-peach/./apps/gui/proxychooser.py", line 60, in do
self.library.selectProxy(self.after)
File "/Users/jjones/src/makehuman/makehuman-peach/plugins/3_libraries_proxy_chooser.py", line 80, in selectProxy
self.human.setProxy(pxy)
File "/Users/jjones/src/makehuman/makehuman-peach/./apps/human.py", line 124, in setProxy
super(Human, self).setProxy(proxy)
File "/Users/jjones/src/makehuman/makehuman-peach/./core/guicommon.py", line 402, in setProxy
self.updateProxyMesh()
File "/Users/jjones/src/makehuman/makehuman-peach/./core/guicommon.py", line 368, in updateProxyMesh
self.proxy.update(self.__proxyMesh, fit_to_posed)
File "/Users/jjones/src/makehuman/makehuman-peach/./shared/proxy.py", line 188, in update
mesh.changeCoords(coords)
File "/Users/jjones/src/makehuman/makehuman-peach/./core/module3d.py", line 594, in changeCoords
self.coord[indices] = coords
ValueError: could not broadcast input array from shape (19158,3) into shape (53514,3)
import bpy
obj = bpy.context.object
if obj is not None and obj.type == 'MESH':
print("Number of vertices:", len(obj.data.vertices))
else:
print("Selected object is not a mesh or no object is selected")
Info: Mesh imported
Number of vertices: 19158
Info: 1 object(s) pasted
Info: Mesh type was set to Clothes
Info: A new UUID was set in the text box
Info: Clothes check performed, see panel
Writing to /Users/jjones/Documents/Blender/zzz2.obj
OBJ export of 'zzz2.obj' took 46.44 ms
Info: Total files 7 | Changed 7 | Failed 0
Number of vertices: 19158
Return to General discussions about makehuman
Users browsing this forum: No registered users and 1 guest