-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Functionality for easily selecting vertices influenced by a target/shapekey #179
Comments
Actually, how do you get the coordinates in the statement "vertex_group_information["basemesh"]["scalp"] = [226,...]" in mpfb/entities/socketobject/_extra_vertex_groups.py file, this can also work for me. |
I haven't been able to find any obvious way to select vertices influenced by a shape key via the UI. It should not be that difficult to write such a utility though. The information about which vertices are influenced by a target (ie a slider under model, not any shape key) is available from the target information. In general, utility functions for manipulating and reading shape keys are available in https://github.com/makehumancommunity/mpfb2/blob/blender4/src/mpfb/services/targetservice.py A destructive way to get the coordinates after shape keys is by using the bake_targets method. But you could always make a copy before baking. With a basemesh selected, you can get the coordinate of vertex with index 226 after shape keys by running the following in the scripting tab:
Or, in extension, if you want to print all coordinates in the scalp group:
|
Getting information about a shape key can also be done via TargetService. For example, for the nose-scale-depth-incr shape key:
|
@joepal1976 thank you very much for your reply. |
This is more complicated than initially thought. Postponing until a later release. |
We update vertex groups in areas like face, hand, and foot with shapekeys, but do we have the ability to select vertex groups through these shapekeys?

The text was updated successfully, but these errors were encountered: