hexagon logo

plane to plane distance variable min/max

This should be a quick one for you pros. I have a distance between 2 planes. The max is in tolerance but the min is out. Since using the distance dimension button uses the average, its telling me the feature is in when its not. How do I write a variable for this?
Parents
  • It's not so easy, because you have to take a plane as reference, and then dimension the distance between its centroid and each point of the second plane along the vector of the ref.
    If you want to dimension a set of distances point to point, you could create a mid plane, then take points approximately aligned on each plane and dimension the distance along the mid plane vector.
    With a ref, you can
    ASSIGN/V1=DOT(PL1.HIT[1..PL1.NUMHITS].XYZ-PL2.XYZ,PL2.IJK)
    ASSIGN/MAX_DIST=MAX(V1)
    ASSIGN/MIN_DIST=MIN(V1)
    But those distances won't take into account the PL2 flatness...
Reply
  • It's not so easy, because you have to take a plane as reference, and then dimension the distance between its centroid and each point of the second plane along the vector of the ref.
    If you want to dimension a set of distances point to point, you could create a mid plane, then take points approximately aligned on each plane and dimension the distance along the mid plane vector.
    With a ref, you can
    ASSIGN/V1=DOT(PL1.HIT[1..PL1.NUMHITS].XYZ-PL2.XYZ,PL2.IJK)
    ASSIGN/MAX_DIST=MAX(V1)
    ASSIGN/MIN_DIST=MIN(V1)
    But those distances won't take into account the PL2 flatness...
Children
No Data