30
votes
Accepted
Finding vertices in a Vertex Group using Blender's Python API
Methods
1. List comprehension
As mentioned by Pycoder in the comments below, using operators is often slow. So a quicker and simpler (and X2 faster) method to get all the verts that belong to a ...
Community wiki
28
votes
How to assign vertex group to single bone
Just name your vertex groups the same as your bones. The bone named "hand.left" will animate the "hand.left" group (by default the weights are set to 1).
Then both select the mesh and the armature (in ...
26
votes
Accepted
What are the colored/highlighted edges in edit mode?
Those edges have been marked.
There are actually five types of markings you can apply to edges:
Red - UV Seam
Blue - Bevel Weight
Purple - Edge Crease
Cyan - Sharp Edge
Green - Freestyle Edge
You ...
23
votes
Accepted
How to merge vertex groups?
You can do this using the 'Vertex Weight Mix' modifier.
Here, I have an object with two vertex groups I would like to mix, one is a patch on the left and the other contains a patch on the right of ...
21
votes
Accepted
How do I stick an object to another objects vertex?
You want to use Vertex Parent to parent the object to vertices in the wave mesh.
To do this, select the Wave mesh and switch to Edit mode. Select the vertex you want.
Note: I've actually found it ...
16
votes
Weight paint in cycles nodes?
You need to translate vertex weight into some proxy that nodes can read. Consider using UV as a proxy. It can be read by nodes and it can easily be mapped to vertex group weight.
Create a new UV ...
16
votes
Accepted
Some vertices don't move along with the rig
To solve this issue, you need to:
Make sure the mesh weights are set correctly
Probably join all the body part meshes into one mesh
Make you rig bind to the mesh using bone envelopes or vertex ...
15
votes
Accepted
Is there a way to save selection by faces
This is a limitation of the current Vertex Groups system that has been an occasional nuisance.
The reason they are called "Vertex Groups" as opposed to "Face Groups", is the fact ...
13
votes
Checking if a vertex belongs to a vertex group in python
What you basically want is something like this:
...
12
votes
Accepted
(Rigging) Why are some of my vertex groups affecting blue areas?
Blue doesn't necessarily mean zero. When a vertex is only affected by one bone, a tiny amount of weight is enough to deform it like it had a weight of 1.0.
And even if a vertex has a main deforming ...
12
votes
How can I get the names of the vertex groups these vertices are in?
There's no need for operators, nor the bmesh module:
...
11
votes
Accepted
How to mirror copy existing vertex weights
Copy your vertex group
Mirror your vertex group
Now you just have to merge them togerher. Do it with script if you wanna automatize it or by hand:
How to merge vertex groups?
11
votes
Is there a way to save selection by faces
Actually, in Blender 2.80 you can save face selections using the "Face Maps" grouping. It is located in the "Object Data" panel. It works the same as vertex groups but stores faces instead.
10
votes
Accepted
Turn weight paint(vertex groups) into vertex paint?
I think you will still have to do a bit of scripting to get the following to work but it does most of what you want. A while back, someone posted a question about how to convert an existing script ...
10
votes
Accepted
How do I copy vertex groups from one object to another?
Vertex groups are object data, so they will be copied by ⎈ CtrlL> Object data.
However, this will link all other object data as well.
For a onetime copy of only object data, you might want to ...
10
votes
Accepted
How to quickly remove all zero-weight vertex groups?
This python snippet should work if you paste it into a Text Editor's new buffer and click Run Script.
...
10
votes
How to merge vertex groups?
Fill in the required vertex group names, it will merge them into a 3rd new group:
...
10
votes
How do I transfer only single vertex groups between objects?
Select object where you'd like the vertex group to copy to. You don't need to create empty vertex group there as it will be added automatically, still it's possible to do for testing purposes.
With ...
9
votes
Accepted
How to restrict vertex weights to no more than N number of Bones?
In weight paint mode, select the Weight Tools panel in the toolbar, and run Limit Total, This removes vertex groups with lowest weights.
This defaults to 4 which is a common limit for game-engines.
...
9
votes
Accepted
Simple methods to smooth out weight paints?
Starting from this situation,
You can use the smooth tool :
Go in weight paint mode
Activate vertex selection (the little icon on the bottom of the screen indicated by a cube with one vertex in ...
9
votes
Accepted
can you add subdivision surface modifiers to specific vertex groups
No, you can't use Vertex Groups for Subdivision Surface modifier.
What you can do is select region you want to have smoother and use W > Subdivide Smooth.
Be aware that this method will create ...
8
votes
Accepted
Weight paint in cycles nodes?
This method doesn't use weights, but it seems that your real goal is to get the proximity into Cycles. If this is the case then you can get the proximity using a different method called Dynamic Paint. ...
8
votes
Accepted
How to connect a mesh vertex groups with an armature bones
Rename the vertex groups so they have the same name as the bone you want to deform them. Add the armature modifier. Make sure "Vertex Groups" is checked (it is by default) and you are done.
8
votes
Accepted
Select overlaping vertices from vertex groups
Deselect all the vertices, with A.
Select the first vertex group with the Select button under the vertex group list in the properties window.
Invert the selecting by pressing CtrlI.
Hide those ...
8
votes
How to mirror copy existing vertex weights
This might be more a bug than a feature, but because of the way the "x mirror" tool works in Blender 2.79b, I was able to mirror vertex weights in an easy, but slightly counter-intuitive, way:
Enable ...
8
votes
Accepted
8
votes
Accepted
How to make an (open) object behave like rubber when penetrated by another
You could use cloth physics for the deformation part.
Pin the corners or edges of the rubber object so it keeps its shape by adding it to a Vertex Group. Let the physics do the rest.
Not sure how one ...
8
votes
Accepted
Using geometry nodes, is it possible to transform vertices, that are in a specific vertex group?
It's possible and really really easy to do. You just need two nodes to make it happen
Demonstration:
Node Setup:
Note that test is the name of the vertex group. Also the vertex group should have ...
7
votes
Is it possible to unhide only part of a mesh?
I think you might be interested in the Mask modifier.
This modifier will hide everything except the specified vertex group, or the other way around if you have the invert icon selected. To hide ...
7
votes
Accepted
Weight paint front and back faces at the same time
It sounds like you need to uncheck limit selection to visible at the bottom of the 3D view. When this is selected you can only paint or select geometry that is visible.
What limit to selection does ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
vertex-groups × 567weight-painting × 118
rigging × 93
armature × 77
python × 67
vertex-weights × 64
mesh × 61
bones × 50
vertices × 49
animation × 39
particles × 36
modeling × 34
modifiers × 33
scripting × 25
faces × 18
geometry-nodes × 18
objects × 17
cloth-simulation × 17
materials × 16
hair × 16
vertex-colors × 14
edit-mode × 14
texturing × 13
export × 13
physics × 13