Jump to content

Establish a plain from highest points


Recommended Posts

There should be many ways to do it,
Here you have one idea (Bubble Sort):

numberofpoints=20
for i=1 to numberofpoints 
Points[i]=getActual("Point"+i).z
Point[i]=i
next i

for i=1 to numberofpoints 
    for n = i + 1 to numberofpoints
      if Points[n] > Points[i] then
        Temp = Points[n]
        Points[n] = Points[i]
        Points[i] = Temp
	 Temp = Point[n]
        Point[n] = Point[i]
        Point[i] = Temp
     endif
next n
next i

for i=1 to numberofpoints 
display(formatL(Points[i],0,4) + "  " +  Point[i])
next i
1375_636a76897cb1605d9aa2e710dd89d049.png

20points.7z

Thank you Israel / Shabu:

I am not comfortable in PCM but I understand the basics

As I understand this code will simply order the list of 20 points in descending order, the last for loop is just to output the top five values of the list.

Where / how can I apply this code.


Thank you,
Hi guys:
I haven't tried but Israel understand my requirement. I appreciate Shabu's suggestion but it's not meeting my requirements.

Surface is uneven ( flatness is 0.500 mm) and within ”Ø120 to Ø135 zone.

Customer want parallelism from highest points.

I hits 20 places, don't know which points are at highest level.

I think we must have to use PCM option in order to pick five or more points from those 20 points for defined plain during execution.
If intent of the drawing requirement is for the tangent plane fall within the specified tolerance zones, then as other have stated, you would evaluate the plane as an outer tangential element. However, the plane cannot be directly entered into a position or parallelism characteristic. The reason for this is that each characteristic will automatically include the form error in the result. For evaluation, you will need to recall the measured outer tangential plane into a new feature via “Recall One Feature”. This will allow each characteristic to only evaluate the location / orientation of the associated feature.
Great answers people!

Please sign in to view this quote.

Zack, as others suggested the drawing indicates the OT feature to be tolerated.
Since such situation is clearly indicated in ISO 1101:2017 you can suggest designer to change it to:
|TP|0.5(T)|B|
|Parall.|0.3(T)|B|

(T) is capital T in circle

I can't say for sure, but I assume there is such thing allowed in ASME too.
Zack, I assume your situation is similar to this: 408_b817c1fa3b893be407e8d19f2c529931.png
I haven't fully tested, but be careful, it could get tricky. As Phillip pointed out, this would be an associated tangential feature and evaluation of TP will throw out number from one of the 4 corners.
Again, haven't tested but I assume Calypso will pull orientation for this tangential plane from Base Alignment. Some kind of "manual best-fit" (with PCM), would get handy.
I hope I make some sense and someone can confirm this.

Please sign in to view this quote.

Because, in order to evaluate the orientation / location of just the tangential plane, you must remove the form error. To illustrate, open a parallelism characteristic that has measured data and change the fitting method. You’ll notice that the actual value will not change regardless of the fitting routine selected. The reason for this is that the default behavior of the characteristic is to evaluate the measured points instead of the associated feature.
×
×
  • Create New...