I am developing a PyMOL plugin for membrane protein systems using Qt widgets. The plugin builds MP assemblies in a lipid/detergent environment and refines the models against SAXS data. It seems to work fine, although the computation (mostly three simple operations repeated over and over again: copy a pymol object, translate, rotate) takes ages. What I would really like to implement is to introduce multithreading to speed up computations, however, the standard python features like "multiprocessing" module do not work under the PyMol plugin. I am wondering if someone encounters the same problem and if there is an easy way around it?
Just in case, my project is located here: https://github.com/emblsaxs/MPBuilder