MakeClothes2 -- Missing configuration file?

If your topic doesn't fit anywhere else, put it here.

Moderator: joepal

MakeClothes2 -- Missing configuration file?

Postby SaltyCowdawg » Fri Jan 24, 2020 8:03 pm

I created a simple piece of clothing, textured it and the whole nine. Got as far as hitting the make clothes button (tags, author everything) and got an error "Cannot open configuration file for hm08.ext"

Where do I get that file?
Peter L. Berghold <peter@berghold.net> or <Salty.Cowdawg@gmail.com>
Retired IT with 30+ years in the business
User avatar
SaltyCowdawg
 
Posts: 460
Joined: Fri Aug 09, 2013 3:12 pm
Location: Ayden NC

Re: MakeClothes2 -- Missing configuration file?

Postby SaltyCowdawg » Fri Jan 24, 2020 8:15 pm

OK did some digging and found a "hm08.cfg" file which I copied to hm08_ext.cfg. Reran the makeclothes step and it barfed.

makeclothes2-crash.png
WHoops!


What am I missing here?


I'm using a meshfile that Elvaerwyn messaged me privately.

This is on Blender 2.81 and I just downloaded the MakeClothes 2 fresh today. Saving the blend file and attaching it here.

midsleeveshirt.zip
(27.99 MiB) Downloaded 562 times
Peter L. Berghold <peter@berghold.net> or <Salty.Cowdawg@gmail.com>
Retired IT with 30+ years in the business
User avatar
SaltyCowdawg
 
Posts: 460
Joined: Fri Aug 09, 2013 3:12 pm
Location: Ayden NC

Re: MakeClothes2 -- Missing configuration file?

Postby punkduck » Sat Jan 25, 2020 10:42 pm

Hi, do you need a basemesh with wings? :P

This hm08_ext mesh is a special base mesh with wing helpers.

It looks like elv did send that. It works like this: The empty vertex-group _mesh_hm08_ext of your base/human mesh indicates that makeclothes should look for an alternative config file.

The wing-mesh is the base-mesh + additional helpers at the end. So it is compatible. You can simply delete the empty vertex-group and it uses the normal hm08.

I did this to have more flexible possibilities in future.

Greetings from duckie ;)
User avatar
punkduck
 
Posts: 1218
Joined: Mon Oct 17, 2016 7:24 pm
Location: Nuremberg, Germany

Re: MakeClothes2 -- Missing configuration file?

Postby SaltyCowdawg » Sun Jan 26, 2020 7:58 pm

punkduck wrote:
This hm08_ext mesh is a special base mesh with wing helpers.

You can simply delete the empty vertex-group and it uses the normal hm08.



Will give that a shot. Makes sense.
Peter L. Berghold <peter@berghold.net> or <Salty.Cowdawg@gmail.com>
Retired IT with 30+ years in the business
User avatar
SaltyCowdawg
 
Posts: 460
Joined: Fri Aug 09, 2013 3:12 pm
Location: Ayden NC

Re: MakeClothes2 -- Missing configuration file?

Postby punkduck » Sun Jan 26, 2020 9:58 pm

Oh before I forget: mark the base as a human then again, otherwise it will not be overwritten in the local blender variable-settings.

You should see then a line with the mesh-name "hm08" instead of "hm08_ext" as comment somewhere on the blender screen.
User avatar
punkduck
 
Posts: 1218
Joined: Mon Oct 17, 2016 7:24 pm
Location: Nuremberg, Germany

Re: MakeClothes2 -- Missing configuration file?

Postby SaltyCowdawg » Wed Jan 29, 2020 12:29 am

Code: Select all
Traceback (most recent call last):
  File "/home/peter/.config/blender/2.81/scripts/addons/makeclothes/operators/createclothes.py", line 85, in execute
    (b, hint) = mc.make()
  File "/home/peter/.config/blender/2.81/scripts/addons/makeclothes/core_makeclothes_functionality.py", line 175, in make
    (b, vgroupname) = self.findClosestVertices()
  File "/home/peter/.config/blender/2.81/scripts/addons/makeclothes/core_makeclothes_functionality.py", line 222, in findClosestVertices
    clothesVertices = self.clothesmesh.vertexGroupVertices[vgroupIdx]
KeyError: 0

location: <unknown location>:-1




Seeing the above spew when I hit "make clothes."


I hit the "mark as human" key a couple of times just to be sure and eventually I saw "mesh type hm08." What I did not see was a vertex group called hm08. I tried renaming the mesh from what it was (base?) to hm08 just to see if that was the majic jello pop but no dice. Still persists in not working for me.
Peter L. Berghold <peter@berghold.net> or <Salty.Cowdawg@gmail.com>
Retired IT with 30+ years in the business
User avatar
SaltyCowdawg
 
Posts: 460
Joined: Fri Aug 09, 2013 3:12 pm
Location: Ayden NC

Re: MakeClothes2 -- Missing configuration file?

Postby SaltyCowdawg » Wed Jan 29, 2020 12:36 am

Nevermind..... got it to work....


This time what I did instead of duplicating/parenting the desired helper group I went ahead and used "extract clothes." You can teach a salty old dog new tricks. Did not make any edits to the clothes (yet) but it created the clothing in one shot.


On to the next in my continuing saga of making clothing...


What that implies is I cannot use primitives like a cylinder for instance to make clothing from? I'm gonna try anyway and see what happens.
Peter L. Berghold <peter@berghold.net> or <Salty.Cowdawg@gmail.com>
Retired IT with 30+ years in the business
User avatar
SaltyCowdawg
 
Posts: 460
Joined: Fri Aug 09, 2013 3:12 pm
Location: Ayden NC

Re: MakeClothes2 -- Missing configuration file?

Postby joepal » Wed Jan 29, 2020 6:06 am

Yes you can. You just need to a) make sure it is all tris OR quads, not a mix and b) click the "mark as clothes" button.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4474
Joined: Wed Jun 04, 2008 11:20 am

Feature rq (was Re: MakeClothes2 -- Missing configuration fi

Postby SaltyCowdawg » Wed Jan 29, 2020 1:00 pm

Unless I'm going blind I did not see the old vertex group left,right,middle,delete in the new base mesh. This would be a great thing to have back when deriving clothes from helpers. I was in the habit of deleting the right side and using the mirror modifier right up until I was doing something non-symetrical using the old makeclothes. Now it is a PITA when trying to select one side or the other especially when using the tights helper.

Trying to make a military style jump suit using tights...

Selecting vertices on one side or the other is tough when you get to the crotch area...
Peter L. Berghold <peter@berghold.net> or <Salty.Cowdawg@gmail.com>
Retired IT with 30+ years in the business
User avatar
SaltyCowdawg
 
Posts: 460
Joined: Fri Aug 09, 2013 3:12 pm
Location: Ayden NC

Re: MakeClothes2 -- Missing configuration file?

Postby Elvaerwyn » Wed Jan 29, 2020 6:55 pm

No there is no default vertex setup atm, and tbh having made tons of new clothes with this version... I find it best to not try to use the old setup. I generally just select all vertexes that will be covered up by the item, like pants so select legs and buttocks, crotch area-then name these to say pants in vertex area. Then i name the pants the same pants in vertex and hit make clothes and it is pretty perfect every time now. If you want to select only a few vertexes for w/e reason and have hard time try selecting the vertexes on dummy in UV mode with keep in sync mode active. There are of course exceptions, and arms groups should be used if the clothing is very baggy on arms or have fabric hanging off it like ruffles or fringe. Remember you are no where limited like you used to be and very free to figure an own workflow going forward with this very loose and very good version of the addon!
She who knows in repose with prose...
User avatar
Elvaerwyn
 
Posts: 375
Joined: Tue Aug 22, 2017 11:28 pm
Location: Canada

Next

Return to General discussions about makehuman

Who is online

Users browsing this forum: No registered users and 1 guest