Configuration, Joint turn mode

Hi

For my thesis work i have this model for the purpose of checking impossible pick positions.I tried several times the Joint turn mode python codes and never worked for me.The robot has a strange approach to the workpiece.

Any help is apprciated.

Thank you in advance

Model_CV.vcmx (190 KB)