Manual align to dcc not working

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

  • Manual align to dcc not working

    Hello,
    After performing my manual align and going to DCC mode, it goes to take the first hit and it is nowhere near where I programmed it to be. I do not understand the disconnect.
    Before missing that 1st point it also ignores my move to clear plane and move point. Just goes to PNT_A1 and misses bad.

    Please advise.


    STARTUP =ALIGNMENT/START,RECALL:USE_PART_SETUP,LIST=YES
    ALIGNMENT/END
    MODE/MANUAL
    MOVESPEED/ 100
    TOUCHSPEED/ 5
    MANRETRACT/0.1
    FORMAT/TEXT,OPTIONS, ,HEADINGS,SYMBOLS, ;MEAS,NOM,TOL,DEV,OUTTOL, ,
    TEMPCOMP/METHOD = AUTOMATIC,MATERIAL = Aluminium,CTE=23
    ,SET WARNING LIMIT = TRUE,MINIMUM = 18,MAXIMUM = 22
    ,PART SENSOR NUM=DEFAULT,X SCALE= 21.16971,Y SCALE= 20.89116,Z SCALE= 21.27795,PART TEMP=21.25733
    LOADPROBE/1_5X20
    TIP/T1A90B-90, SHANKIJK=1, 0, 0, ANGLE=-90
    WORKPLANE/XPLUS
    ROUGH_ALIGN=GROUP/SHOWALLPARAMS=YES
    PNT1 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<0,-7.07215,8.39588>,<1,0,0>
    ACTL/<374.42221,293.87523,-623.39151>,<0.995991,-0.0391065,-0.0804521>
    TARG/<0,-7.07215,8.39588>,<1,0,0>
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=NO,DISTANCE=10
    SHOW HITS=NO
    PNT2 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<0,7.38453,7.70848>,<1,0,0>
    ACTL/<374.16016,308.79828,-623.38878>,<0.995503,-0.0431848,-0.0843144>
    TARG/<0,7.38453,7.70848>,<1,0,0>
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=NO,DISTANCE=10
    SHOW HITS=NO
    PNT3 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<0,0.03952,-5.70117>,<1,0,0>
    ACTL/<374.25977,300.99566,-637.5842>,<0.9954177,-0.0352639,-0.088882>
    TARG/<0,0.03952,-5.70117>,<1,0,0>
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=NO,DISTANCE=10
    SHOW HITS=NO
    PLN1 =FEAT/PLANE,CARTESIAN,OUTLINE,NO,LEAST_SQR
    THEO/<0,0.1173,3.46773>,<1,0,0>
    ACTL/<374.27756,301.18048,-628.18292>,<0.9998419,0.0175858,-0.0026467>
    CONSTR/PLANE,BFRE,PNT1,PNT2,PNT3,,
    OUTLIER_REMOVAL/OFF,3
    FILTER/OFF,WAVELENGTH=0
    CIR1 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,OUT,LEAST_SQR
    THEO/<-5.6778,0,0>,<1,0,0>,38.075,0
    ACTL/<-5.6778,300.81198,-631.80207>,<1,0,0>,38.08515,0
    TARG/<-5.6778,0,0>,<1,0,0>
    START ANG=-75,END ANG=73
    ANGLE VEC=<0,0,-1>
    DIRECTION=CW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    NUMHITS=3,DEPTH=-4,PITCH=0
    SAMPLE METHOD=SAMPLE_HITS
    SAMPLE HITS=0,SPACER=0
    AVOIDANCE MOVE=NO,DISTANCE=10
    FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
    SHOW HITS=NO
    CIR2 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
    THEO/<-10,7.27461,-4.2>,<1,0,0>,3.168
    ACTL/<-10,307.78289,-636.27803>,<1,0,0>,3.14937
    TARG/<-10,7.27461,-4.2>,<1,0,0>
    START ANG=0,END ANG=360
    ANGLE VEC=<0,0,-1>
    DIRECTION=CW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    NUMHITS=3,DEPTH=1,PITCH=0
    SAMPLE METHOD=SAMPLE_HITS
    SAMPLE HITS=0,SPACER=0
    AVOIDANCE MOVE=NO,DISTANCE=10
    FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
    SHOW HITS=NO
    ENDGROUP/ID=ROUGH_ALIGN
    A1 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
    ALIGNMENT/LEVEL,XPLUS,PLN1
    ALIGNMENT/TRANS,XAXIS,PLN1
    ALIGNMENT/TRANS,YAXIS,CIR1
    ALIGNMENT/TRANS,ZAXIS,CIR1
    ALIGNMENT/ROTATE_CIRCLE,YPLUS,TO,CIR1,AND,CIR2,ABOUT,XPLUS
    ALIGNMENT/ROTATE_OFFSET,30,ABOUT,XPLUS
    ALIGNMENT/END
    MODE/DCC
    WORKPLANE/XPLUS
    CLEARP/XPLUS,10,XPLUS,0,ON
    MOVE/POINT,NORMAL,<10,-19.59873,-4.60102>
    DATUM_ALIGN=GROUP/SHOWALLPARAMS=YES
    MOVE/CLEARPLANE
    PNT_A1 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<-11.85,-19.59873,-4.60103>,<1,0,0>
    ACTL/<-11.85,-19.59873,-4.60103>,<1,0,0>
    TARG/<-11.85,-19.59873,-4.60103>,<1,0,0>
    SNAP=NO
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=NO,DISTANCE=10
    SHOW HITS=NO
    MOVE/CLEARPLANE
    PNT_A2 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<-11.85,-17.64739,9.862>,<1,0,0>
    ACTL/<-393.36204,-345.88214,627.19325>,<0.9998419,-0.0176842,0.0018796>
    TARG/<-11.85,-17.64739,9.862>,<1,0,0>
    SNAP=NO
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=NO,DISTANCE=10
    SHOW HITS=NO
    MOVE/CLEARPLANE
    PNT_A3 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<-11.85,-0.48658,20.13464>,<1,0,0>
    ACTL/<-393.08744,-329.1866,638.20252>,<0.9998419,-0.0176842,0.0018796>
    TARG/<-11.85,-0.48658,20.13464>,<1,0,0>
    SNAP=NO
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=NO,DISTANCE=10
    SHOW HITS=NO
    MOVE/CLEARPLANE
    PNT_A4 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<-11.85,16.3216,11.64244>,<1,0,0>
    ACTL/<-392.76938,-312.02791,630.44942>,<0.9998419,-0.0176842,0.0018796>
    TARG/<-11.85,16.3216,11.64244>,<1,0,0>
    SNAP=NO
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=NO,DISTANCE=10
    SHOW HITS=NO
    MOVE/CLEARPLANE
    PNT_A5 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<-11.85,19.99159,1.03853>,<1,0,0>
    ACTL/<-392.67677,-307.90118,620.01519>,<0.9998419,-0.0176842,0.0018796>
    TARG/<-11.85,19.99159,1.03853>,<1,0,0>
    SNAP=NO
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=NO,DISTANCE=10
    SHOW HITS=NO
    MOVE/CLEARPLANE
    PNT_A6 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<-11.85,18.46246,-7.7987>,<1,0,0>
    ACTL/<-392.68027,-309.04462,611.11983>,<0.9998419,-0.0176842,0.0018796>
    TARG/<-11.85,18.46246,-7.7987>,<1,0,0>
    SNAP=NO
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=NO,DISTANCE=10
    SHOW HITS=NO
    PLN_A =FEAT/PLANE,CARTESIAN,OUTLINE,NO,LEAST_SQR
    THEO/<-11.85,2.84049,5.04631>,<1,0,0>
    ACTL/<-329.27424,-270.71629,519.96471>,<0.8261983,0.1110769,0.552320 7>
    CONSTR/PLANE,BFRE,PNT_A1,PNT_A6,PNT_A5,PNT_A4,PNT_A3,PNT_ A2,,
    OUTLIER_REMOVAL/OFF,3
    FILTER/OFF,WAVELENGTH=0
    MOVE/CLEARPLANE
    CYL_B =FEAT/CONTACT/CYLINDER/DEFAULT,CARTESIAN,OUT,LEAST_SQR
    THEO/<-11.6,0,0>,<1,0,0>,38.075,4.9222
    ACTL/<-392.77563,-327.83005,618.10861>,<0.9998419,-0.0176842,0.0018796>,38.075,4.9222
    TARG/<-11.6,0,0>,<1,0,0>
    START ANG=67,END ANG=292
    ANGLE VEC=<0,0,-1>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    NUMHITS=5,NUMLEVELS=2,DEPTH=1.5,END OFFSET=1.5,PITCH=0
    SAMPLE METHOD=SAMPLE_HITS
    SAMPLE HITS=0,SPACER=0
    AVOIDANCE MOVE=NO,DISTANCE=10
    FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
    SHOW HITS=NO
    MOVE/CLEARPLANE
    CIR_C =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
    THEO/<-10,7.27461,-4.2>,<1,0,0>,3.168
    ACTL/<-391.03684,-320.40924,614.232>,<0.9998419,-0.0176842,0.0018796>,3.168
    TARG/<-10,7.27461,-4.2>,<1,0,0>
    START ANG=0,END ANG=360
    ANGLE VEC=<0,0,-1>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    NUMHITS=5,DEPTH=1,PITCH=0
    SAMPLE METHOD=SAMPLE_HITS
    SAMPLE HITS=0,SPACER=0
    AVOIDANCE MOVE=AFTER,DISTANCE=5
    FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
    SHOW HITS=NO
    ENDGROUP/ID=DATUM_ALIGN
    DATUM_ABC =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
    ALIGNMENT/LEVEL,XPLUS,PLN_A
    ALIGNMENT/TRANS,XAXIS,PLN_A
    ALIGNMENT/TRANS,YAXIS,CYL_B
    ALIGNMENT/TRANS,ZAXIS,CYL_B
    ALIGNMENT/ROTATE_CIRCLE,YPLUS,TO,CYL_B,AND,CIR_C,ABOUT,XPLUS
    ALIGNMENT/ROTATE_OFFSET,30,ABOUT,XPLUS
    ALIGNMENT/END
    DATDEF/FEATURE=PLN_A,A
    DATDEF/FEATURE=CYL_B,B
    DATDEF/FEATURE=CIR_C,C

  • #2
    Do you have a cad model? If so, here's the easiest way to start using the CMM with CAD. delete that or start a new routine.
    load your probe/probe angle you need.
    load your CAD model.
    press CTL+F4 to turn on "Program Mode".
    now. click on the first point -virtually on the cad model, on the screen.
    Is the probe in the correct orientation, related to how the part will be fixture onto the table?
    --If not, press F5, click on part/machine tab and correct until it does match.
    Now, you have your probe looking how it should when taking your first hits on the part, in the virtual cad view.
    set the current workplane as you did in the code above.
    now still in CTL+F4 program mode, click on your A plane virtually on the CAD model 3 times. Press "END" key on keyboard. you created a plane.

    CTL+ALT+A LEVEL and origin X to the new plane.

    do the same for your CYL B (5 hits min) and CIR C (3 hits min).
    Construct a 2d line from CYL B to CIR C, call it manrotate or something like that.

    then CTL+ALT+A again.
    Level X to plane A again,
    Rotate YPLLUS to manrotate about Xplus
    Origin X to plane A
    Origin Y to CYL_B
    Origin Z to CYL_B
    Now rotate your 30 degree offset as you apparently need.

    type in mode/dcc
    establish a clearance plane or initial movepoint/increment whathaveyou...

    Save. Execute. Manually probe the part with your jogbox in exactly the same way you just did virtually on your CAD model.
    Cad = Part, you can program anything you want from there. typically autofeatures are ideal from this point on, as they mitigate any vector error induced when you probe constructed points manually using jogbox.

    Comment


    • #3
      Originally posted by TacoJones95 View Post
      Hello,
      After performing my manual align and going to DCC mode, it goes to take the first hit and it is nowhere near where I programmed it to be. I do not understand the disconnect.
      Before missing that 1st point it also ignores my move to clear plane and move point. Just goes to PNT_A1 and misses bad.

      Please advise.

      I added code tags for readability.

      I think looking at the things I have changed to red text points to where things go horribly wrong.

      When the actuals come out so different than the theoreticals it's bad juju. Something is quite wrong from manual PNT1 onward.

      I do not think your alignment method for the manual is the best. I prefer to level, rotate, then set origins. Rotating after setting origin can sometimes cause issues.

      There are a lot of other fundamental best practice things I could point out but I don't want to distract you from solving your immediate problem.

      I recommend requalifying the probe then I would try recreating the manual hits and alignment from scratch and see if the theos continue to differ from the actuals before proceeding to DCC mode.

      HTH (Hope This Helps)



      Code:
      STARTUP =ALIGNMENT/START,RECALL:USE_PART_SETUP,LIST=YES
      ALIGNMENT/END
      MODE/MANUAL
      MOVESPEED/ 100
      TOUCHSPEED/ 5
      MANRETRACT/0.1
      FORMAT/TEXT,OPTIONS, ,HEADINGS,SYMBOLS, ;MEAS,NOM,TOL,DEV,OUTTOL, ,
      TEMPCOMP/METHOD = AUTOMATIC,MATERIAL = Aluminium,CTE=23
      ,SET WARNING LIMIT = TRUE,MINIMUM = 18,MAXIMUM = 22
      ,PART SENSOR NUM=DEFAULT,X SCALE= 21.16971,Y SCALE= 20.89116,Z SCALE= 21.27795,PART TEMP=21.25733
      LOADPROBE/1_5X20
      TIP/T1A90B-90, SHANKIJK=1, 0, 0, ANGLE=-90
      WORKPLANE/XPLUS
      ROUGH_ALIGN=GROUP/SHOWALLPARAMS=YES
      PNT1 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
      THEO/<0,-7.07215,8.39588>,<1,0,0>
      ACTL/<374.42221,293.87523,-623.39151>,<0.995991,-0.0391065,-0.0804521>
      TARG/<0,-7.07215,8.39588>,<1,0,0>
      SHOW FEATURE PARAMETERS=NO
      SHOW CONTACT PARAMETERS=YES
      AVOIDANCE MOVE=NO,DISTANCE=10
      SHOW HITS=NO
      PNT2 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
      THEO/<0,7.38453,7.70848>,<1,0,0>
      ACTL/<374.16016,308.79828,-623.38878>,<0.995503,-0.0431848,-0.0843144>
      TARG/<0,7.38453,7.70848>,<1,0,0>
      SHOW FEATURE PARAMETERS=NO
      SHOW CONTACT PARAMETERS=YES
      AVOIDANCE MOVE=NO,DISTANCE=10
      SHOW HITS=NO
      PNT3 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
      THEO/<0,0.03952,-5.70117>,<1,0,0>
      ACTL/<374.25977,300.99566,-637.5842>,<0.9954177,-0.0352639,-0.088882>
      TARG/<0,0.03952,-5.70117>,<1,0,0>
      SHOW FEATURE PARAMETERS=NO
      SHOW CONTACT PARAMETERS=YES
      AVOIDANCE MOVE=NO,DISTANCE=10
      SHOW HITS=NO
      PLN1 =FEAT/PLANE,CARTESIAN,OUTLINE,NO,LEAST_SQR
      THEO/<0,0.1173,3.46773>,<1,0,0>
      ACTL/<374.27756,301.18048,-628.18292>,<0.9998419,0.0175858,-0.0026467>
      CONSTR/PLANE,BFRE,PNT1,PNT2,PNT3,,
      OUTLIER_REMOVAL/OFF,3
      FILTER/OFF,WAVELENGTH=0
      CIR1 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,OUT,LEAST_SQR
      THEO/<-5.6778,0,0>,<1,0,0>,38.075,0
      ACTL/<-5.6778,300.81198,-631.80207>,<1,0,0>,38.08515,0
      TARG/<-5.6778,0,0>,<1,0,0>
      START ANG=-75,END ANG=73
      ANGLE VEC=<0,0,-1>
      DIRECTION=CW
      SHOW FEATURE PARAMETERS=NO
      SHOW CONTACT PARAMETERS=YES
      NUMHITS=3,DEPTH=-4,PITCH=0
      SAMPLE METHOD=SAMPLE_HITS
      SAMPLE HITS=0,SPACER=0
      AVOIDANCE MOVE=NO,DISTANCE=10
      FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
      SHOW HITS=NO
      CIR2 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
      THEO/<-10,7.27461,-4.2>,<1,0,0>,3.168
      ACTL/<-10,307.78289,-636.27803>,<1,0,0>,3.14937
      TARG/<-10,7.27461,-4.2>,<1,0,0>
      START ANG=0,END ANG=360
      ANGLE VEC=<0,0,-1>
      DIRECTION=CW
      SHOW FEATURE PARAMETERS=NO
      SHOW CONTACT PARAMETERS=YES
      NUMHITS=3,DEPTH=1,PITCH=0
      SAMPLE METHOD=SAMPLE_HITS
      SAMPLE HITS=0,SPACER=0
      AVOIDANCE MOVE=NO,DISTANCE=10
      FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
      SHOW HITS=NO
      ENDGROUP/ID=ROUGH_ALIGN
      A1 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
      ALIGNMENT/LEVEL,XPLUS,PLN1
      ALIGNMENT/TRANS,XAXIS,PLN1
      ALIGNMENT/TRANS,YAXIS,CIR1
      ALIGNMENT/TRANS,ZAXIS,CIR1
      ALIGNMENT/ROTATE_CIRCLE,YPLUS,TO,CIR1,AND,CIR2,ABOUT,XPLUS
      ALIGNMENT/ROTATE_OFFSET,30,ABOUT,XPLUS
      ALIGNMENT/END
      MODE/DCC
      WORKPLANE/XPLUS
      CLEARP/XPLUS,10,XPLUS,0,ON
      MOVE/POINT,NORMAL,<10,-19.59873,-4.60102>
      DATUM_ALIGN=GROUP/SHOWALLPARAMS=YES
      MOVE/CLEARPLANE
      PNT_A1 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
      THEO/<-11.85,-19.59873,-4.60103>,<1,0,0>
      ACTL/<-11.85,-19.59873,-4.60103>,<1,0,0>
      TARG/<-11.85,-19.59873,-4.60103>,<1,0,0>
      SNAP=NO
      SHOW FEATURE PARAMETERS=NO
      SHOW CONTACT PARAMETERS=YES
      AVOIDANCE MOVE=NO,DISTANCE=10
      SHOW HITS=NO
      MOVE/CLEARPLANE
      PNT_A2 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
      THEO/<-11.85,-17.64739,9.862>,<1,0,0>
      ACTL/<-393.36204,-345.88214,627.19325>,<0.9998419,-0.0176842,0.0018796>
      TARG/<-11.85,-17.64739,9.862>,<1,0,0>
      SNAP=NO
      SHOW FEATURE PARAMETERS=NO
      SHOW CONTACT PARAMETERS=YES
      AVOIDANCE MOVE=NO,DISTANCE=10
      SHOW HITS=NO
      MOVE/CLEARPLANE
      PNT_A3 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
      THEO/<-11.85,-0.48658,20.13464>,<1,0,0>
      ACTL/<-393.08744,-329.1866,638.20252>,<0.9998419,-0.0176842,0.0018796>
      TARG/<-11.85,-0.48658,20.13464>,<1,0,0>
      SNAP=NO
      SHOW FEATURE PARAMETERS=NO
      SHOW CONTACT PARAMETERS=YES
      AVOIDANCE MOVE=NO,DISTANCE=10
      SHOW HITS=NO
      MOVE/CLEARPLANE
      PNT_A4 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
      THEO/<-11.85,16.3216,11.64244>,<1,0,0>
      ACTL/<-392.76938,-312.02791,630.44942>,<0.9998419,-0.0176842,0.0018796>
      TARG/<-11.85,16.3216,11.64244>,<1,0,0>
      SNAP=NO
      SHOW FEATURE PARAMETERS=NO
      SHOW CONTACT PARAMETERS=YES
      AVOIDANCE MOVE=NO,DISTANCE=10
      SHOW HITS=NO
      MOVE/CLEARPLANE
      PNT_A5 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
      THEO/<-11.85,19.99159,1.03853>,<1,0,0>
      ACTL/<-392.67677,-307.90118,620.01519>,<0.9998419,-0.0176842,0.0018796>
      TARG/<-11.85,19.99159,1.03853>,<1,0,0>
      SNAP=NO
      SHOW FEATURE PARAMETERS=NO
      SHOW CONTACT PARAMETERS=YES
      AVOIDANCE MOVE=NO,DISTANCE=10
      SHOW HITS=NO
      MOVE/CLEARPLANE
      PNT_A6 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
      THEO/<-11.85,18.46246,-7.7987>,<1,0,0>
      ACTL/<-392.68027,-309.04462,611.11983>,<0.9998419,-0.0176842,0.0018796>
      TARG/<-11.85,18.46246,-7.7987>,<1,0,0>
      SNAP=NO
      SHOW FEATURE PARAMETERS=NO
      SHOW CONTACT PARAMETERS=YES
      AVOIDANCE MOVE=NO,DISTANCE=10
      SHOW HITS=NO
      PLN_A =FEAT/PLANE,CARTESIAN,OUTLINE,NO,LEAST_SQR
      THEO/<-11.85,2.84049,5.04631>,<1,0,0>
      ACTL/<-329.27424,-270.71629,519.96471>,<0.8261983,0.1110769,0.5523207>
      CONSTR/PLANE,BFRE,PNT_A1,PNT_A6,PNT_A5,PNT_A4,PNT_A3,PNT_A2,,
      OUTLIER_REMOVAL/OFF,3
      FILTER/OFF,WAVELENGTH=0
      MOVE/CLEARPLANE
      CYL_B =FEAT/CONTACT/CYLINDER/DEFAULT,CARTESIAN,OUT,LEAST_SQR
      THEO/<-11.6,0,0>,<1,0,0>,38.075,4.9222
      ACTL/<-392.77563,-327.83005,618.10861>,<0.9998419,-0.0176842,0.0018796>,38.075,4.9222
      TARG/<-11.6,0,0>,<1,0,0>
      START ANG=67,END ANG=292
      ANGLE VEC=<0,0,-1>
      DIRECTION=CCW
      SHOW FEATURE PARAMETERS=NO
      SHOW CONTACT PARAMETERS=YES
      NUMHITS=5,NUMLEVELS=2,DEPTH=1.5,END OFFSET=1.5,PITCH=0
      SAMPLE METHOD=SAMPLE_HITS
      SAMPLE HITS=0,SPACER=0
      AVOIDANCE MOVE=NO,DISTANCE=10
      FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
      SHOW HITS=NO
      MOVE/CLEARPLANE
      CIR_C =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
      THEO/<-10,7.27461,-4.2>,<1,0,0>,3.168
      ACTL/<-391.03684,-320.40924,614.232>,<0.9998419,-0.0176842,0.0018796>,3.168
      TARG/<-10,7.27461,-4.2>,<1,0,0>
      START ANG=0,END ANG=360
      ANGLE VEC=<0,0,-1>
      DIRECTION=CCW
      SHOW FEATURE PARAMETERS=NO
      SHOW CONTACT PARAMETERS=YES
      NUMHITS=5,DEPTH=1,PITCH=0
      SAMPLE METHOD=SAMPLE_HITS
      SAMPLE HITS=0,SPACER=0
      AVOIDANCE MOVE=AFTER,DISTANCE=5
      FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
      SHOW HITS=NO
      ENDGROUP/ID=DATUM_ALIGN
      DATUM_ABC =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
      ALIGNMENT/LEVEL,XPLUS,PLN_A
      ALIGNMENT/TRANS,XAXIS,PLN_A
      ALIGNMENT/TRANS,YAXIS,CYL_B
      ALIGNMENT/TRANS,ZAXIS,CYL_B
      ALIGNMENT/ROTATE_CIRCLE,YPLUS,TO,CYL_B,AND,CIR_C,ABOUT,XPLUS
      ALIGNMENT/ROTATE_OFFSET,30,ABOUT,XPLUS
      ALIGNMENT/END
      DATDEF/FEATURE=PLN_A,A
      DATDEF/FEATURE=CYL_B,B
      DATDEF/FEATURE=CIR_C,C

      sigpic"Hated by Many, Loved by Few" _ A.B. - Stone brewery

      Comment


      • louisd
        louisd commented
        Editing a comment
        Personally, I was more concerned with this one, since it is the only feature that has Theo's and actuals matching, lol.
        Code:
        PNT_A1 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
        THEO/<-11.85,-19.59873,-4.60103>,<1,0,0>
        ACTL/<-11.85,-19.59873,-4.60103>,<1,0,0>

      • AndersI
        AndersI commented
        Editing a comment
        Ditto! It looks like this Point has not been measured in this run of the program - could it have been marked as "don't execute"?

    • #4
      In addition to the previous suggestions, I would point out in your manual alignment:

      Code:
      A1 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
      ALIGNMENT/LEVEL,XPLUS,PLN1
      ALIGNMENT/TRANS,XAXIS,PLN1
      ALIGNMENT/TRANS,YAXIS,CIR1
      ALIGNMENT/TRANS,ZAXIS,CIR1
      ALIGNMENT/ROTATE_CIRCLE,YPLUS,TO,CIR1,AND,CIR2,ABOUT,XPLUS
      ALIGNMENT/ROTATE_OFFSET,30,ABOUT,XPLUS
      ALIGNMENT/END
      If you do not ROTATE immediately after LEVEL, it is a pretty good chance everything that follows after the alignment will be jaspered -up.
      Uh.... I just realized Wes has already pointed out the Level|Translate|Rotate sequence is not nice, but figured it is important enough that I'll second the advice!

      Comment

      Related Topics

      Collapse

      Working...
      X