Other thing! I converted the my version from maxscript to python and I was insanely surprised, when I realized that the same code (or almost 99% the same) is about 4x -8x times faster under maya python then in maxscript. Then I made a simple test. Simple addition inside maya python is about 10x faster then in maxscript,…
Maxscript is really slow when it comes to basic math, see for example the comments here, almost instant result in python, two and a half minutes in maxscript. That said, the major slowdown here (at least for me) were the poly operations on bigger meshes, finding the right values is fast (it's basically five lerps in…