Skip to content

Instantly share code, notes, and snippets.

View tahmidsadik's full-sized avatar
🥼
Mad Scientist

Tahmid Sadik tahmidsadik

🥼
Mad Scientist
View GitHub Profile
@jhoolmans
jhoolmans / divideJoint.py
Created January 20, 2013 20:59
[Maya] Divide selected joint
import pymel.core as pm
# Helper methods
def debug(message):
print("DEBUG: %s" % message)
# Average between 2 nodes
def averageBetween(a, b):
return matrixLinearBetween(a, b, 0.5)