hexagon logo

Find hole settings

**SOLVED**

I ended up putting a read point, origining to the read point, and measuring my diameter that way. See code below. Thanks for all of your help.

MOVE/INCREMENT,<0,0,0.25>
            MOVE/POINT,NORMAL,<-.11811,1.535434,0.25>
            MODE/MANUAL
            COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
            Lower probe into marker hole at the nose.
            Once in position, press okay to engage DCC Mode.
READPNTCIR8=FEAT/POINT,CARTESIAN
            THEO/<-0.11811,1.535434,-0.145004>,<0.0069459,-0.0013335,0.999975>
            ACTL/<-0.120565,1.539376,-0.258054>,<0.0069459,-0.0013335,0.999975>
            READPOINT/
            MODE/DCC
A3         =ALIGNMENT/START,RECALL:A6,LIST=YES
              ALIGNMENT/TRANS,ZAXIS,READPNTCIR8
            ALIGNMENT/END
CIR8       =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
            THEO/<-0.11811,1.535434,0>,<0,0,1>,0.0305
            ACTL/<-0.116791,1.5367,0>,<0,0,1>,0.030769
            TARG/<-0.11811,1.535434,0>,<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=7,DEPTH=0,PITCH=0
              SAMPLE METHOD=SAMPLE_HITS
              SAMPLE HITS=0,SPACER=0
              AVOIDANCE MOVE=NO,DISTANCE=0.393701
              FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
            SHOW HITS=NO
            RECALL/ALIGNMENT,INTERNAL,A6



PC DMIS 2017 CAD++ 2017R2 Build 1153 SP3.

Measuring a part with holes that have a Z+ surface vector. The height of the holes fluctuate plus/minus 0.050" in the Z axis (crappy roughed out 3-D printed parts supplied from an overseas customer).

How do i set up my program todo the following: Go to nominal Z height and try to measure... if it doesn't find the hole, ask me to lower or raise the probe to the center of the hole, and press go to take its measurement?

I am working offline & playing with settings but since I don't have a physical part, I am having a hard time visualizing what is actually going to happen so i decided tor reach out for help.


Thanks in advance,
-Dan
  • Can you please elaborate?

    I am trying to work with the find hole settings that are in the circle autofeature window
  • Sorry, I think it was suppose to be read position, not readpoint. Read position will ask you to adjust the XY but not the Z of a circle.

    What about have a large check distance on the Z+ surface before you probe the circle? Wouldn't that establish the Z height? It probably won't show any deviation offline. maybe find a test part to try it on.
  • PC DMIS 2017 CAD++ 2017R2 Build 1153 SP3.

    Measuring a part with holes that have a Z+ surface vector. The height of the holes fluctuate plus/minus 0.050" in the Z axis (crappy roughed out 3-D printed parts supplied from an overseas customer).

    How do i set up my program todo the following: Go to nominal Z height and try to measure... if it doesn't find the hole, ask me to lower or raise the probe to the center of the hole, and press go to take its measurement?

    I am working offline & playing with settings but since I don't have a physical part, I am having a hard time visualizing what is actually going to happen so i decided tor reach out for help.


    Thanks in advance,
    -Dan


    I would simply measure the plane on top, set it to Z-zero, and then all your holes will be at the same depth from that plane. or am I missing something?
  • Why not use 1 or 3 sample hits? This is exactly the situation this feature exists for.
  • None of the holes are at the same height.

    The holes are into a surface that has a weird curve and each hole has a c'bor above it that varies in depth +/- 0.050.

    The software will go to the correct X and Y location...but the Z always varies...so I'd like to be able to have it go to XYZ NOMINAL, try, and then if its the wrong height, stop, and ask me to bring it to a read position (all i'll do is lower the probe), and then have it beep its diameter
  • no sample hits.

    hole is into irregular-ly curved surface with a c'bor above the measurement hole that varies +/-0.050 in z depth.

    I just want the probe to try...if it hits air...stop and then ask me to lower it down and press go, and at that Z height I lower it to.... take its diameter.
  • You could turn on "Read Position" and just position the probe manually every time.

    or

    You could take a vector point, somewhere, and use the value from that point as the hit target for your hole.

    or

    You could take three points around the hole, create a plane, and use that plane as the "Sample Feature".

    or

    You could use 1 sample hit just to set height (this doesn't affect the hole vector, I think).
  • if you are ok to have CMM to stop, might as well use read points. Basically, it will allow you to manually lower the probe into each hole, then it will always measure at the correct depth.
  • How about this (disregard everything about the hole except the depth variable)

    ASSIGN/PUT_THIS_IN_DEPTH=.1
                ONERROR/PROBE_MISS,SET MISSEDHOLE
    MEASHOLE   =LABEL/
    CIR1       =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
                THEO/<0,-86,0>,<0,1,0>,201.234
                ACTL/<0,-86,0>,<0,1,0>,201.234
                TARG/<0,-86,0>,<0,1,0>
                START ANG=180,END ANG=360
                ANGLE VEC=<-1,0,0>
                DIRECTION=CCW
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=YES
                  NUMHITS=36,DEPTH=PUT_THIS_IN_DEPTH,PITCH=0
                  SAMPLE METHOD=SAMPLE_HITS
                  SAMPLE HITS=0,SPACER=6.35
                  AVOIDANCE MOVE=BOTH,DISTANCE=9.525
                  FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
                SHOW HITS=NO
                IF/MISSEDHOLE==1
                  ASSIGN/PUT_THIS_IN_DEPTH=PUT_THIS_IN_DEPTH+.05
                GOTO/MEASHOLE
                END_IF/
                ONERROR/PROBE_MISS,OFF