hexagon logo

Leveling plane sets all feature 3mm out in alignment.

Iterative Alignment
Level -- 3 surface points to "Z"
Rotate -- Hole /Slot
Origin -- Hole

The issue I have is that all features are out in "z" 3mm. (the 3 leveling point check good, 0.00mm)
I added a 4th surface point to the "z" plane and did a second iterative alignment using two holes and a slot for my leveling points. Now all features check good, including the 4th surface point but the original three surface points check 3mm out.

I have re- certified my probe tip and rerun with the same issue. I find no offsets and my tip comp is on. PC-DMIS CAD++2017R2. Any idea what could cause this issue?
  • are you working with a cad file? if not its very important to use good technique when probing your points.

    do you have a plane selected when measuring your plane? or are you taking points and then constructing the plane using those points? if so what method are you using, best fit, auto etc.

    when you measure your hole and slots are they on the same plane? do you have the plane selected as the work plane surface?

    are you using the sample hits when measuring the hole and slot?


    lots of questions, maybe the best way is if you could post your code
  • Pacman, thanks for responding.
    I am working with a CAD file (stp)
    No plane feature, strictly surface points for the iterative alignments which requires 3 pts min. to level.
    all 6 features are on the same plane and I am using sample points for the holes/slot. I'll post code asap.

    PART NAME : 68637470_HVPDC BRKT_BEV_VERSION - AA - 9671-SCAN
    REV NUMBER : AA
    SER NUMBER : 9671
    STATS COUNT : 1

    STARTUP =ALIGNMENT/START,RECALL:USE_PART_SETUP,LIST=YES
    ALIGNMENT/END
    MODE/MANUAL
    FORMAT/TEXT,OPTIONS, ,HEADINGS,SYMBOLS, ;NOM,TOL,MEAS,DEV,OUTTOL, ,
    LOADPROBE/3MM_PROBE
    TIP/TIP1, SHANKIJK=0, 0, 1, ANGLE=0
    PNT1 =FEAT/CONTACT/SURFACE POINT/DEFAULT,POLAR
    THEO/<1632.614,0.035,1262.5>,<0,0,-1>
    ACTL/<1061.186,346.49,209.325>,<-0.1386218,-0.9903315,0.0052513>
    TARG/<1632.614,0.035,1262.5>,<0,0,-1>
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    SAMPLE METHOD=SAMPLE_HITS
    SAMPLE HITS=0,SPACER=0
    SHOW HITS=NO
    PNT2 =FEAT/CONTACT/SURFACE POINT/DEFAULT,POLAR
    THEO/<1469.581,0.039,1262.5>,<0,0,-1>
    ACTL/<1221.164,347.218,209.942>,<-0.1386218,-0.9903315,0.0052513>
    TARG/<1469.581,0.039,1262.5>,<0,0,-1>
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    SAMPLE METHOD=SAMPLE_HITS
    SAMPLE HITS=0,SPACER=0
    SHOW HITS=NO
    PNT3 =FEAT/CONTACT/SURFACE POINT/DEFAULT,POLAR
    THEO/<1483.696,356.185,1262.5>,<0,0,-1>
    ACTL/<1213.59,347.163,113.546>,<-0.1386218,-0.9903315,0.0052513>
    TARG/<1483.696,356.185,1262.5>,<0,0,-1>
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    SAMPLE METHOD=SAMPLE_HITS
    SAMPLE HITS=0,SPACER=0
    SHOW HITS=NO
    CIR1 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
    THEO/<1528.86,-4.02,1262.5>,<0,0,-1>,6.5
    ACTL/<1133.209,-259.123,206.792>,<-0.137578,-0.9904772,0.0052219>,6.672
    TARG/<1528.86,-4.02,1262.5>,<0,0,-1>
    START ANG=0,END ANG=360
    ANGLE VEC=<-1,0,0>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    NUMHITS=5,DEPTH=0.25,PITCH=0
    SAMPLE METHOD=SAMPLE_HITS
    SAMPLE HITS=3,SPACER=1
    FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
    SHOW HITS=NO
    SLTR1 =FEAT/CONTACT/ROUND SLOT/DEFAULT,CARTESIAN,IN
    THEO/<1613.293,-4.019,1262.5>,<0,0,-1>,<1,-0.0000002,0>,6.5,7.5
    ACTL/<1049.593,-247.434,205.731>,<-0.1379227,-0.9904284,0.0053733>,<0.9904354,-0.1378984,0.0046551>,6.598,7.67
    TARG/<1613.293,-4.019,1262.5>,<0,0,-1>,<1,-0.0000002,0>
    MEAS ANGLE=90
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    NUMHITS=6,DEPTH=0.5
    SAMPLE METHOD=SAMPLE_HITS
    SAMPLE HITS=3,SPACER=1
    FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
    SHOW HITS=NO
    CIR2 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
    THEO/<1554.92,13.915,1336.976>,<-0.7660444,0,0.6427876>,5
    ACTL/<1117.332,-181.826,223.949>,<0.8478238,0.5302312,0.0070494>,5.271
    TARG/<1554.92,13.915,1336.976>,<-0.7660444,0,0.6427876>
    START ANG=0,END ANG=360
    ANGLE VEC=<0.6427876,0,0.7660444>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    NUMHITS=4,DEPTH=0.25,PITCH=0
    SAMPLE METHOD=SAMPLE_HITS
    SAMPLE HITS=3,SPACER=1
    FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
    SHOW HITS=NO
    CIR3 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
    THEO/<1658.409,13.915,1460.309>,<-0.7660444,0,0.6427876>,5
    ACTL/<1031.973,-45.343,222.089>,<0.847755,0.530354,0.00601>,5.286
    TARG/<1658.409,13.915,1460.309>,<-0.7660444,0,0.6427876>
    START ANG=0,END ANG=360
    ANGLE VEC=<0.6427876,0,0.7660444>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    NUMHITS=4,DEPTH=0.25,PITCH=0
    SAMPLE METHOD=SAMPLE_HITS
    SAMPLE HITS=3,SPACER=1
    FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
    SHOW HITS=NO
    A1 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
    ALIGNMENT/ITERATE
    PNT TARGET RAD=5,START LABEL=,FIXTURE TOL=0.05,ERROR LABEL=
    MEAS ALL FEAT=NO,LEVEL AXIS=ZAXIS,ROTATE AXIS=YAXIS,ORIGIN AXIS=XAXIS
    LEVEL=PNT1,PNT2,PNT3,,
    ROTATE=CIR1,SLTR1,,
    ORIGIN=CIR1,,
    ALIGNMENT/END
    CIR4 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
    THEO/<1478.49,-54.02,1262.5>,<0,0,-1>,6.5
    ACTL/<1478.52,-54.022,1265.519>,<0.0007041,0.0005554,-0.9999996>,6.705
    TARG/<1478.49,-54.02,1262.5>,<0,0,-1>
    START ANG=0,END ANG=360
    ANGLE VEC=<-1,0,0>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    NUMHITS=4,DEPTH=0.25,PITCH=0
    SAMPLE METHOD=SAMPLE_HITS
    SAMPLE HITS=3,SPACER=1
    FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
    SHOW HITS=NO
    CIR5 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
    THEO/<1479.616,-85.36,1262.5>,<0,0,-1>,7
    ACTL/<1479.665,-85.348,1265.489>,<0.0011608,0.0013598,-0.9999984>,7.186
    TARG/<1479.616,-85.36,1262.5>,<0,0,-1>
    START ANG=0,END ANG=360
    ANGLE VEC=<-1,0,0>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    NUMHITS=4,DEPTH=0.25,PITCH=0
    SAMPLE METHOD=SAMPLE_HITS
    SAMPLE HITS=3,SPACER=1
    FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
    SHOW HITS=NO
    PNT4 =FEAT/CONTACT/SURFACE POINT/DEFAULT,POLAR
    THEO/<1508.673,358.869,1262.5>,<0,0,-1>
    ACTL/<1510.618,359.024,1265.525>,<0,0,-1>
    TARG/<1508.673,358.869,1262.5>,<0,0,-1>
    SNAP=NO
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    SAMPLE METHOD=SAMPLE_HITS
    SAMPLE HITS=0,SPACER=0
    SHOW HITS=NO
    A2 =ALIGNMENT/START,RECALL:A1,LIST=YES
    ALIGNMENT/ITERATE
    PNT TARGET RAD=5,START LABEL=,FIXTURE TOL=0.05,ERROR LABEL=
    MEAS ALL FEAT=NO,LEVEL AXIS=ZAXIS,ROTATE AXIS=YAXIS,ORIGIN AXIS=XAXIS
    LEVEL=CIR1,SLTR1,CIR5,,
    ROTATE=CIR1,SLTR1,,
    ORIGIN=CIR1,,
    ALIGNMENT/END
    DIM LOC1= LOCATION OF POINT PNT1 UNITS=MM ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
    AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
    T 0.000 0.250 0.250 2.959 2.959 2.709 -------->
    END OF DIMENSION LOC1
    DIM LOC2= LOCATION OF POINT PNT2 UNITS=MM ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
    AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
    T 0.000 0.250 0.250 2.978 2.978 2.728 -------->
    END OF DIMENSION LOC2
    DIM LOC3= LOCATION OF POINT PNT3 UNITS=MM ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
    AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
    T 0.000 0.250 0.250 2.992 2.992 2.742 -------->
    END OF DIMENSION LOC3
    DIM LOC4= LOCATION OF CIRCLE CIR1 UNITS=MM ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
    AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
    X 1528.860 0.250 0.250 1528.860 0.000 0.000 ----#----
    Y -4.020 0.250 0.250 -4.020 0.000 0.000 ----#----
    Z 1262.500 0.250 0.250 1262.500 0.000 0.000 ----#----
    D 6.500 0.300 0.000 6.672 0.172 0.000 -----#---
    END OF DIMENSION LOC4
    DIM LOC5= LOCATION OF SLOT SLTR1 UNITS=MM ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
    AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
    X 1613.293 0.250 0.250 1613.296 0.003 0.000 ----#----
    Y -4.019 0.250 0.250 -4.019 0.000 0.000 ----#----
    Z 1262.500 0.250 0.250 1262.500 0.000 0.000 ----#----
    D 6.500 0.300 0.000 6.598 0.098 0.000 --#------
    L 7.500 0.300 0.000 7.670 0.170 0.000 -----#---
    END OF DIMENSION LOC5
    DIM LOC6= LOCATION OF CIRCLE CIR2 UNITS=MM ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
    AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
    X 1554.920 0.250 0.250 1555.067 0.147 0.000 -------#-
    Y 13.915 0.250 0.250 13.847 -0.068 0.000 ---#-----
    Z 1336.976 0.250 0.250 1336.764 -0.213 0.000 #--------
    D 5.000 0.300 0.000 5.271 0.271 0.000 --------#
    END OF DIMENSION LOC6
    DIM LOC7= LOCATION OF CIRCLE CIR3 UNITS=MM ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
    AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
    X 1658.409 0.250 0.250 1658.514 0.105 0.000 ------#--
    Y 13.915 0.250 0.250 13.918 0.004 0.000 ----#----
    Z 1460.309 0.250 0.250 1460.117 -0.192 0.000 -#-------
    D 5.000 0.300 0.000 5.286 0.286 0.000 --------#
    END OF DIMENSION LOC7
    DIM LOC8= LOCATION OF CIRCLE CIR4 UNITS=MM ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
    AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
    X 1478.490 0.250 0.250 1478.520 0.030 0.000 -----#---
    Y -54.020 0.250 0.250 -54.022 -0.002 0.000 ----#----
    Z 1262.500 0.250 0.250 1262.533 0.034 0.000 -----#---
    D 6.500 0.300 0.000 6.705 0.205 0.000 ------#--
    END OF DIMENSION LOC8
    DIM LOC9= LOCATION OF CIRCLE CIR5 UNITS=MM ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
    AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
    X 1479.616 0.250 0.250 1479.665 0.049 0.000 -----#---
    Y -85.360 0.250 0.250 -85.348 0.012 0.000 ----#----
    Z 1262.500 0.250 0.250 1262.500 0.000 0.000 ----#----
    D 7.000 0.300 0.000 7.186 0.186 0.000 -----#---
    END OF DIMENSION LOC9
    DIM LOC10= LOCATION OF POINT PNT4 UNITS=MM ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
    AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
    T 0.000 0.250 0.250 -0.048 -0.048 0.000 ---#-----
    END OF DIMENSION LOC10
  • Wild guess, but maybe the surface you zero on, is actually -3 mm offset in the CAD file?
  • PacMan, I looked at this. Comp is turned on, but even if it wasn't, wouldn't the offset be 1.5mm for a 3mm ruby?
  • I don't use iterative alignments in my programming so not much of an expert in that trouble shooting. the way i would set this up would be to select the plane straight of the cad file surface adjust how many hits you want, usually depending on the size of the surface. hit create. (you can either have the measure on or off for now) next insert alignment and level and set origin of z to the plane, if you had the measure now on when creating the plane then you had to take the hits, so now you can put the probe on the surface and check to see if your z axis is measuring correctly. ( thats just a quick check)

    then select the circle and slot straight from the cad adjust the setting for sample hits, etc. use constructed feature line 2d from slot to circle or vice versa, go to insert alignment, level and origin to the plane, rotate to the line and set either your slot or circle as your origin
  • IF the comp was being done in the wrong direction, it would be off the probe diameter, which is the 3mm you are seeing. (but it's Friday, maybe that isn't it).

    For a point with the PROPER nominals and vectors, you must have the probe pointed MORE towards the part than away from the part. Now, without an alignment, picking points from a CAD model can be a bugger as it has no idea which side you are actually trying to probe from. When working on a CMM, when picking points from the model, if the probe is A0B0 and the surface you are picking from has a vector with NO Z (K vector), it is hit and miss which way it will decide the vector goes. If those 3 points you initially used have a flipped vector, that would be the entire problem.