Features Not Sticking To Cad Model During DCC Alignment

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Features Not Sticking To Cad Model During DCC Alignment

    I extracted the CAD file, transformed the part to how it actually is sitting on the CMM, selected program mode and used the mouse to take hits on the top surface of the part to create a plane (z+), took hits on the I.D of part to create a circle (x&y - Datum B) and used the vision/camera capability on our Optiv 322 machine - (could not select program mode to create this feature - I’m assuming it’s because it’s using optics - however I did selected 2 lines - parallel to each other - on the CAD- vector lines are both Y-) to create a MidLine to construct Datum C.

    I then did the same thing for the DCC Alignment (the only difference is that the plane (Z) is now on a lower feature which is my actual datum (A) [the plane used during manual alignment,was to take the hits easier/faster] and Datum B was then constructed as a cylinder.




    My issues that I am currently having is:

    During the DCC alignment, the lines I used to create Datum C (midline) are not close to where my manual hits were. Basically the hits I did during manual are not sticking to the CAD model, which in turn is affecting the DCC alignment even though the rotate feature is aligned to Y-.

    I’m having the same issue with an angularity dimension which has to do with one of those widths (midline constructions)

    All (3 other widths) that have an angularity dimensions are good, just that specific one is completely off.


    Please let me know if you might have came across this!
    Any help is appreciated!
    Thank you all in advance.

  • #2
    Did you execute the manual alignment? Is your vision and tactile probes linked together via calibration?

    Post some code.
    Last edited by bfire85; 05-28-2020, 10:07 PM.

    Comment


    • #3
      Yes, i already executed the manual alignment. Vision & Tactile have been linked via calibration (Probe-offset).

      *Update i removed the mid-line and constructed a width instead, the actual part lines are actually sticking tothe CAD lines/model (for the most part), However, the angularity issue still remains -now it's for all of them.... i decided to delete them all (all the angularity dimensions and its constrictions) and start over - just to re-clarify and/or possibly resurface any details i left out...
      Lines 3-4 are on there for evaluation purposes only, so some item features might be throwing it out of sync per-say, however i only constructed 2 widths prior to completing all 4, just in case i find a solution on here.

      Thanks in advance!

      Anyways... heres the code:

      Comment


      • #4
        STARTUP =ALIGNMENT/START,RECALL:USE_PART_SETUP,LIST=YES
        ALIGNMENT/END
        MODE/MANUAL
        MOVESPEED/ 50
        TOUCHSPEED/ 3
        MANRETRACT/0.005
        FLY/ON
        FORMAT/TEXT,OPTIONS, ,HEADINGS,SYMBOLS, ;NOM,TOL,MEAS,DEV,OUTTOL, ,
        TEMPCOMP/METHOD = AUTOMATIC,MATERIAL = PVC,CTE=52
        ,SET WARNING LIMIT = TRUE,MINIMUM = 64.4,MAXIMUM = 76.6
        ,PART SENSOR NUM=DEFAULT,X SCALE= 74.078409,Y SCALE= 70.781299,Z SCALE= 72.511383,PART TEMP=70.244137
        LOADPROBE/1X21_5STAR
        TIP/TIP1, SHANKIJK=0, 0, 1, ANGLE=0

        PLN1 =FEAT/PLANE,CARTESIAN,TRIANGLE
        THEO/<0.029699,-0.218536,0.065>,<0,0,1>
        ACTL/<1.467157,0.61888,-6.833253>,<-0.0013494,0.0023954,0.9999962>
        MEAS/PLANE,3
        HIT/BASIC,NORMAL,<-0.967883,0.022412,0.065>,<0,0,1>,<0.481027,0.86509 ,-6.835174>,USE THEO=YES
        HIT/BASIC,NORMAL,<0.937309,0.228663,0.065>,<0,0,1>,<2. 409906,0.94259,-6.832757>,USE THEO=YES
        HIT/BASIC,NORMAL,<0.119671,-0.906683,0.065>,<0,0,1>,<1.510538,0.04896,-6.83183>,USE THEO=YES
        ENDMEAS/

        A1 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
        ALIGNMENT/LEVEL,ZPLUS,PLN1
        ALIGNMENT/TRANS,ZAXIS,PLN1
        ALIGNMENT/END

        CIR1_ =FEAT/CIRCLE,CARTESIAN,IN,LEAST_SQR
        THEO/<0,0,-0.032676>,<0,0,1>,1.71
        ACTL/<1.412981,1.015589,-0.033058>,<0,0,1>,1.711813
        MEAS/CIRCLE,4,ZPLUS
        HIT/BASIC,NORMAL,<-0.8532,0.055458,-0.042681>,<0.9978942,-0.0648632,0>,<0.559677,0.948325,-0.035093>,USE THEO=YES
        HIT/BASIC,NORMAL,<0.849868,0.093537,-0.025379>,<-0.9939978,-0.1093999,0>,<2.248576,1.201146,-0.03682>,USE THEO=YES
        HIT/BASIC,NORMAL,<0.102837,0.848793,-0.030901>,<-0.1202768,-0.9927404,0>,<1.363345,1.870009,-0.028108>,USE THEO=YES
        HIT/BASIC,NORMAL,<-0.069448,-0.852175,-0.031741>,<0.0812259,0.9966957,0>,<1.41588,0.15972 9,-0.03221>,USE THEO=YES
        ENDMEAS/

        A2 =ALIGNMENT/START,RECALL:A1,LIST=YES
        ALIGNMENT/TRANS,XAXIS,CIR1_
        ALIGNMENT/TRANS,YAXIS,CIR1_
        ALIGNMENT/END

        TIP/TIP3, SHANKIJK=0, -1, 0, ANGLE=0
        LIN1 =FEAT/LINE,CARTESIAN,UNBOUNDED
        THEO/<-0.04,-1.177331,-0.607826>,<0,-1,0>
        ACTL/<-0.013093,-1.185657,-0.616733>,<0.022071,-0.9997564,0>
        MEAS/LINE,2,ZPLUS
        HIT/BASIC,NORMAL,<-0.04,-1.177331,-0.605933>,<1,0,0>,<-0.013093,-1.185657,-0.616633>,USE THEO=YES
        HIT/BASIC,NORMAL,<-0.04,-1.220194,-0.609719>,<1,0,0>,<-0.011945,-1.237623,-0.616834>,USE THEO=YES
        ENDMEAS/

        LIN2 =FEAT/LINE,CARTESIAN,UNBOUNDED
        THEO/<0.04,-1.177906,-0.607447>,<0,-1,0>
        ACTL/<0.067183,-1.175099,-0.616538>,<0.0271204,-0.9996322,0>
        MEAS/LINE,2,ZPLUS
        HIT/BASIC,NORMAL,<0.04,-1.177906,-0.609497>,<-1,0,0>,<0.067183,-1.175099,-0.616504>,USE THEO=YES
        HIT/BASIC,NORMAL,<0.04,-1.217505,-0.605397>,<-1,0,0>,<0.068476,-1.222757,-0.616572>,USE THEO=YES
        ENDMEAS/

        WIDTH4 =FEAT/WIDTH,CARTESIAN,IN,LEAST_SQR,YES
        THEO/<0,-1.198234,-0.607636>,<1,0,0>,0.08
        MEAS/<0.027656,-1.205334,-0.616635>,<0.999703,0.024378,0>,0.080634
        CONSTR/WIDTH,BFRE,LIN1,LIN2

        A3 =ALIGNMENT/START,RECALL:A2,LIST=YES
        ALIGNMENT/ROTATE,XPLUS,TO,WIDTH4,ABOUT,ZPLUS
        ALIGNMENT/END

        MODE/DCC
        LOADPROBE/1X21_5STAR
        TIP/TIP3, SHANKIJK=-0.003295, -0.999992, -0.002363, ANGLE=-0.090573
        PNT1 =FEAT/POINT,CARTESIAN
        THEO/<-0.077478,-1.205667,-0.672945>,<0,0,-1>
        ACTL/<-0.077474,-1.205538,-0.673633>,<0,0,-1>
        MEAS/POINT,1,WORKPLANE
        HIT/BASIC,NORMAL,<-0.077478,-1.205667,-0.672945>,<0,0,-1>,<-0.077474,-1.205538,-0.673633>,USE THEO=YES

        ENDMEAS/
        TIP/TIP4, SHANKIJK=0.998437, -0.05589, -0.000654, ANGLE=0.396885
        MOVE/POINT,NORMAL,<-2.526846,-0.407572,1.455542>

        PNT2 =FEAT/POINT,CARTESIAN
        THEO/<1.180787,-0.28672,-0.672945>,<0,0,-1>
        ACTL/<1.180809,-0.286689,-0.67395>,<0,0,-1>
        MEAS/POINT,1,WORKPLANE
        HIT/BASIC,NORMAL,<1.180787,-0.28672,-0.672945>,<0,0,-1>,<1.180809,-0.286689,-0.67395>,USE THEO=YES
        ENDMEAS/

        TIP/TIP5, SHANKIJK=0.055893, 0.998413, 0.00689, ANGLE=0.037478
        PNT3 =FEAT/POINT,CARTESIAN
        THEO/<0.042327,1.213933,-0.672945>,<0,0,-1>
        ACTL/<0.042207,1.213963,-0.672488>,<0,0,-1>
        MEAS/POINT,1,WORKPLANE
        HIT/BASIC,NORMAL,<0.042327,1.213933,-0.672945>,<0,0,-1>,<0.042207,1.213963,-0.672488>,USE THEO=YES

        ENDMEAS/
        PLNA =FEAT/PLANE,CARTESIAN,TRIANGLE,NO,LEAST_SQR
        THEO/<0.381879,-0.092818,-0.672945>,<0,0,-1>
        ACTL/<0.381864,-0.092768,-0.673357>,<-0.00062,0.000504,-0.9999997>
        CONSTR/PLANE,BFRE,PNT1,PNT2,PNT3,,
        OUTLIER_REMOVAL/OFF,3
        FILTER/OFF,WAVELENGTH=0

        A4 =ALIGNMENT/START,RECALL:A3,LIST=YES
        ALIGNMENT/LEVEL,ZMINUS,PLNA
        ALIGNMENT/TRANS,ZAXIS,PLNA
        ALIGNMENT/END

        LOADPROBE/3X50_VISION
        TIP/TIP1, SHANKIJK=-0.001961, -0.002379, 0.999995, ANGLE=-2.963915
        CYLB =FEAT/CONTACT/CYLINDER/ADAPTIVE_CYLINDER_CONCENTRIC_CIRCLE_SCAN,CARTESIAN ,IN,LEAST_SQR
        THEO/<0,0,0.233945>,<0,0,1>,1.62,1.3175
        ACTL/<-0.003144,0.000001,0.233945>,<-0.0003362,0.0003424,0.9999999>,1.622584,1.3175
        TARG/<0,0,0.233945>,<0,0,1>
        START ANG=0,END ANG=360
        ANGLE VEC=<1,0,0>
        DIRECTION=CCW
        SHOW FEATURE PARAMETERS=NO
        SHOW CONTACT PARAMETERS=NO

        A5 =ALIGNMENT/START,RECALL:A4,LIST=YES
        ALIGNMENT/TRANS,XAXIS,CYLB
        ALIGNMENT/TRANS,YAXIS,CYLB
        ALIGNMENT/END

        LOADPROBE/1X21_5STAR
        TIP/TIP3, SHANKIJK=-0.003295, -0.999993, -0.001765, ANGLE=-0.079783
        PREHIT/0.025
        RETRACT/0.025
        LIN5___ =FEAT/CONTACT/LINE/ADAPTIVE_LINEAR_SCAN,CARTESIAN,UNBOUNDED
        THEO/<-0.04,-1.161732,0.07>,<0,-1,0>,<1,0,0>,<0,0,1>,0.061836
        ACTL/<-0.038436,-1.161766,0.074043>,<0.0004492,-0.9999999,0>,<0.9999994,0.0004492,-0.0010368>,<0.0010368,0.0000005,0.9999995>,0.05909 8
        TARG/<-0.04,-1.161732,0.07>,<0,-1,0>,<1,0,0>,<0,0,1>
        SHOW FEATURE PARAMETERS=NO
        SHOW CONTACT PARAMETERS=NO

        LIN6___ =FEAT/CONTACT/LINE/ADAPTIVE_LINEAR_SCAN,CARTESIAN,UNBOUNDED
        THEO/<0.04,-1.160748,0.07>,<0,-1,0>,<-1,0,0>,<0,0,-1>,0.07068
        ACTL/<0.041956,-1.160713,0.073961>,<0.0007766,-0.9999997,0>,<-0.9999992,-0.0007766,0.0010368>,<-0.0010368,-0.0000008,-0.9999995>,0.065719
        TARG/<0.04,-1.160748,0.07>,<0,-1,0>,<-1,0,0>,<0,0,-1>
        SHOW FEATURE PARAMETERS=NO
        SHOW CONTACT PARAMETERS=NO
        WIDTHC___ =FEAT/WIDTH,CARTESIAN,IN,LEAST_SQR,NO
        THEO/<0.002394,-1.195339,0.070612>,<0.999995,0.003283,0>,0.079775
        MEAS/<0.001761,-1.19254,0.056638>,<1,0.000636,0>,0.080413

        CONSTR/WIDTH,BF,LIN5___,LIN6___
        A6 =ALIGNMENT/START,RECALL:A5,LIST=YES
        ALIGNMENT/ROTATE,XPLUS,TO,WIDTHC___,ABOUT,ZPLUS
        ALIGNMENT/END

        DATDEF/A,FEATURES=PLNA,,
        DATDEF/B,FEATURES=CYLB,,
        DATDEF/C,FEATURES=WIDTHC___,,
        MOVE/POINT,NORMAL,<-0.015248,-1.679306,0.058943>
        MOVE/POINT,NORMAL,<-0.016958,-1.689505,4.194036>

        LOADPROBE/3X50_VISION
        TIP/TIP1, SHANKIJK=-0.000413, -0.002466, 0.999997, ANGLE=-1.444855
        PREHIT/0.1
        RETRACT/0.1
        PLN2 =FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,NONE,LEAST_SQR
        THEO/<0,0,0.673>,<0,0,1>
        ACTL/<0.000061,-0.000064,0.673409>,<-0.0007317,0.0003642,0.9999997>
        TARG/<0,0,0.673>,<0,0,1>
        ANGLE VEC=<0.9999946,-0.0032834,0>,SQUARE
        SHOW FEATURE PARAMETERS=NO
        SHOW CONTACT PARAMETERS=NO

        CYL1_ =FEAT/CONTACT/CYLINDER/ADAPTIVE_CYLINDER_CONCENTRIC_CIRCLE_SCAN,CARTESIAN ,OUT,LEAST_SQR
        THEO/<0,0,0.672945>,<0,0,1>,2.172,-0.559945
        ACTL/<-0.000244,0.000514,0.672945>,<-0.0003176,0.0005448,0.9999998>,2.172954,-0.559945
        TARG/<0,0,0.672945>,<0,0,1>
        START ANG=0,END ANG=360
        ANGLE VEC=<0.9999946,-0.0032834,0>
        DIRECTION=CCW
        SHOW FEATURE PARAMETERS=NO
        SHOW CONTACT PARAMETERS=NO

        LIN3 =FEAT/VISION/LINE/DEFAULT,CARTESIAN,UNBOUNDED
        THEO/<0.977528,-0.61494,0.113>,<0.864379,-0.5028409,0>,<0.5028409,0.864379,0>,<0,0,1>,0.0779 69
        ACTL/<0.981296,-0.609089,0.096246>,<0.8701179,-0.4928436,0>,<0.4928436,0.8701179,0>,<0.0006694,-0.0019241,0.9999979>,0.076953
        TARG/<0.977528,-0.61494,0.113>,<0.864379,-0.5028409,0>,<0.5028409,0.864379,0>,<0,0,1>
        SHOW FEATURE PARAMETERS=NO
        SHOW_VISION_PARAMETERS=NO

        LIN4 =FEAT/VISION/LINE/DEFAULT,CARTESIAN,UNBOUNDED
        THEO/<1.018671,-0.546322,0.112991>,<0.864379,-0.5028409,-0.0000242>,<0.5028405,0.8643782,0.0013266>,<0.0006 694,-0.0019241,0.9999979>,0.073159
        ACTL/<1.018671,-0.546322,0.112991>,<0.864379,-0.5028409,-0.0000242>,<0.5028405,0.8643782,0.0013266>,<0.0006 694,-0.0019241,0.9999979>,0.073159
        TARG/<1.018671,-0.546322,0.112991>,<0.864379,-0.5028409,-0.0000242>,<0.5028405,0.8643782,0.0013266>,<0.0006 694,-0.0019241,0.9999979>
        SHOW FEATURE PARAMETERS=NO
        SHOW_VISION_PARAMETERS=NO

        WIDTH1 =FEAT/WIDTH,CARTESIAN,IN,LEAST_SQR,NO
        THEO/<1.030932,-0.599731,0.112995>,<0.502841,0.864379,0>,0.08
        MEAS/<1.034346,-0.594043,0.050986>,<0.499465,0.866334,0>,0.078485
        CONSTR/WIDTH,BF,LIN3,LIN4
        FCFANGLRTY1 =ANGULARITY : WIDTH1
        FEATCTRLFRAME/SHOWNOMS=YES,SHOWPARAMS=YES,SHOWEXPANDED=YES,
        CADGRAPH=OFF,REPORTGRAPH=OFF,TEXT=OFF,MULT=1000.00 ,ARROWDENSITY=100,OUTPUT=BOTH,UNITS=IN,
        STANDARDTYPE=ASME_Y14_5
        DIMENSION/ANGULARITY,0.003,<MC>,C,<dat>,<dat>
        NOTE/FCFANGLRTY1
        FEATURES/WIDTH1,,
        WIDTH1
        ANGLE:NOM=59.811869

        PREHIT/0.015
        RETRACT/0.015
        LOADPROBE/1X21_5STAR
        TIP/TIP4, SHANKIJK=0.999687, -0.025015, -0.000717, ANGLE=0.110276

        LIN5 =FEAT/CONTACT/LINE/ADAPTIVE_LINEAR_SCAN,CARTESIAN,UNBOUNDED
        THEO/<1.139863,-0.043743,0.082396>,<0.9997746,-0.0032827,-0.0209739>,<0.0032834,0.9999946,0>,<-0.9999946,0.0032834,0>,0.069377
        ACTL/<1.17455,-0.041636,0.080502>,<0.0001889,0.0575312,-0.9983437>,<0.003278,0.9983383,0.0575315>,<-0.9999946,0.0032834,0>,0.001379
        TARG/<1.139863,-0.043743,0.082396>,<0.9997746,-0.0032827,-0.0209739>,<0.0032834,0.9999946,0>,<-0.9999946,0.0032834,0>
        SHOW FEATURE PARAMETERS=NO
        SHOW CONTACT PARAMETERS=NO

        LIN6 =FEAT/CONTACT/LINE/ADAPTIVE_LINEAR_SCAN,CARTESIAN,UNBOUNDED
        THEO/<1.140125,0.036257,0.055333>,<0.9860165,-0.0032375,0.166616>,<-0.0032834,-0.9999946,0>,<-0.9999946,0.0032834,0>,0.080763
        ACTL/<1.17995,0.038586,0.055272>,<0.0000209,0.0063593 ,0 .9999798>,<-0.0032833,-0.9999744,0.0063593>,<-0.9999946,0.0032834,0>,0.013146
        TARG/<1.140125,0.036257,0.055333>,<0.9860165,-0.0032375,0.166616>,<-0.0032834,-0.9999946,0>,<-0.9999946,0.0032834,0>
        SHOW FEATURE PARAMETERS=NO
        SHOW CONTACT PARAMETERS=NO

        WIDTH5 =FEAT/WIDTH,CARTESIAN,IN,LEAST_SQR,NO
        THEO/<1.197753,-0.001561,0.071352>,<0.003036,0.999995,0>,0.07967
        MEAS/<1.19422,-0.001562,0.070973>,<0.00208,0.999998,0>,0.080281
        CONSTR/WIDTH,BF,LIN5,LIN6

        FCFANGLRTY2 =ANGULARITY : WIDTH5
        FEATCTRLFRAME/SHOWNOMS=YES,SHOWPARAMS=YES,SHOWEXPANDED=YES,
        CADGRAPH=OFF,REPORTGRAPH=OFF,TEXT=OFF,MULT=1000.00 ,ARROWDENSITY=100,OUTPUT=BOTH,UNITS=IN,
        STANDARDTYPE=ASME_Y14_5
        SIZE TOLERANCES/1,,0.08,0.003,-0.003
        DIMENSION/ANGULARITY,0.003,<MC>,C,<dat>,<dat>
        NOTE/FCFANGLRTY2
        FEATURES/WIDTH5,,
        WIDTH5
        ANGLE:NOM=90

        Comment


        • #5
          Just a few notes here... having multiple ALIGNMENTS in manual mode does you nothing. I aslo have a tentency to keep it simple, with rotate to a width ? JUst manual check 1 line instead of 2 ? All you are doing is " telling the cmm " where the part is. Extra manual work is just that....Just check your features and create 1 alignment, On your DCC, I will use multiple alignments but all of them a are FULLY DEFINED. DCC MODE check plane, Then I just copy and rename my manual alignment, Change the recall, and change to the DCC plane for level and Z, Then the 2nd feature , again I will copy the previous alignment, Change the recall, and then change the feature name for Rotate and redefine my x-y's ( of course depending on your part that order changes ). When I am done my MAIN DCC ALIGNMENT will redfine ALL of the DCC features in 1 alignment. Probably a little OCD but I admit that.... WHat I did notice on a few of the lines is your vectors don't match the THEO /vs. ACTUALS ? I never use AUTO lines But on 5 and 6 something just doesn't look right. ? I have never done a combo of probing and vision so I dont know if that has anything to do with features not snapping to your model. If all your manual features are done from the model in manual mode, everything should line up ?

          And yeah, I just got an ergonomic keyboard and Imnot going back and fixing errors !!
          Last edited by Schlag; 06-08-2020, 04:40 PM.

          Comment


          • #6
            Thanks for your input Schlag, I'm relativity new to PC-DMIS, so yes there is room for improvement. All the alignment features (Manual & DCC) were done on the model and tactile.
            For the Vision portion, AUTO Features is the only way to construct features... so im forced to use an AUTO line.
            Good luck with your new keyboard!

            Comment


            • Schlag
              Schlag commented
              Editing a comment
              Why do you feel an AUTO line is the only way to do constructions ? For some reason I never like the usage of them and in all my years of programming, I have never used 1. That being said, I do plenty of constructions.

          • #7
            On vision, the only way to construct features (any features - for that matter) is by using AUTO features...
            Last edited by AvivasXYZ; 06-10-2020, 03:31 PM.

            Comment


            • Schlag
              Schlag commented
              Editing a comment
              Thought that was going to have something to do with it.

          Related Topics

          Collapse

          Working...
          X