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.
  • Thanks! I'll give it a try right now, give me something to do while I wait on production on this long boring Sunday haha. I have the machine set to 5 decimal places. We do most everything in inches. Should that be enough or do I need to move it out further than that?
Reply Children
No Data