Hello everyone
How do I load and exclude a polygroup in wrapx 1.3 through the command line for the wrapp process??. the models that I load fron Zbrush have polygroups but the software seems dont recognized them.
Thanks
Hello everyone
How do I load and exclude a polygroup in wrapx 1.3 through the command line for the wrapp process??. the models that I load fron Zbrush have polygroups but the software seems dont recognized them.
Thanks
Hello!
You can select polygons by polygroup name using wrap.Geom.selectPolygonsByPolygroup() function.
Then you have two ways of excluding such polygons. In the first case you can pass them into wrapping process trough parameter “freePolygonIndicesFloating” of
wrap.nonRigidRegistration() function. In this case free polygons tend to stay as rigid as possible and do not tend to stitch to target surface.
If you want totally exclude polygons from wrapping process then you need to use wrap.subset() function. Recently I made an example of this which you may find useful.
Would you be willing to write out the actual code for:
I keep trying, and all I’m getting are errors. The example uses a pre-selected polygon group from a text file, but I want to select my own. And I DO want the free polygons to stay as rigid as possible. I’m not a Python coder, so I’m trying to figure it out from examples. No luck so far.
Hello!
Here is an example code which covers free polygon usage:
FreePolygonsExample.py
It will wrap basemesh with eye and mouth sockets around neutral scan. Eye and mouth sockets have to be free polygons since scan obviously does not contain information about them. Follow the comments in the code, and let me know if something isn’t clear.