Finding the Minimum of a line and using the point

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Finding the Minimum of a line and using the point

    Hello all,

    I am trying to find the minimum Z value of a line and then once I have the Z minimum Z value, I want to use the hit information that that Z value refers to. I would like to pull out the Y value of that hit.

    Here's come background:

    We have a part that has corrugated ribs on it and I am measuring a line with 10 hits perpendicular to this line. Once it has measured the line, I have assigned a Location Dimension to the line and then I have pulled out the minimum Z value. Now that I have that, I want to find out the Y value that accompanies that minimum Z value so I can create a circle at that Y value, i.e. At the peak of the ridge.

    Any help would be greatly appreciated. Thanks

  • #2
    just click on y in the location dimension or am i missing something. the y value should remain the same regardless of the variation in z.
    sigpic
    Southern Man don't need him around anyhow!

    Comment


    • #3
      You could use the HIGH POINT function. I never have, but it sounds perfect for this case, it measures until it finds the high point (or low point, I would think is possible too) and then you can dimension that point, XY & Z.
      sigpic
      Originally posted by AndersI
      I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

      Comment


      • #4
        Is what you are asking for, is a formula that will grab the minimum "Z" value point out of those ten points and give the "Y" value also for that point?
        sigpic

        Comment


        • #5
          You could put all the points into a feature set.

          Try this:
          Step 1: Construct A feature set of all the points.

          FLANGE TOP =FEAT/SET,RECT
          THEO/3.44,-47.667,86.918,0,0,1
          ACTL/3.44,-47.668,86.918,0,0,1
          CONSTR/SET,BASIC,FLANGE TOP FACE P#1,FLANGE TOP FACE P#2 etc..

          Step 2. Report on the LOCATION of it in the Required Axis, but set the Output to NONE (you don't want to print this dim!!)

          DIM LOC2= LOCATION OF SET FLANGE TOP UNITS=MM ,$
          GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=NONE
          AX MEAS
          Z 86.918 #
          END OF DIMENSION LOC2

          Step 3. Construct a GENERIC point , but change the MEAS value for Z to as below:

          F1 =GENERIC/POINT,DEPENDENT,RECT,$
          NOM/XYZ,0,0,0,$
          MEAS/XYZ,0,0,LOC2.Z.MAX,$
          NOM/IJK,-0.052,0,0.999,$
          MEAS/IJK,-0.052,0,0.999

          Step 4. Report on the location of this Generic Point in Z, it gives you the MAXIMUM Z value of the set of points you took into the feature set!!

          DIM LOC3= LOCATION OF POINT F1 UNITS=MM ,$
          GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH
          AX MEAS
          Z 90.164 >
          END OF DIMENSION LOC3



          Might be of some use to you??!!!
          I am a Mushroom................Kept in the dark and fed on sh*t!!!!!

          Comment


          • #6
            Well, I've got the Y value consistently now. I put all of the z values into an array and then compared each to the minimumZ value. Once i had that, I assigned the Y value of that hit number to Y1. Now that I have that, I am trying to construct an autocircle at that Y point but everytime I do, it runs perpendicular to the plane I need it to measure in.

            Comment


            • #7
              Change you vector
              sigpic

              Comment

              Related Topics

              Collapse

              Working...
              X