New answers tagged

1

(Question duplicated from blenderartists.org. I answered it there, and am copying my answer here.) I’ve seen that “Nothing to bake” error in 2.80 when another object is selected in addition to the armature. Try deselecting everything in Object mode, selecting the armature, re-entering Pose mode, then baking. Here is a code snippet that works for me: scene =...


0

Dyntopo messes with vertex groups, and the weights attached to an armature are vertex groups. That means that if you want to sculpt an object that is being posed by an armature, you have two options: either don't use Dyntopo or apply the armature modifier. The latter option is only a good one if you don't plan on changing the pose; if you choose that option, ...


0

I extended your first answer, this does work: ob = bpy.data.objects['Person:Body'] me = ob.data for name in ob.vertex_groups.keys(): bpy.ops.object.empty_add(location=(0, 0, 0)) mt = context.object mt.name = f"empty_{ob.name}_{name}" cl = mt.constraints.new('COPY_LOCATION') cl.target = ob cl.subtarget = name mt.matrix_world = mt....


1

You have the vertex groups for your weights but they are not assigned to the bones, simply rename the vertex group to the same name as the bone they are suppose to be assigned to and that should fix it.


3

Copy Location Constraint. From https://blender.stackexchange.com/a/139758/15543 Can leverage the existing behaviour of the copy location constraint, targeted to a mesh, subtargeted to a vertex group. Test script, run in object mode with mesh object selected. Will add an empty for each vertex group at the mean location (as determined by constraint) of each ...


Top 50 recent answers are included