hexagon logo

Distance with circumference

Looking for some help with the 1.839/1.849 distance. This callout is not a Cartesian distance . Its asking for the circumference value from point to point. I'm thinking this is going to need some combination of variables. Using 2015.1 CAD. Thanks!

Attached Files
Parents
  • Just to be difficult..... Slight smile
    What if the diameter is significantly out of round?


    Like Dph51 said, scan with a little distance between hits, then :
    ASSIGN/V1=SCN1.HIT[1..(SCN1.NUMHITS-1)].XYZ
    ASSIGN/V2=SCN1.HIT[2..SCN1.NUMHITS].XYZ
    ASSIGN/V3=SUM(SQRT(DOT(V2-V1,V2-V1)))
    ASSIGN/V4=SQRT(DOT(SCN1.HIT[SCN1.NUMHITS].XYZ-SCN1.HIT[1].XYZ,SCN1.HIT[SCN1.NUMHITS].XYZ-SCN1.HIT[1].XYZ))
    ASSIGN/LENGTH=V3+V4

    The uncertainty on this method should be approximately half of the density of the scan.

    For an open scan, keep only V3...
Reply
  • Just to be difficult..... Slight smile
    What if the diameter is significantly out of round?


    Like Dph51 said, scan with a little distance between hits, then :
    ASSIGN/V1=SCN1.HIT[1..(SCN1.NUMHITS-1)].XYZ
    ASSIGN/V2=SCN1.HIT[2..SCN1.NUMHITS].XYZ
    ASSIGN/V3=SUM(SQRT(DOT(V2-V1,V2-V1)))
    ASSIGN/V4=SQRT(DOT(SCN1.HIT[SCN1.NUMHITS].XYZ-SCN1.HIT[1].XYZ,SCN1.HIT[SCN1.NUMHITS].XYZ-SCN1.HIT[1].XYZ))
    ASSIGN/LENGTH=V3+V4

    The uncertainty on this method should be approximately half of the density of the scan.

    For an open scan, keep only V3...
Children
No Data