#NEWLINE# def _set_torque_func( self , func ) : #NEWLINE# #INDENT# 'Set the torque function\n            \n            func(self, relative_angle) -> torque\n            \n            Callback Parameters\n                relative_angle : float\n                    The relative angle\n        \n        ' #NEWLINE# def _impl( _ , relative_angle ) : #NEWLINE# #INDENT# return func ( self , relative_angle ) #NEWLINE# #UNINDENT# self . _torque_func_callback = cp . cpDampedRotarySpringTorqueFunc ( _impl ) #NEWLINE# self . _dsc . springTorqueFunc = self . _torque_func_callback