hexagon logo

Composite true positions in Legacy

I'm being required to use Legacy GDT reporting for a program.
I haven't used legacy before and need help on how to measure/report these composite true positions using it.

Datum A is a surface
Datum B is a bore
Datum C is a bore
I have my alignment set up to ABC.

In TP#1 how do I ignore C to get the AB alignment?
and how do I get just B for the composite?

In TP#2 How do I get the composite with no datums?

Can Legacy do MMC bonus or MMB datum shifts?


TP #1:

{"data-align":"none","data-size":"medium","data-tempid":"temp_22355_1648740249085_596"}
TP #2:

  {"data-align":"none","data-size":"medium","data-tempid":"temp_22356_1648740215078_727"}    ​​
​​
Parents
  • The process is the same for a fully unconstrained DRF. The only difference is that you will select a full 3D BF alignment. This allows for all DOFs to be shifted. In this case, because only one hole was shifted, you can really see how the Min/Max fit managed to find a happy medium to make all the deviations equal.



    Again, here are the graphs and code. Now, since there are no constraints, you can see that the maximum and minimum deviations are equal and in opposite directions.
    If you want to know how much datum shift there was, look at the BF alignment code. I put a note where to look.


    PLN_A =FEAT/PLANE,CARTESIAN,OUTLINE,NO,LEAST_SQR
    THEO/<0,0,0>,<0,0,1>
    ACTL/<0,0,0>,<0,0,1>
    CONSTR/PLANE,BF,PNT0,PNT5,PNT4,PNT3,PNT2,PNT1,,
    OUTLIER_REMOVAL/OFF,3
    FILTER/OFF,WAVELENGTH=0
    
    CIR_B =GENERIC/CIRCLE,DEPENDENT,CARTESIAN,OUT,$
    NOM/XYZ,<0,0,0>,$
    MEAS/XYZ,<0,0,0>,$
    NOM/IJK,<0,0,1>,$
    MEAS/IJK,<0,0,1>,$
    DIAMETER/0.5,0.5
    
    CIR_C =GENERIC/CIRCLE,DEPENDENT,CARTESIAN,OUT,$
    NOM/XYZ,<1,0,0>,$
    MEAS/XYZ,<1,0,0>,$
    NOM/IJK,<0,0,1>,$
    MEAS/IJK,<0,0,1>,$
    RADIUS/0.1,0.1
    
    CIR1 =GENERIC/CIRCLE,DEPENDENT,CARTESIAN,OUT,$
    NOM/XYZ,<0.5,0.866,0>,$
    MEAS/XYZ,<0.5,0.866,0>,$
    NOM/IJK,<0,0,1>,$
    MEAS/IJK,<0,0,1>,$
    RADIUS/0.1,0.1
    
    CIR2 =GENERIC/CIRCLE,DEPENDENT,CARTESIAN,OUT,$
    NOM/XYZ,<-0.5,0.866,0>,$
    MEAS/XYZ,<-0.5,0.866,0>,$
    NOM/IJK,<0,0,1>,$
    MEAS/IJK,<0,0,1>,$
    RADIUS/0.1,0.1
    
    CIR3 =GENERIC/CIRCLE,DEPENDENT,CARTESIAN,OUT,$
    NOM/XYZ,<-1,0,0>,$
    MEAS/XYZ,<-1.005,0.0005,0>,$
    NOM/IJK,<0,0,1>,$
    MEAS/IJK,<0,0,1>,$
    RADIUS/0.1,0.1
    
    CIR4 =GENERIC/CIRCLE,DEPENDENT,CARTESIAN,OUT,$
    NOM/XYZ,<-0.5,-0.866,0>,$
    MEAS/XYZ,<-0.5,-0.866,0>,$
    NOM/IJK,<0,0,1>,$
    MEAS/IJK,<0,0,1>,$
    RADIUS/0.1,0.1
    
    CIR5 =GENERIC/CIRCLE,DEPENDENT,CARTESIAN,OUT,$
    NOM/XYZ,<0.5,-0.866,0>,$
    MEAS/XYZ,<0.5,-0.866,0>,$
    NOM/IJK,<0,0,1>,$
    MEAS/IJK,<0,0,1>,$
    RADIUS/0.1,0.1
    
    ALN_ABC =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
    ALIGNMENT/LEVEL,ZPLUS,PLN_A
    ALIGNMENT/ROTATE_CIRCLE,XPLUS,TO,CIR_B,AND,CIR_C,ABOUT,ZPLUS
    ALIGNMENT/TRANS,ZAXIS,PLN_A
    ALIGNMENT/TRANS,XAXIS,CIR_B
    ALIGNMENT/TRANS,YAXIS,CIR_B
    ALIGNMENT/END
    
    A5 =ALIGNMENT/START,RECALL:ALN_ABC,LIST=YES
    ALIGNMENT/BF3D,MIN_MAX,CREATE WEIGHTS=NO,ROTANDTRANS,-0.0025,0.0002,0,0,0.0001,0.0001   <<<Shift Values XYZ, Xrot, Yrot, Zrot
    ITERATEANDREPIERCECAD=NO
    Deviation Threshold=0.02
    SHOWALLINPUTS=YES,SHOWALLPARAMS=YES
    ID=CIR_C,Circles,LOC1,1,YES
    ID=CIR5,Circles,LOC6,1,YES
    ID=CIR1,Circles,LOC2,1,YES
    ID=CIR2,Circles,LOC3,1,YES
    ID=CIR3,Circles,LOC4,1,YES
    ID=CIR4,Circles,LOC5,1,YES
    ID=
    ALIGNMENT/END
    
    WORKPLANE/ZPLUS
    DIM LOC1= POSITION OF CIRCLE CIR_C UNITS=IN ,$
    GRAPH=ON TEXT=OFF MULT=70.00 OUTPUT=BOTH FIT TO DATUMS=OFF DEV PERPEN CENTERLINE=OFF DISPLAY=DIAMETER
    AX NOMINAL MEAS +TOL -TOL BONUS DEV DEVANG OUTTOL
    X 1.0000 1.0025 0.0025
    Y 0.0000 -0.0002 -0.0002
    DF 0.2000 0.2000 0.0050 0.0050 0.0050 0.0000 0.0000 #
    TP MMC 0.0050 0.0100 0.0050 0.0050 -5.7001 0.0000 #
    END OF DIMENSION LOC1
    
    DIM LOC2= POSITION OF CIRCLE CIR1 UNITS=IN ,$
    GRAPH=ON TEXT=OFF MULT=70.00 OUTPUT=BOTH FIT TO DATUMS=OFF DEV PERPEN CENTERLINE=OFF DISPLAY=DIAMETER
    AX NOMINAL MEAS +TOL -TOL BONUS DEV DEVANG OUTTOL
    X 0.5000 0.5025 0.0025
    Y 0.8660 0.8658 -0.0002
    DF 0.2000 0.2000 0.0050 0.0050 0.0050 0.0000 0.0000 #
    TP MMC 0.0050 0.0100 0.0050 0.0050 -5.7002 0.0000 #
    END OF DIMENSION LOC2
    
    DIM LOC3= POSITION OF CIRCLE CIR2 UNITS=IN ,$
    GRAPH=ON TEXT=OFF MULT=70.00 OUTPUT=BOTH FIT TO DATUMS=OFF DEV PERPEN CENTERLINE=OFF DISPLAY=DIAMETER
    AX NOMINAL MEAS +TOL -TOL BONUS DEV DEVANG OUTTOL
    X -0.5000 -0.4975 0.0025
    Y 0.8660 0.8658 -0.0002
    DF 0.2000 0.2000 0.0050 0.0050 0.0050 0.0000 0.0000 #
    TP MMC 0.0050 0.0100 0.0050 0.0050 -5.7004 0.0000 #
    END OF DIMENSION LOC3
    
    DIM LOC4= POSITION OF CIRCLE CIR3 UNITS=IN ,$
    GRAPH=ON TEXT=OFF MULT=70.00 OUTPUT=BOTH FIT TO DATUMS=OFF DEV PERPEN CENTERLINE=OFF DISPLAY=DIAMETER
    AX NOMINAL MEAS +TOL -TOL BONUS DEV DEVANG OUTTOL
    X -1.0000 -1.0025 -0.0025
    Y 0.0000 0.0003 0.0003
    DF 0.2000 0.2000 0.0050 0.0050 0.0050 0.0000 0.0000 #
    TP MMC 0.0050 0.0100 0.0050 0.0050 174.2793 0.0000 #
    END OF DIMENSION LOC4
    
    DIM LOC5= POSITION OF CIRCLE CIR4 UNITS=IN ,$
    GRAPH=ON TEXT=OFF MULT=70.00 OUTPUT=BOTH FIT TO DATUMS=OFF DEV PERPEN CENTERLINE=OFF DISPLAY=DIAMETER
    AX NOMINAL MEAS +TOL -TOL BONUS DEV DEVANG OUTTOL
    X -0.5000 -0.4975 0.0025
    Y -0.8660 -0.8663 -0.0002
    DF 0.2000 0.2000 0.0050 0.0050 0.0050 0.0000 0.0000 #
    TP MMC 0.0050 0.0100 0.0050 0.0050 -5.7004 0.0000 #
    END OF DIMENSION LOC5
    
    DIM LOC6= POSITION OF CIRCLE CIR5 UNITS=IN ,$
    GRAPH=ON TEXT=OFF MULT=70.00 OUTPUT=BOTH FIT TO DATUMS=OFF DEV PERPEN CENTERLINE=OFF DISPLAY=DIAMETER
    AX NOMINAL MEAS +TOL -TOL BONUS DEV DEVANG OUTTOL
    X 0.5000 0.5025 0.0025
    Y -0.8660 -0.8663 -0.0002
    DF 0.2000 0.2000 0.0050 0.0050 0.0050 0.0000 0.0000 #
    TP MMC 0.0050 0.0100 0.0050 0.0050 -5.7002 0.0000 #
    END OF DIMENSION LOC6
    
    
Reply
  • The process is the same for a fully unconstrained DRF. The only difference is that you will select a full 3D BF alignment. This allows for all DOFs to be shifted. In this case, because only one hole was shifted, you can really see how the Min/Max fit managed to find a happy medium to make all the deviations equal.



    Again, here are the graphs and code. Now, since there are no constraints, you can see that the maximum and minimum deviations are equal and in opposite directions.
    If you want to know how much datum shift there was, look at the BF alignment code. I put a note where to look.


    PLN_A =FEAT/PLANE,CARTESIAN,OUTLINE,NO,LEAST_SQR
    THEO/<0,0,0>,<0,0,1>
    ACTL/<0,0,0>,<0,0,1>
    CONSTR/PLANE,BF,PNT0,PNT5,PNT4,PNT3,PNT2,PNT1,,
    OUTLIER_REMOVAL/OFF,3
    FILTER/OFF,WAVELENGTH=0
    
    CIR_B =GENERIC/CIRCLE,DEPENDENT,CARTESIAN,OUT,$
    NOM/XYZ,<0,0,0>,$
    MEAS/XYZ,<0,0,0>,$
    NOM/IJK,<0,0,1>,$
    MEAS/IJK,<0,0,1>,$
    DIAMETER/0.5,0.5
    
    CIR_C =GENERIC/CIRCLE,DEPENDENT,CARTESIAN,OUT,$
    NOM/XYZ,<1,0,0>,$
    MEAS/XYZ,<1,0,0>,$
    NOM/IJK,<0,0,1>,$
    MEAS/IJK,<0,0,1>,$
    RADIUS/0.1,0.1
    
    CIR1 =GENERIC/CIRCLE,DEPENDENT,CARTESIAN,OUT,$
    NOM/XYZ,<0.5,0.866,0>,$
    MEAS/XYZ,<0.5,0.866,0>,$
    NOM/IJK,<0,0,1>,$
    MEAS/IJK,<0,0,1>,$
    RADIUS/0.1,0.1
    
    CIR2 =GENERIC/CIRCLE,DEPENDENT,CARTESIAN,OUT,$
    NOM/XYZ,<-0.5,0.866,0>,$
    MEAS/XYZ,<-0.5,0.866,0>,$
    NOM/IJK,<0,0,1>,$
    MEAS/IJK,<0,0,1>,$
    RADIUS/0.1,0.1
    
    CIR3 =GENERIC/CIRCLE,DEPENDENT,CARTESIAN,OUT,$
    NOM/XYZ,<-1,0,0>,$
    MEAS/XYZ,<-1.005,0.0005,0>,$
    NOM/IJK,<0,0,1>,$
    MEAS/IJK,<0,0,1>,$
    RADIUS/0.1,0.1
    
    CIR4 =GENERIC/CIRCLE,DEPENDENT,CARTESIAN,OUT,$
    NOM/XYZ,<-0.5,-0.866,0>,$
    MEAS/XYZ,<-0.5,-0.866,0>,$
    NOM/IJK,<0,0,1>,$
    MEAS/IJK,<0,0,1>,$
    RADIUS/0.1,0.1
    
    CIR5 =GENERIC/CIRCLE,DEPENDENT,CARTESIAN,OUT,$
    NOM/XYZ,<0.5,-0.866,0>,$
    MEAS/XYZ,<0.5,-0.866,0>,$
    NOM/IJK,<0,0,1>,$
    MEAS/IJK,<0,0,1>,$
    RADIUS/0.1,0.1
    
    ALN_ABC =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
    ALIGNMENT/LEVEL,ZPLUS,PLN_A
    ALIGNMENT/ROTATE_CIRCLE,XPLUS,TO,CIR_B,AND,CIR_C,ABOUT,ZPLUS
    ALIGNMENT/TRANS,ZAXIS,PLN_A
    ALIGNMENT/TRANS,XAXIS,CIR_B
    ALIGNMENT/TRANS,YAXIS,CIR_B
    ALIGNMENT/END
    
    A5 =ALIGNMENT/START,RECALL:ALN_ABC,LIST=YES
    ALIGNMENT/BF3D,MIN_MAX,CREATE WEIGHTS=NO,ROTANDTRANS,-0.0025,0.0002,0,0,0.0001,0.0001   <<<Shift Values XYZ, Xrot, Yrot, Zrot
    ITERATEANDREPIERCECAD=NO
    Deviation Threshold=0.02
    SHOWALLINPUTS=YES,SHOWALLPARAMS=YES
    ID=CIR_C,Circles,LOC1,1,YES
    ID=CIR5,Circles,LOC6,1,YES
    ID=CIR1,Circles,LOC2,1,YES
    ID=CIR2,Circles,LOC3,1,YES
    ID=CIR3,Circles,LOC4,1,YES
    ID=CIR4,Circles,LOC5,1,YES
    ID=
    ALIGNMENT/END
    
    WORKPLANE/ZPLUS
    DIM LOC1= POSITION OF CIRCLE CIR_C UNITS=IN ,$
    GRAPH=ON TEXT=OFF MULT=70.00 OUTPUT=BOTH FIT TO DATUMS=OFF DEV PERPEN CENTERLINE=OFF DISPLAY=DIAMETER
    AX NOMINAL MEAS +TOL -TOL BONUS DEV DEVANG OUTTOL
    X 1.0000 1.0025 0.0025
    Y 0.0000 -0.0002 -0.0002
    DF 0.2000 0.2000 0.0050 0.0050 0.0050 0.0000 0.0000 #
    TP MMC 0.0050 0.0100 0.0050 0.0050 -5.7001 0.0000 #
    END OF DIMENSION LOC1
    
    DIM LOC2= POSITION OF CIRCLE CIR1 UNITS=IN ,$
    GRAPH=ON TEXT=OFF MULT=70.00 OUTPUT=BOTH FIT TO DATUMS=OFF DEV PERPEN CENTERLINE=OFF DISPLAY=DIAMETER
    AX NOMINAL MEAS +TOL -TOL BONUS DEV DEVANG OUTTOL
    X 0.5000 0.5025 0.0025
    Y 0.8660 0.8658 -0.0002
    DF 0.2000 0.2000 0.0050 0.0050 0.0050 0.0000 0.0000 #
    TP MMC 0.0050 0.0100 0.0050 0.0050 -5.7002 0.0000 #
    END OF DIMENSION LOC2
    
    DIM LOC3= POSITION OF CIRCLE CIR2 UNITS=IN ,$
    GRAPH=ON TEXT=OFF MULT=70.00 OUTPUT=BOTH FIT TO DATUMS=OFF DEV PERPEN CENTERLINE=OFF DISPLAY=DIAMETER
    AX NOMINAL MEAS +TOL -TOL BONUS DEV DEVANG OUTTOL
    X -0.5000 -0.4975 0.0025
    Y 0.8660 0.8658 -0.0002
    DF 0.2000 0.2000 0.0050 0.0050 0.0050 0.0000 0.0000 #
    TP MMC 0.0050 0.0100 0.0050 0.0050 -5.7004 0.0000 #
    END OF DIMENSION LOC3
    
    DIM LOC4= POSITION OF CIRCLE CIR3 UNITS=IN ,$
    GRAPH=ON TEXT=OFF MULT=70.00 OUTPUT=BOTH FIT TO DATUMS=OFF DEV PERPEN CENTERLINE=OFF DISPLAY=DIAMETER
    AX NOMINAL MEAS +TOL -TOL BONUS DEV DEVANG OUTTOL
    X -1.0000 -1.0025 -0.0025
    Y 0.0000 0.0003 0.0003
    DF 0.2000 0.2000 0.0050 0.0050 0.0050 0.0000 0.0000 #
    TP MMC 0.0050 0.0100 0.0050 0.0050 174.2793 0.0000 #
    END OF DIMENSION LOC4
    
    DIM LOC5= POSITION OF CIRCLE CIR4 UNITS=IN ,$
    GRAPH=ON TEXT=OFF MULT=70.00 OUTPUT=BOTH FIT TO DATUMS=OFF DEV PERPEN CENTERLINE=OFF DISPLAY=DIAMETER
    AX NOMINAL MEAS +TOL -TOL BONUS DEV DEVANG OUTTOL
    X -0.5000 -0.4975 0.0025
    Y -0.8660 -0.8663 -0.0002
    DF 0.2000 0.2000 0.0050 0.0050 0.0050 0.0000 0.0000 #
    TP MMC 0.0050 0.0100 0.0050 0.0050 -5.7004 0.0000 #
    END OF DIMENSION LOC5
    
    DIM LOC6= POSITION OF CIRCLE CIR5 UNITS=IN ,$
    GRAPH=ON TEXT=OFF MULT=70.00 OUTPUT=BOTH FIT TO DATUMS=OFF DEV PERPEN CENTERLINE=OFF DISPLAY=DIAMETER
    AX NOMINAL MEAS +TOL -TOL BONUS DEV DEVANG OUTTOL
    X 0.5000 0.5025 0.0025
    Y -0.8660 -0.8663 -0.0002
    DF 0.2000 0.2000 0.0050 0.0050 0.0050 0.0000 0.0000 #
    TP MMC 0.0050 0.0100 0.0050 0.0050 -5.7002 0.0000 #
    END OF DIMENSION LOC6
    
    
Children
No Data