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
  • As far as the ZX point, what I want to accomplish here is to evaluate the distance between the in the ZMax and the ZXMax point along the X axis. I tried the code you suggested, and am getting a distance of .0391", when the distance is actually about .125" measured manually. Am I missing something here...? One other thing... I tried using T1_SCAN_RCOR instead of T1_SCAN with FGEX2D and I get an error saying "No extreme point found".




Reply
  • As far as the ZX point, what I want to accomplish here is to evaluate the distance between the in the ZMax and the ZXMax point along the X axis. I tried the code you suggested, and am getting a distance of .0391", when the distance is actually about .125" measured manually. Am I missing something here...? One other thing... I tried using T1_SCAN_RCOR instead of T1_SCAN with FGEX2D and I get an error saying "No extreme point found".




Children
No Data