Actually, all of this mesh/geom/material init code could probably be more cleanly expressed as functions. All you seem to use in the end is the Geometry, so you could write like makeHead() (returns Geometry), makeBody(), makeArm(), etc and call them. It would make it much clearer if there are any interdependencies between them, and avoid having all these unused variables at the class scope.