hexagon logo

Measurement of scan length

I work in a facility where we make transmission insulators for power lines. We have to measure what they call leakage per customer drawing. We recently purchased a CMM machine and now EVERYONE wants EVERYTHING checked on it. Of course it's a new toy I get it. But I am trying to perform a scan without the model to measure leakage, but I am drawing a blank on how to measure them length of the actual scan that has traveled over the surface of the part. I tried it with free form scan, as well as linear open. Attached is a photo of the part thanks in advance for the help!
Parents
  • Maybe something like :
    ASSIGN/V1=SCN1.HIT[1..(SCN1.NUMHITS-1)].XYZ
    ASSIGN/V2=SCN1.HIT[2..SCN1.NUMHITS].XYZ
    ASSIGN/V3=SQRT(DOT(V2-V1,V2-V1))
    ASSIGN/V4=SUM(V3)
    Should work witout looping.
    Or directly :
    ASSIGN/LENGTH=SUM(SQRT(DOT(SCN1.HIT[2..SCN1.NUMHITS].XYZ-SCN1.HIT[1..(SCN1.NUMHITS-1)].XYZ,SCN1.HIT[2..SCN1.NUMHITS].XYZ-SCN1.HIT[1..(SCN1.NUMHITS-1)].XYZ))) Slight smile

    To make it works, you need to use a large decimal places, otherwise you will add a sum of zero !

    I'm not at the cmm to check it.
Reply
  • Maybe something like :
    ASSIGN/V1=SCN1.HIT[1..(SCN1.NUMHITS-1)].XYZ
    ASSIGN/V2=SCN1.HIT[2..SCN1.NUMHITS].XYZ
    ASSIGN/V3=SQRT(DOT(V2-V1,V2-V1))
    ASSIGN/V4=SUM(V3)
    Should work witout looping.
    Or directly :
    ASSIGN/LENGTH=SUM(SQRT(DOT(SCN1.HIT[2..SCN1.NUMHITS].XYZ-SCN1.HIT[1..(SCN1.NUMHITS-1)].XYZ,SCN1.HIT[2..SCN1.NUMHITS].XYZ-SCN1.HIT[1..(SCN1.NUMHITS-1)].XYZ))) Slight smile

    To make it works, you need to use a large decimal places, otherwise you will add a sum of zero !

    I'm not at the cmm to check it.
Children