Skip to content

Instantly share code, notes, and snippets.

@nathanielanozie
nathanielanozie / naSimpleWeightAddOn.py
Last active August 21, 2023 03:08
tool to help with weight painting
#naSimpleWeightAddOn.py
#modify use at your own risk
"""
last modified:
082023 -- working on set weights bugs where its not having weights add to 1
05042021 -- added comment for select active bone
05022021 -- worked on bug in weighting when have a locked bone
-- fixed bug in mirror weights was using data name
-- fixed bug mirror weights more than once. i think to use ops right side needs to start with zero weights
05012021 -- added a highlight active vertexgroup button.
@nathanielanozie
nathanielanozie / naEaseAddOn.py
Created June 24, 2020 03:30
tool to ease animation curve keys
#tool to ease animation curve keys
#
#steps to install plugin
#1. save file to disk
#2. file > user preferences > addon >install addon from file > navigate to file
#3. click install addon > check the box next to addon to register it.
# if need to remove can expand clicking arrow and remove addon
#
#usage:
#select some keys in graph editor (assumes there are keys to left and right of selection)
@nathanielanozie
nathanielanozie / naShapekeyUtilAddOn.py
Created May 6, 2020 04:04
some shapekey tools for blender 2.79 addon
#naShapekeyUtilAddOn.py
#modify use at your own risk
import bpy
import os
import bmesh
####add on portion
bl_info = {
"name":"shapkey editing tools",
"description":"tool to edit shapekeys",
@nathanielanozie
nathanielanozie / naSimpleRobotFaceRig.py
Created April 18, 2020 21:41
learning some shape key tools in blender 2.79
#learning some shape key tools on a robot face. two brows a mouth
"""
import bpy
import sys
#example if wanted to test script without addon part. change to your path here
sys.path.append('/Users/Nathaniel/Documents/src_blender/python/riggingTools/faces')
import naSimpleRobotFaceRig as mod
import imp
imp.reload(mod)
@nathanielanozie
nathanielanozie / boneDoodlesAdvA.py
Created April 14, 2020 02:51
for learning about scripting drawing bones in blender
"""blender 2.79 a more advanced example scripting bones in python for blender
import bpy
import sys
#example if wanted to test script without addon part. change to your path here
sys.path.append('/Users/Nathaniel/Documents/src_blender/python/introPipeForArtistsRigging')
import boneDoodlesAdvA as mod
import imp
imp.reload(mod)
#naPropRigAddOn.py
#modify use at your own risk
bl_info = {
"name":"prop rigging tool",
"description":"tool to build a simple prop rig in blender",
"category": "Object",
"author":"Nathaniel Anozie",
"blender":(2,79,0)
}
@nathanielanozie
nathanielanozie / naTransferWeightToVertexAddOn.py
Created December 27, 2019 22:44
addon to transfer vertex weight from one vertex to another for blender 2.79
#naTransferWeightToVertexAddOn.py
#modify use at your own risk
bl_info = {
"name":"weighting tools for facial rigging",
"description":"tool to transfer vertex weight from one vertex to other vertices",
"category": "Object",
"author":"Nathaniel Anozie",
"blender":(2,79,0)
}
@nathanielanozie
nathanielanozie / naSelectVertsByWorldPosition.mel
Last active August 29, 2015 14:16
Given selected vertices return list of closest vertices on destination mesh
/**@file
@brief useful in weightpainting if skinned a split mesh and want to select same vertices on combined mesh
@author Nathaniel O. Anozie (ogbonnawork at gmail dot com)
@note date created: 02 09, 2015
@note --
@note --
@note Modify at your own risk
*/
//updated 02-16-2015 nate --- adding multi selection support
@nathanielanozie
nathanielanozie / printWeightCmd.cpp
Created February 19, 2015 01:14
this test program prints all the weights for all vertices of selected polygon shape node
//this program prints all the weights for all vertices of selected polygon shape node
/*
This file is part of printWeightCmd.
printWeightCmd is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
@nathanielanozie
nathanielanozie / naNurbsCurveControl.py
Created February 13, 2015 13:02
Glue(Rivet) some nulls to NurbsCurve (Maya, Python Script)
#######
#Help with building Facial Rig User interface secondary movers
#By
#Nathaniel O. Anozie (ogbonnawork at gmail dot com)
#
#Inspired by Andy Van Straten -- learning about joints riding on curves
#Inspired by Fabio Bonvicini -- i was inspiredy by his curve based online tutorials on facial rigs
#
#
#see also naNurbsSurfaceControl, naFaceBuffer (more phoneme based) na_faceIt.py (more ui based)