hexagon logo

Extracting Values from 2D Contour

I'm looking to extract the maximum Z value and maximum ZX value from a scanned 2D curve. Attached is a screengrab of the curve. In this case, it would basically be the end-to-end points of the top line in the X direction. I've tried using FLEX2D, but get an error message 'Value too small (possibly two equal points) !' What's the best way to go about this ?

Attached Files
Parents


  • Alright - I'm back...

    I ran this code, and get a distance of .0447 between the ZMax and ZXMax along the X axis. Measured with a caliper, the distance should be around .130. Hmmm...


    What it looks like the loop is doing is removing the out of sequence points in front of the tooth instead of the rear, which is what I'm looking for.

Reply


  • Alright - I'm back...

    I ran this code, and get a distance of .0447 between the ZMax and ZXMax along the X axis. Measured with a caliper, the distance should be around .130. Hmmm...


    What it looks like the loop is doing is removing the out of sequence points in front of the tooth instead of the rear, which is what I'm looking for.

Children
No Data