script working but max number of iterations exceeded in connection solver error
|Author||1 Subscribed Users ||
I managed to get a functional script! It implements a free-circ-plate and a single-point, with a felt connections.
I think the plate pitch and the single-point frequency might need to be related. Does anyone have information about this?
Other than that, this is the reason why I am posting:
If the plate is excited at a reasonable frequency, say, more than 1 every 2 or 3 seconds, after a few iterations, an error occurs, and the script needs to be reloaded:
“maximum number of iterations exceeded in connection solver”.
Here is the script, and the patch, and a screen capture of the error message.
I am not sure whether it’s the code (but since it works at least at a slow pace, I doubt it), the physics of the objects, the speed of the point motion, or the implementation in Max. Any help will, as usual, be greatly appreciated.
Point1_c1 = make_controller('DYNAMIC',1,-1,1,'Point1@modes')
MyPlate_c1 = make_controller('DYNAMIC',1,-1,160,'MyPlate@modes')
MyPlate = make_object('free-circ-plate',MyPlate_c1,MyPlate_c2,MyPlate_c3,MyPlate_c4,MyPlate_c5,MyPlate_c6,MyPlate_c7,MyPlate_c8, )
MyPlate_pos_in_1 = make_controller('DYNAMIC',2,-1,[0.500000 0.0000],'MyPlate@access-in-1-position')
Out1_c1 = make_controller('DYNAMIC',1,-1,1,'Out1@gain')
Felt_c1 = make_controller('DYNAMIC',1,-1,0.01,'Felt@thickness')
— Pasted Max Patch, click to expand. —
Copy all of the following text.Then, in Max, select New From Clipboard.
|September 22, 2016 at 08:59 #19132|
You must be logged in to reply to this topic.