I totally agree with Justin, forget about subclassing for a second and just
go with the generic case. Limb can implement many features but you are not
forced to use them all! You can call methods selectively on each
instance/object setting different states (class define behaviour, instance
hold the state).

I.e.
# stupid example typed on my phone

import Limb

# ik/fk arm
arm = Limb(name='arm', side='L')
arm.addFK()
arm.addIK()  # assuming you can stack features
arm.makeStretchy()
arm.build()

# ik only leg
leg = Limb(name='leg', side='R')
leg.addIK()
leg.build()

# and so on...

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPamJi8PxFqWEov%2Bizik%3DwhO%2BK%2BAVbm0DiyRYasvceNmnzKvkw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to