Fit Marvelous Avatar :: ValueError with Imported Model

Apologies if this is a redundant question as I’ve seen a few questions on the forums involving this error but couldn’t figure out how to apply it to my issue.

I’m running the Fit Marvelous Avatar example with a different model than the Marvelous Avatar exported model. In this case it’s a base male model from Z-Brush. When I load in the model without making any adjustments to it in outside programs it works fine but there is an interior mesh for the tongue, teeth, etc, that ends up morphing with the model and attaching to the face. I took the model into Maya and deleted this section. After I exported the mesh and loaded it back into WrapX with the same script I get an error:

ValueError: GeomFloating contains 242 disconnected from each other polygon groups, must be 1. One can use wrap.subset() to extract main part.

I’ve tried looking up polygon groups and haven’t found anything that adequately explains it. Is there a specific way I need to export my altered model in order to make it cooperate with the script I’m running? I’ve attached a link to the unaltered mesh that works and the altered mesh that doesn’t work.

Thanks an advance for any info or help with this, I’m still pretty new to 3D modeling, etc.

Hello Matt,

Unfortunately WrapX script can only work with specific MD meshes. Rig fitting will not work with an arbitrary basemesh. When working with custom meshes I would suggest to use auto-rigging tools like Mixamo to rig your mesh after wrapping.

Regarding disconnected polygons: the error message means not polygroups but rather disconnected mesh elements.

The original model you’ve sent contains polygroups. When importing it into Maya make sure that File Type Specific Options > Single Object is checked, otherwise the mesh will be splitted.

If your goal is to get wrapped model I would suggest to use Wrap3 instead as its wrapping algorithm is much more efficient for fullbody wrapping.