hexagon logo

Roundness

Hello,
how can I measure (is it a normal measure for circle?) and report every distance from middle of circle (diameter)? I want to know if the circle is an egg.


Attached Files
Parents
  • You can measure it as a circle (8 hits), then dimension the size.
    You can also (assuming the workplane is Z+) :
    ASSIGN/V1=(CIRC1.HIT[1..8].XYZ-CIRC1.XYZ)*MPOINT(1,1,0)
    ASSIGN/V2=SQRT(DOT(V1,V1))
    ASSIGN/DIST1=V2[1]+V2[5]
    ASSIGN/DIST2=V2[2]+V2[6]
    ASSIGN/DIST3=V2[3]+V2[7]
    ASSIGN/DIST4=V2[4]+V2[8]
    Comment/report
    DIST1 +" ; "+DIST2 +" ; "+DIST3 +" ; "+DIST4


Reply
  • You can measure it as a circle (8 hits), then dimension the size.
    You can also (assuming the workplane is Z+) :
    ASSIGN/V1=(CIRC1.HIT[1..8].XYZ-CIRC1.XYZ)*MPOINT(1,1,0)
    ASSIGN/V2=SQRT(DOT(V1,V1))
    ASSIGN/DIST1=V2[1]+V2[5]
    ASSIGN/DIST2=V2[2]+V2[6]
    ASSIGN/DIST3=V2[3]+V2[7]
    ASSIGN/DIST4=V2[4]+V2[8]
    Comment/report
    DIST1 +" ; "+DIST2 +" ; "+DIST3 +" ; "+DIST4


Children
No Data