First thing I would do is to grab the property from the guide.
Right now it's only grabbing the transform, position and primitive.
in gear\xsi\rig\component\guide.py in setFromHierarchy()
I would had a dictionary where I could store the property
just after
self.tra[name] = obj.Kinematics.Global.Transform
self.atra.append(obj.Kinematics.Global.Transform)
self.pos[name] = obj.Kinematics.Global.Transform.Translation
self.apos.append(obj.Kinematics.Global.Transform.Translation)
> self.properties.extend( list( obj.Properties("Save*") ) ) #you probably need to chck that the result is not None
That wouldn't work with building the rig from an xml file.. but I don't think you care about that.
then in gear\xsi\rig\component\__init__.py in MainComponent.step_01()
I would add an extra method that would grab this property and add the parameters the anim_prop
def step_01(self):
self.getHost()
self.addParameters()
self.addLayout()
self.addLogic()
self.setUI()
> self.copyGuideProperties()
return
def copyGuideProperties( self ):
for prop in self.guide.properties:
for param in prop.Parameters:
# Do whatever is needed to copy the property
self.anim_prop.AddParameters( #Copy of the parameter)
For the rest what can I say... no worries Steven, I am well-aware that gear might not suit all the needs of production.
I developed gear at sixbrids. It was supposed to be the base of our rigging and animation tool set before the company went down. We haven't used it in production and I'm sure we would have added a lot more and address all these issues if we actually used it. It's free and open source... but I'm not feeling responsible to make it work in every studio's pipeline.
You don't have the budget to extend gear, you don't have the budget to build your own solution... the problem is not gear... it's your budget. :-)
Hope it helps !