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
  • Some explanations about the code, because I don't understand why it gives zero...
    ASSIGN/V1=SCN1.HIT[1..(SCN1.NUMHITS-1)].XYZ .....................................is an array of (scn1.numhits - 1) points, from the first to before the last.
    ASSIGN/V2=SCN1.HIT[2..SCN1.NUMHITS].XYZ ...........................................is an array of (scn1.numhits - 1) points, from the second to the last.
    ASSIGN/V3=V2-V1 .........................................................................................is an array of (scn1.numhits - 1) vectors
    ASSIGN/V4=DOT(V3,V3).................................................................................is an array of squared values of lengthes ((scn1.numhits - 1) values)
    ASSIGN/V5=SQRT(V4)....................................................................................is an array of (scn1.numhits - 1) values of lengthes
    ASSIGN/V6=SUM(V5)......................................................................................should be the length of the scan.

    With 10 points by mm, you should obtain in V4 an array of values around 0.0000155", so not "0" if you use 7 decimal places.
    I think you should check the syntax...
    And try with a scan density larger, without changing the decimal place (just to check the code (1point/mm) for example)
    Does your scan is called "SCN1" ???????
Reply
  • Some explanations about the code, because I don't understand why it gives zero...
    ASSIGN/V1=SCN1.HIT[1..(SCN1.NUMHITS-1)].XYZ .....................................is an array of (scn1.numhits - 1) points, from the first to before the last.
    ASSIGN/V2=SCN1.HIT[2..SCN1.NUMHITS].XYZ ...........................................is an array of (scn1.numhits - 1) points, from the second to the last.
    ASSIGN/V3=V2-V1 .........................................................................................is an array of (scn1.numhits - 1) vectors
    ASSIGN/V4=DOT(V3,V3).................................................................................is an array of squared values of lengthes ((scn1.numhits - 1) values)
    ASSIGN/V5=SQRT(V4)....................................................................................is an array of (scn1.numhits - 1) values of lengthes
    ASSIGN/V6=SUM(V5)......................................................................................should be the length of the scan.

    With 10 points by mm, you should obtain in V4 an array of values around 0.0000155", so not "0" if you use 7 decimal places.
    I think you should check the syntax...
    And try with a scan density larger, without changing the decimal place (just to check the code (1point/mm) for example)
    Does your scan is called "SCN1" ???????
Children