See https://bugs.launchpad.net/yade/+bug/1394942 answer # 3