find-xy-shell.py: fix calculation of D and PA of th1C from object