Skip to content

Instantly share code, notes, and snippets.

@nathanielanozie
nathanielanozie / na_setDisplayTypeOnSelected.mel.cpp
Last active September 21, 2015 00:17
Some helpful Mel script for editing visibility of joint or shapes, code is useful for debugging and locking rigs
//na_setDisplayTypeOnSelected.mel -- please remove extension .cpp used for syntax highlighting only
//Author: Nathaniel Anozie
//ogbonnawork at gmail dot com
//Modify at own risk
//Inspired by:
//Jason Schleifer's Animator friendly rigging (jasonschleifer dot com) first learning about lockNode
//Kiryha Krysko (kiryha dot blogspot dot com) learning about lockNode from online tutorials
//last updated -- 09-20-2015 fixed overide detail bug when using for 2015 maya
//last updated -- 01-13-2015
@nathanielanozie
nathanielanozie / naNurbsSurfaceControl.py
Created February 13, 2015 12:59
Glue(Rivet) some nulls to 0-1 parameter Nurbs Surface (Maya, Python Script)
#######
#Help with building Facial Rig User interface secondary movers
#By
#Nathaniel O. Anozie (ogbonnawork at gmail dot com)
#
#Inspired by Matt Estella (tokeru dot com) -- learning about constraint methods from his online tutorials
#Inspired by Hamish Mckenzie (macaronikazoo dot com) -- learning about zip for loops from his online tutorials
#Inspired by Chris Hickman -- i was inspired by his facial rigging work and online tutorials
#
#
@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)
@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 / 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 / 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)
}
#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 / 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)
@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 / 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",