hexagon logo

Iterative alignment transformation matrix

Is there an easy way to report out the transformation matrix that is applied by an iterative alignment? I want to recall an alignment from a previous fixture alignment and then run an iterative alignment on the part on that fixture and report out the exact rotations and translations used to transform from one alignment to the next.

Thanks for any help.
Parents
  • You can do it with a vector and a matrix (not only a matrix) with assignments (one more time !!!!!) :
    In the init ref, you can write the transformation to construct end ref or vice versa :
    The vector of the translation is : ASSIGN\V1=FORMAT("%3.3f,%3.3f,%3.3f",END_REF.ORGIN)
    The matrix is write in 3 lines :
    1st line : ASSIGN\V2=FORMAT("%3.8f,%3.8f,%3.8f",END_REF.XAXIS)
    2nd line : ASSIGN\V2=FORMAT("%3.8f,%3.8f,%3.8f",END_REF.YAXIS)
    3rdline : ASSIGN\V2=FORMAT("%3.8f,%3.8f,%3.8f",END_REF.ZAXIS)
    You can write it in a text file to recall values in a generic feature. Be carefull to use format function and "%3.8f" for vector values, if not , values are limited to decimal place of your programm.
Reply
  • You can do it with a vector and a matrix (not only a matrix) with assignments (one more time !!!!!) :
    In the init ref, you can write the transformation to construct end ref or vice versa :
    The vector of the translation is : ASSIGN\V1=FORMAT("%3.3f,%3.3f,%3.3f",END_REF.ORGIN)
    The matrix is write in 3 lines :
    1st line : ASSIGN\V2=FORMAT("%3.8f,%3.8f,%3.8f",END_REF.XAXIS)
    2nd line : ASSIGN\V2=FORMAT("%3.8f,%3.8f,%3.8f",END_REF.YAXIS)
    3rdline : ASSIGN\V2=FORMAT("%3.8f,%3.8f,%3.8f",END_REF.ZAXIS)
    You can write it in a text file to recall values in a generic feature. Be carefull to use format function and "%3.8f" for vector values, if not , values are limited to decimal place of your programm.
Children
No Data