hexagon logo

How to get plane hits data?

Management decided to report any profile with points. Now I have to get plane hits data. For example I have P1 with 4 hits, 

How can I get them? 

Thank you.

Parents Reply
  • Then you would have to convert each hit of the plane into a CAST or GENERIC point.

    Something like...

    PNT1       =FEAT/POINT,CARTESIAN,NO
                THEO/<14.475,50.852,0>,<0,0,1>
                ACTL/<14.475,50.852,-0.062>,<0,0,1>
                CONSTR/POINT,CAST,PLN1.HIT[1..1]

    or

    F2         =GENERIC/POINT,DEPENDENT,CARTESIAN,$
                NOM/XYZ,<PLN1.HIT[1..1].TX,PLN1.HIT[1..1].TY,PLN1.HIT[1..1].TZ>,$
                MEAS/XYZ,<PLN1.HIT[1..1].X,PLN1.HIT[1..1].Y,PLN1.HIT[1..1].Z>,$
                NOM/IJK,<PLN1.HIT[1..1].TI,PLN1.HIT[1..1].IJ,PLN1.HIT[1..1].IK>,$
                MEAS/IJK,<PLN1.HIT[1..1].I,PLN1.HIT[1..1].J,PLN1.HIT[1..1].K>

Children
  • CAST is easy and Generic is good for transferring to different programs. Both are good!

     Thank you  

  • What data did you need from the planes specifically? You can just report the location of the hits if you needed the X, Y, Z.

    Or finding the max in a specific axis this way. You can do MAXINDEX to see the highest point. MAXINDICES puts them in an array from highest to lowest in the Axis specified at the end of the variable.

                ASSIGN/V1=MAXINDEX(14PLN.HIT[1..14PLN.NUMHITS].X)
                ASSIGN/V2=MAXINDICES(14PLN.HIT[1..14PLN.NUMHITS].X)
    DIM LOC3= LOCATION OF POINT 14PLN.HIT[V1]  UNITS=IN ,$
    GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH  HALF ANGLE=NO
    AX       MEAS    NOMINAL       +TOL       -TOL        DEV     OUTTOL
    X       4.9808     3.6794     0.0000     0.0000     1.3013     1.3013 -------->
    Y      19.6324     0.7505     0.0000     0.0000    18.8819    18.8819 -------->
    Z     -28.4092     0.0000     0.0000     0.0000   -28.4092    28.4092 <--------
    END OF DIMENSION LOC3

    Here is how you would use MAXINDICES

                ASSIGN/V2=MAXINDICES(14PLN.HIT[1..14PLN.NUMHITS].X)
    DIM LOC3= LOCATION OF POINT 14PLN.HIT[V2[1]]  UNITS=IN ,$
    GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH  HALF ANGLE=NO
    AX       MEAS    NOMINAL       +TOL       -TOL        DEV     OUTTOL
    X       4.9808     3.6794     0.0000     0.0000     1.3013     1.3013 -------->
    Y      19.6324     0.7505     0.0000     0.0000    18.8819    18.8819 -------->
    Z     -28.4092     0.0000     0.0000     0.0000   -28.4092    28.4092 <--------
    END OF DIMENSION LOC3
    DIM LOC4= LOCATION OF POINT 14PLN.HIT[V2[2]]  UNITS=IN ,$
    GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH  HALF ANGLE=NO
    AX       MEAS    NOMINAL       +TOL       -TOL        DEV     OUTTOL
    X       4.8723     3.5711     0.0000     0.0000     1.3013     1.3013 -------->
    Y      19.4449     0.5631     0.0000     0.0000    18.8818    18.8818 -------->
    Z     -28.4079     0.0000     0.0000     0.0000   -28.4079    28.4079 <--------
    END OF DIMENSION LOC4

  • Can MAXINDICES find out the max T value?  I try to report 18 hits cylinder profile. That is a lot, if Max T value could be found out , then save me a million. 

  • I am not too familiar with reporting T values, but is this the function related to it?

    DOT(14PLN.HIT[V1].XYZ-14PLN.HIT[V1].TXYZ,14PLN.HIT[V1].IJK)

    Found here https://nexus.hexagon.com/community/public/pc-dmis/f/pc-dmis-for-cmms/130869/t-values courtesy of  

    The location dimensions do have the option for "T" value under the sheet metal section, but I do not have the knowledge to say if that is the same. You'll just need to put in the correct nominals.