Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/p/y/PyPRP-HEAD/PyPRP/prp_DrawClasses.py   PyPRP(Download)
                else:
                    weight = bufferGroup.GetSkinIndices()
                mesh.assignVertsToGroup(VGroup_GroupName, [vertidx,] , weight, Blender.Mesh.AssignModes.REPLACE)
 
                if e%500 == 0 and not e == 0:

src/b/l/blender_nif_plugin-HEAD/todo/old_tests/runtest_fo3_bodypart.py   blender_nif_plugin(Download)
        mesh_data.addVertGroup("Bone")
        mesh_data.assignVertsToGroup("Bone", list(range(mesh_numverts)), 1,
                                     Blender.Mesh.AssignModes.REPLACE)
        arm_obj.makeParentDeform([mesh_obj])
        # set body part
        self.info("creating body part vertex group")
        mesh_data.addVertGroup("BP_HEAD")
        mesh_data.assignVertsToGroup("BP_HEAD", list(range(mesh_numverts)), 1,
                                     Blender.Mesh.AssignModes.REPLACE)
                                     [vert.index for vert in mesh_data.vertices
                                      if vert.sel],
                                     1, Blender.Mesh.AssignModes.REPLACE)
        # now export must succeed
        nif_export = self.test(