yes. my method indeed does work, it only lacks comments with the reported dimensions. so i would know which dimension is at which degree.
reference frame isn't aligned, because it was just a test program on a random part i've found in our lab, but thank you for the tip. i'll try that.
the whole point of doing this exercise was to come up with a code for measuring this kind of dimensions and if possible turn it into a lib, a macro or a template i could use later. thus saving time on writing completely new program from scratch.
Thank You for your help.