hexagon logo

measuring a countersink

Good evening Pcdmis masters, I`m fairly new to Pcdmis, and i would love to get some help , I am trying to measure a Countersink Dia at the intersection of the top surface on this part, the available area is very limited and the thread leads are not clocked to the model to get an auto cone reading accurately, is there any method i can use to first identify the rotation of the the double lead thread and then construct a cone avoiding the thread lead`s in order to get an accurate reading? any tips will be appreciated ,thanks in advance
Parents
  • The dimension depends on the blue print.
    The top diameter can be created by a generic circle :
    ASSIGN/DIST1=DOT(PT1.XYZ-PL1.XYZ,PL1.IJK)....................distance between the centerball of PT1 and the top plane
    ASSIGN/ANGLE_AXIS=ACOS(DOT(UNIT(PT2.XYZ-PT1.XYZ,PL1.IJK)))......................angle between cone axis and top plane vector
    ASSIGN/CENTER=PT1.XYZ+(DIST1/COS(ANGLE_AXIS))*UNIT(PT2.XYZ-PT1.XYZ)......................if CENTER.Z is not zero, there's a problem !!!!!
    ASSIGN/VECT=UNIT(PT2.XYZ-PT1.XYZ)
    CS_X34.5 =GENERIC/CIRCLE,DEPENDENT,CARTESIAN,OUT,$
    NOM/XYZ,<CENTER.X,CENTER.Y,CENTER.Z>,$
    MEAS/XYZ,<CENTER.X,CENTER.Y,CENTER.Z>,$
    NOM/IJK,<0,0,1>,$
    MEAS/IJK,<VECT.I,VECT.J,VECT.K>,$
    RADIUS/(-B/A),(-B/A)


    Creating a cone is also possible, I'm not at the cmm to check...
    I think the XYZ values are the vertex coordinates
    ASSIGN/DIST2=B-DIST1
    ASSIGN/VERTEX=PT1.XYZ+(DIST2/COS(ANGLE_AXIS))*UNIT(PT2.XYZ-PT1.XYZ)......with DIST2 should be negative...

    The cone angle (half value is V3)​
    The length of the cone depends on the diameter of the threaded hole
  • ASSIGN/ANGLE_AXIS=ACOS(DOT(UNIT(PT2.XYZ-PT1.XYZ,PL1.IJK))) i must have a syntax error on this line, is highlighted red, also my center .z is .00009 , is that enough to worry? most of the assignments are returning 0 values working offline but on a program that already ran online is that normal?,thanks in advance , you are keeping me awake the entire weekend , user like you make this forum a really valuable and unlimited learning source, thanks for sharing.
Reply
  • ASSIGN/ANGLE_AXIS=ACOS(DOT(UNIT(PT2.XYZ-PT1.XYZ,PL1.IJK))) i must have a syntax error on this line, is highlighted red, also my center .z is .00009 , is that enough to worry? most of the assignments are returning 0 values working offline but on a program that already ran online is that normal?,thanks in advance , you are keeping me awake the entire weekend , user like you make this forum a really valuable and unlimited learning source, thanks for sharing.
Children
No Data