Why get-part-hash returns different hash codes for the rotated versions of the same sheet metal clamp?

Test cases:

${Ext}\data\sheet-metal\other\azv_clamp.stp
${Ext}\data\sheet-metal\other\azv_clamp_tilted.stp

For these files, the computed hash codes are as follows:

22:33:13:1:1:60515.04:264218.47:x100.24y93.33z44.75
22:33:13:1:1:60515.04:264218.47:x100.24y68.73z32.21

The difference is in the reported corner point (its Y and Z coordinates). Why?

image image

The computed inertia axes are flipped w.r.t. each other although the geometry of a part is identical. Surprisingly, the inertia axes depend on the spatial position of a part. To workaround this, we can use the dimensions of OBB instead of a reference point. The OBB should always be the same.

Edited by Quaoar