hexagon logo

Need script to output scan point deviations

I have an airfoil cover that I analog scan in about 26 sections. I report profile of each section but was asked to output XYZ of each point. I'm able to do so using loops within PC-DMIS but it takes about 25 minutes just for this output alone. I'm now being asked to report deviation from nominal of each point in each scan. Can someone point me in the right direction?
Parents
  • Something like

    ASSIGN/COUNT=0
    DO/
    ASSIGN/COUNT=COUNT+1
    ASSIGN/T_VAL=DOT((SCN1.HIT[COUNT].XYZ-SCN1.HIT[COUNT].TXYZ),SCN1.HIT[COUNT].TIJK)
    *** YOUR METHOD OF OUTPUTTING T_VAL GOES HERE***
    UNTIL/COUNT > SCN1.NUMHITS-1
    

    So this is working great. Anyone care to help with using this in a script to speed up the process?
Reply
  • Something like

    ASSIGN/COUNT=0
    DO/
    ASSIGN/COUNT=COUNT+1
    ASSIGN/T_VAL=DOT((SCN1.HIT[COUNT].XYZ-SCN1.HIT[COUNT].TXYZ),SCN1.HIT[COUNT].TIJK)
    *** YOUR METHOD OF OUTPUTTING T_VAL GOES HERE***
    UNTIL/COUNT > SCN1.NUMHITS-1
    

    So this is working great. Anyone care to help with using this in a script to speed up the process?
Children
No Data