rombick
Posts: 3
Joined: Wed Sep 02, 2015 1:36 pm

defining controls as an object

i Was thinking that it would be useful to have controls defined as class before passing them to the rig. what do you think?

would be something like that:

control = controls.SimpleControl():
control.set_shape('circle')
control.set_color('yellow')
control.set_size(1.2)

rig = rigs.FkCurveRig('sample', 'C')
rig.set_control(control)
rig.set_joint(...)
...
rig.create()
louisVottero
Site Admin
Posts: 202
Joined: Sat Aug 29, 2015 8:50 am

Re: defining controls as an object

I like this idea.

Return to “Requests”