Hi there! We have a callout that we're trying to figure out how to make happen in PC-DMIS. They are asking for 12 points along a plane and want the highest and the lowest of the 12 points reported, relative to Z. Sounds simple enough, BUT is there any way to create a dimension in such a way as to report ONLY the highest and lowest points? Thank you in advance for your help!
Min/Max Capability?
Collapse
X
-
We did, but with the reporting system that we use, that's just not going to work. We export a .CSV for reporting purposes. Just wondering if there is an option in the feature itself, that might work? Like if you were to make a plane out of those 12 points, is there a feature that might look at all of the points in that plane and be able to output a min and a max?
Comment
-
You can do something like this. Credit goes to JEFMAN
Code:ASSIGN/V5=MAXINDEX(PLN_BURR.HIT[1..PLN_BURR.NUMHITS].Z) ASSIGN/V6=PLN_BURR.HIT[V5].XYZ BURR_PNT_MAX=GENERIC/POINT,DEPENDENT,CARTESIAN,$ NOM/XYZ,<0+0,0+0,0+0>,$ MEAS/XYZ,<V6.X,V6.Y,V6.Z>,$ NOM/IJK,<0+0,0+0,1+0>,$ MEAS/IJK,<0+0,0+0,1+0> FORMAT/TEXT,OPTIONS, ,HEADINGS,SYMBOLS, ;MEAS, , , , , , DIM BURR_MAX= LOCATION OF POINT BURR_PNT_MAX UNITS=MM ,$ GRAPH=OFF TEXT=OFF MULT=50.00 OUTPUT=BOTH HALF ANGLE=NO AX MEAS X 15.297 ----#--- Y 36.948 ----#--- Z 0.051 ----#--- PR 39.989 ----#--- PA 67.509 ----#--- END OF DIMENSION BURR_MAX ASSIGN/V8=MININDEX(PLN_BURR.HIT[1..PLN_BURR.NUMHITS].Z) ASSIGN/V9=PLN_BURR.HIT[V8].XYZ BURR_PNT_MIN=GENERIC/POINT,DEPENDENT,CARTESIAN,$ NOM/XYZ,<0+0,0+0,0+0>,$ MEAS/XYZ,<V9.X,V9.Y,V9.Z>,$ NOM/IJK,<0+0,0+0,1+0>,$ MEAS/IJK,<0+0,0+0,1+0> DIM BURR_MIN= LOCATION OF POINT BURR_PNT_MIN UNITS=MM ,$ GRAPH=OFF TEXT=OFF MULT=50.00 OUTPUT=BOTH HALF ANGLE=NO AX MEAS X 39.650 ----#--- Y -5.227 ---#---- Z -0.048 ---#---- PR 39.993 ----#--- PA -7.509 ---#---- END OF DIMENSION BURR_MIN
Last edited by bfire85; 07-25-2019, 03:43 PM.Whatever a man sows, he shall reap.
- Likes 2
Comment
-
Similar to above, but an alternative if you only care about what the z values are, not necessarily where they are is:
Code:PLN1 =FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,OUTLINE,LEAST_SQR THEO/<0,0,30>,<0,0,1> ACTL/<0,0,30>,<0,0,1> TARG/<0,0,30>,<0,0,1> ANGLE VEC=<0.7071068,-0.7071068,0>,RADIAL SHOW FEATURE PARAMETERS=NO SHOW CONTACT PARAMETERS=YES NUMHITS=12,NUMRINGS=3 SPACER=0 AVOIDANCE MOVE=NO,DISTANCE=10 SHOW HITS=NO ASSIGN/ZVALS=PLN1.HIT[1..PLN1.NUMHITS].Z ASSIGN/ZMAX=MAXINDEX(ZVALS) ASSIGN/ZMIN=MININDEX(ZVALS) DIM DIM_1= LOCATION OF POINT PLN1.HIT[ZMIN] UNITS=MM ,$ GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO AX MEAS NOMINAL +TOL -TOL DEV OUTTOL Z 30.000 30.000 0.010 0.010 0.000 0.000 ----#---- END OF DIMENSION DIM_1 DIM DIM_2= LOCATION OF POINT PLN1.HIT[ZMAX] UNITS=MM ,$ GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO AX MEAS NOMINAL +TOL -TOL DEV OUTTOL Z 30.000 30.000 0.010 0.010 0.000 0.000 ----#---- END OF DIMENSION DIM_2
- Likes 1
Comment
Related Topics
Collapse
-
by Jonathan SIs it possible to select a bunch of points for reporting but only report the high and low or min/max of the group?
-
Channel: PC-DMIS for CMMs
03-13-2006, 04:23 PM -
-
by WiliecoyoteNot sure if the way I've been going about this is the best, but its worked so far.
I'm taking single points on a surface, creating a plane out...-
Channel: PC-DMIS for CMMs
07-16-2008, 01:11 PM -
-
by joshmxzHello All,
I'm wondering if its possible to filter out the in-between points from 14 individual points and keep the MIN and MAX in a specific axis...-
Channel: PC-DMIS for CMMs
07-29-2015, 10:02 AM -
-
by BWilliamsI have a part with 1 trillion radiuses.... Is there a way to dimension radius location on all of them but instead of having 1 trillion lines on my report,...
-
Channel: PC-DMIS for CMMs
04-27-2007, 10:57 AM -
-
by cmmpro_mackAll,
I am reporting perp of a plane back to two other planes.. On the report I ask for Min and Max values for the perp.. Where are these Min and...-
Channel: PC-DMIS for CMMs
05-10-2010, 11:11 AM -
Comment