hexagon logo

Cylinder Inersecting Plane Way off Location

Hello everybody,
We have a part that has two mounting studs projecting from two surfaces (mouting surfaces). The drawing specs the distance between the holes & the customer wants the distance between the studs at the mounting surface (actually, opposite side of matl of mounting surface).

To do this, we're measuring circles at the top & bottom of the studs, creating a cylinder for each one and then creating a circle at the intersection point of the cylinder & the plane. The cylinder direction is from top towards the intersection point. I tried creating an intersection point instead of circle but PCd wants to put it way off location every time.

Sometimes when the program is run, it runs fine; all circles / cylinders line up properly. Randomly other times, the intersection circle is off location in the Y-axis. This causes a problem because one of the intersection circles is the origin along the X&Y axes. If this is off, the cmm crashes trying to find the other features of the parts.

The pictures show the location of the cylinders & the intersection circles from two consecutive runs of the program; the part was not moved. The only change was that I went back into the program, F9 on the intersection circles, clicked on the plane to remove it from the construction & then clicked back on it and selected OK. This moves the intersection circle back to where it should be.

Obviously, we don't want to have to go into the edit window every time the program is run to edit the intersection circles. Can somebody please advise if this is a glitch or a programming error & how to correct it? Thank you for your assistance.

    CIR_4_TOP  =FEAT/CONTACT/CIRCLE,CARTESIAN,OUT,LEAST_SQR
                THEO/<0+0,0+0,15+0>,<0+0,0+0,1+0>,11.06,0,0,0
                ACTL/<-0.038,-0.094,15.013>,<-0.0012805,0.0013257,0.9999983>,11.078,0,0,0
                TARG/<0.183,-0.051,15.013>,<-0.0012805,0.0013257,0.9999983>
                ANGLE VEC=<1,-0.0000688,0>
                DIRECTION=CW
                SHOW FEATURE PARAMETERS=YES
                  REMEASURE=NO
                  SURFACE=THICKNESS_NONE,0
                  MEASURE MODE=NOMINALS
                  RMEAS=NONE,NONE,NONE
                  AUTO WRIST=NO
                  CIRCULAR MOVES=YES
                  CLEARPLANE=NO
                  GRAPHICAL ANALYSIS=NO
                  FEATURE LOCATOR=NO,NO,""
                SHOW CONTACT PARAMETERS=YES
                  NUMHITS=8,DEPTH=0,PITCH=0
                  SAMPLE HITS=0,SPACER=3
                  AVOIDANCE MOVE=NO,DISTANCE=0
                  FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
                SHOW HITS=NO
    CIR_4_BTM  =FEAT/CONTACT/CIRCLE,CARTESIAN,OUT,LEAST_SQR
                THEO/<0+0,0+0,3.25+0>,<0+0,0+0,1+0>,11.06,0,45,45
                ACTL/<-0.005,-0.013,3.25>,<0,0,1>,11.081,0,45,45
                TARG/<0,0,3.25>,<0,0,1>
                ANGLE VEC=<1,-0.0000688,0>
                DIRECTION=CW
                SHOW FEATURE PARAMETERS=YES
                  REMEASURE=NO
                  SURFACE=THICKNESS_NONE,0
                  MEASURE MODE=NOMINALS
                  RMEAS=NONE,NONE,NONE
                  AUTO WRIST=NO
                  CIRCULAR MOVES=YES
                  CLEARPLANE=NO
                  GRAPHICAL ANALYSIS=NO
                  FEATURE LOCATOR=NO,NO,""
                SHOW CONTACT PARAMETERS=YES
                  NUMHITS=6,DEPTH=0,PITCH=0
                  SAMPLE HITS=0,SPACER=3
                  AVOIDANCE MOVE=NO,DISTANCE=0
                  FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
                SHOW HITS=NO
    CYL_4      =FEAT/CYLINDER,CARTESIAN,OUT,LEAST_SQR,NO
                THEO/<0+0,0+0,8.75+0>,<0+0,0+0,-1+0>,11.057,12.128
                ACTL/<-0.022,-0.054,9.135>,<0.0028065,0.0069445,-0.9999719>,11.08,11.849
                CONSTR/CYLINDER,BF,CIR_4_TOP,CIR_4_BTM,,
    CIR_4_INT  =FEAT/CIRCLE,CARTESIAN,OUT,NO
                THEO/<0+0,0+0,-1.2+0>,<0+0,0+0,-1+0>,11.057
                ACTL/<0.006,0.021,-1.195>,<0.0026757,0.0072054,-0.9999705>,11.076
                CONSTR/CIRCLE,INTOF,CYL_4,PLN_DTM_U
    PNT_4_INT  =FEAT/POINT,CARTESIAN,NO
                THEO/<1.654,-21.398,1051.635>,<0,0,-1>
                ACTL/<-15.256,-40.362,5800.159>,<0.0028065,0.0069445,-0.9999719>
                CONSTR/POINT,INT,CYL_4,PLN_DTM_U
ALN_DWG    =ALIGNMENT/START,RECALL:aln_lvl_zplus_3,LIST=YES
            ALIGNMENT/LEVEL,ZPLUS,PLN_DTM_U
            ALIGNMENT/ROTATE_CIRCLE,YPLUS,TO,CIR_3_INT,AND,CIR_4_INT,ABOUT,ZPLUS
            ALIGNMENT/TRANS,XAXIS,CIR_4_INT
            ALIGNMENT/TRANS,YAXIS,CIR_4_INT
            ALIGNMENT/TRANS,ZAXIS,PLN_DTM_U
            ALIGNMENT/END

Attached Files