Iterative Alignment

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

  • Iterative Alignment

    Hi Everyone!

    I am working with a forge part with no datum structure. It is calling for a profile of .120 u .09 to itself. (+.09/-.03).


    My though is that the simplest way to approach this is with an iterative alignment (machine to part), then go to town with auto feature vector points (or would it best to use measure point and why?). And do a best fit alignment of all and only the profile point then dimension it.

    I am working offline. I see the deviations when dimensioning which and should be at zero. So what I am gathering is my alignment needs adjusting?



    Q:
    1. It won’t let me upload a picture it is prompting me this message "Upload failed due to your usergroup's upload quota. This file will require 50.2 KB but you only have 17.1 kb of 1.50 MB remaining". How do fix this so I may upload a snip.
    2. Will I get arcuate results?
    3. How would I double check myself?
    4. What are the cons of using a read-point for an iterative alignment? I love the idea of removing the manual probing completely. But is it and will it be aureate?
    Code:
    READ POINT =FEAT/POINT,CARTESIAN
    THEO/<24.81,-2.56,3.11>,<0,0,1>
    ACTL/<35.41,-19.35,20.98>,<0,0,1>
    READPOINT/
    A1 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
    ALIGNMENT/TRANS,XAXIS,
    ALIGNMENT/TRANS,YAXIS,
    ALIGNMENT/TRANS,ZAXIS,
    ALIGNMENT/TRANS,XAXIS,READ POINT
    ALIGNMENT/TRANS,YAXIS,READ POINT
    ALIGNMENT/TRANS,ZAXIS,READ POINT
    ALIGNMENT/END
    PNT3 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<0.02,0.22,-0.2>,<-0.0756796,-0.7370436,0.6715946>
    ACTL/<0.02,0.22,-0.2>,<-0.0756796,-0.7370436,0.6715946>
    TARG/<0.02,0.22,-0.2>,<-0.0756796,-0.7370436,0.6715946>
    SNAP=NO
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=NO,DISTANCE=0.2
    SHOW HITS=NO
    A2 =ALIGNMENT/START,RECALL:A1,LIST=YES
    ALIGNMENT/TRANS,XAXIS,PNT3
    ALIGNMENT/TRANS,YAXIS,PNT3
    ALIGNMENT/TRANS,ZAXIS,PNT3
    ALIGNMENT/END
    PNT1 =FEAT/POINT,CARTESIAN
    THEO/<-0.1,0.54,0.12>,<-0.1119777,0,0.9937107>
    ACTL/<-0.1,0.54,0.12>,<-0.1119777,0,0.9937107>
    MEAS/POINT,1,WORKPLANE
    HIT/BASIC,NORMAL,<-0.1,0.54,0.12>,<-0.1119777,0,0.9937107>,<-0.1,0.54,0.12>,USE THEO=YES
    ENDMEAS/
    PNT2 =FEAT/POINT,CARTESIAN
    THEO/<-0.79,1.59,0.04>,<-0.1119777,0,0.9937107>
    ACTL/<-0.79,1.59,0.04>,<-0.1119777,0,0.9937107>
    MEAS/POINT,1,WORKPLANE
    HIT/BASIC,NORMAL,<-0.79,1.59,0.04>,<-0.1119777,0,0.9937107>,<-0.79,1.59,0.04>,USE THEO=YES
    ENDMEAS/
    PNT4 =FEAT/POINT,CARTESIAN
    THEO/<-0.46,2.98,0.08>,<-0.1119777,0,0.9937107>
    ACTL/<-0.46,2.98,0.08>,<-0.1119777,0,0.9937107>
    MEAS/POINT,1,WORKPLANE
    HIT/BASIC,NORMAL,<-0.46,2.98,0.08>,<-0.1119777,0,0.9937107>,<-0.46,2.98,0.08>,USE THEO=YES
    ENDMEAS/
    PNT5 =FEAT/POINT,CARTESIAN
    THEO/<-0.92,4.27,0.03>,<-0.1119777,0,0.9937107>
    ACTL/<-0.92,4.27,0.03>,<-0.1119777,0,0.9937107>
    MEAS/POINT,1,WORKPLANE
    HIT/BASIC,NORMAL,<-0.92,4.27,0.03>,<-0.1119777,0,0.9937107>,<-0.92,4.27,0.03>,USE THEO=YES
    ENDMEAS/
    MOVE/POINT,NORMAL,<-0.38,3.02,0.39>
    MOVE/POINT,NORMAL,<-0.08,2.89,0.36>
    MOVE/POINT,NORMAL,<0.17,2.83,0.16>
    PNT6 =FEAT/POINT,CARTESIAN
    THEO/<0.01,2.59,-0.19>,<0.9531094,0.1915064,0.2343242>
    ACTL/<0.01,2.59,-0.19>,<0.9531094,0.1915064,0.2343242>
    MEAS/POINT,1,WORKPLANE
    HIT/BASIC,NORMAL,<0.01,2.59,-0.19>,<0.9531094,0.1915064,0.2343242>,<0.01,2.59,-0.19>,USE THEO=YES
    ENDMEAS/
    PNT7 =FEAT/POINT,CARTESIAN
    THEO/<0.28,0.72,-0.17>,<0.9767192,0.0946515,0.1925116>
    ACTL/<0.28,0.72,-0.17>,<0.9767192,0.0946515,0.1925116>
    MEAS/POINT,1,WORKPLANE
    HIT/BASIC,NORMAL,<0.28,0.72,-0.17>,<0.9767192,0.0946515,0.1925116>,<0.28,0.72,-0.17>,USE THEO=YES
    ENDMEAS/
    MOVE/POINT,NORMAL,<0.61,0.04,-0.19>
    MOVE/POINT,NORMAL,<0.58,-0.13,-0.28>
    MOVE/POINT,NORMAL,<0.5,-0.25,-0.33>
    MOVE/POINT,NORMAL,<0.29,-0.39,-0.42>
    PNT8 =FEAT/POINT,CARTESIAN
    THEO/<0.04,-0.11,-0.46>,<0,-1,0>
    ACTL/<0.04,-0.11,-0.46>,<0,-1,0>
    MEAS/POINT,1,WORKPLANE
    HIT/BASIC,NORMAL,<0.04,-0.11,-0.46>,<0,-1,0>,<0.04,-0.11,-0.46>,USE THEO=YES
    MOVE/POINT,NORMAL,<0.04,-0.4,-0.46>
    ENDMEAS/
    MOVE/POINT,NORMAL,<0.01,-0.37,-0.06>
    MOVE/POINT,NORMAL,<-0.08,-0.16,0.25>
    MOVE/POINT,NORMAL,<-0.04,0.13,0.41>
    A3 =ALIGNMENT/START,RECALL:A2,LIST=YES
    ALIGNMENT/ITERATE
    PNT TARGET RAD=0.05,START LABEL=,FIXTURE TOL=0,ERROR LABEL=
    MEAS ALL FEAT=ALWAYS,MAX ITERATIONS=5,LEVEL AXIS=ZAXIS,ROTATE AXIS=XAXIS,ORIGIN AXIS=YAXIS
    LEVEL=PNT1,PNT2,PNT3,PNT4,,
    ROTATE=PNT5,PNT6,,
    ORIGIN=PNT8,,
    ALIGNMENT/END
    PNT_1 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<-0.21,0.98,0.11>,<-0.1119777,0,0.9937107>
    ACTL/<-0.21,0.98,0.11>,<-0.1119777,0,0.9937107>
    TARG/<-0.21,0.98,0.11>,<-0.1119777,0,0.9937107>
    SNAP=NO
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=NO,DISTANCE=0.2
    SHOW HITS=NO
    MOVE/POINT,NORMAL,<-0.34,0.5,0.38>
    MOVE/POINT,NORMAL,<-0.55,0.4,0.23>
    MOVE/POINT,NORMAL,<-0.64,0.36,0.03>
    PNT_2 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<-0.34,0.28,-0.41>,<-0.9921095,-0.1249404,0.0104189>
    ACTL/<-0.34,0.28,-0.41>,<-0.9921095,-0.1249404,0.0104189>
    TARG/<-0.34,0.28,-0.41>,<-0.9921095,-0.1249404,0.0104189>
    SNAP=NO
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=NO,DISTANCE=0.2
    SHOW HITS=NO
    PNT_3 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<-0.3,0.12,-1.64>,<-0.9302715,-0.3668206,-0.0061264>
    ACTL/<-0.3,0.12,-1.64>,<-0.9302715,-0.3668206,-0.0061264>
    TARG/<-0.3,0.12,-1.64>,<-0.9302715,-0.3668206,-0.0061264>
    SNAP=NO
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=NO,DISTANCE=0.2
    SHOW HITS=NO
    MOVE/POINT,NORMAL,<-0.67,0.33,-1.2>
    MOVE/POINT,NORMAL,<-0.72,0.44,-1.12>
    PNT_4 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<-0.51,0.65,-1.16>,<-0.7020729,-0.6942352,0.1585279>
    ACTL/<-0.51,0.65,-1.16>,<-0.7020729,-0.6942352,0.1585279>
    TARG/<-0.51,0.65,-1.16>,<-0.7020729,-0.6942352,0.1585279>
    SNAP=NO
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=NO,DISTANCE=0.2
    SHOW HITS=NO
    MOVE/POINT,NORMAL,<-1.08,0.51,-1.18>
    MOVE/POINT,NORMAL,<-1.25,0.6,-1.19>
    MOVE/POINT,NORMAL,<-1.4,0.79,-1.25>
    MOVE/POINT,NORMAL,<-1.43,0.92,-1.36>
    PNT_5 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<-1.16,1.04,-1.78>,<-0.9965702,-0.0560934,0.0608383>
    ACTL/<-1.16,1.04,-1.78>,<-0.9965702,-0.0560934,0.0608383>
    TARG/<-1.16,1.04,-1.78>,<-0.9965702,-0.0560934,0.0608383>
    SNAP=NO
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=NO,DISTANCE=0.2
    SHOW HITS=NO
    PNT_6 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<-1.19,1.32,-0.43>,<-0.9986704,-0.0483447,0.0178954>
    ACTL/<-1.19,1.32,-0.43>,<-0.9986704,-0.0483447,0.0178954>
    TARG/<-1.19,1.32,-0.43>,<-0.9986704,-0.0483447,0.0178954>
    SNAP=NO
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=NO,DISTANCE=0.2
    SHOW HITS=NO
    A4 =ALIGNMENT/START,RECALL:A3,LIST=YES
    ALIGNMENT/BF3D,LEAST_SQR,CREATE WEIGHTS=NO,ROTANDTRANS,USE SCALING=NO,0,0,0,0.02,-0.03,0
    ITERATEANDREPIERCECAD=YES,TOLERANCE=1000,MAX ITERATIONS=100
    Deviation Threshold=0.0003937
    SHOWALLINPUTS=NO,SHOWALLPARAMS=NO
    ALIGNMENT/END
    $$ NO,
    [email protected] DIMENSIONS @!
    DISPLAYPRECISION/4
    DIM PRFL_1= LOCATION OF POINT PNT_1 UNITS=IN ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
    AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
    T 0.0000 0.0900 0.0300 -0.0014 -0.0014 0.0000 --#---------
    END OF DIMENSION PRFL_1
    ASSIGN/V1=PRFL_1.T.OUTTOL
    IF/V1<>0
    COMMENT/OPER,NO,FULL SCREEN=YES,AUTO-CONTINUE=NO,
    ! ERROR !
    
    "PROFILE LOC1 IS OUT BY "+V1+""
    
    --- PLEASE CANCEL AND INFORM SUPER/PROGRAMER
    AND DON'T CONTINUE
    
    END_IF/
    DIM PRFL_2= LOCATION OF POINT PNT_2 UNITS=IN ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
    AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
    T 0.0000 0.0900 0.0300 0.0003 0.0003 0.0000 ---#--------
    END OF DIMENSION PRFL_2
    ASSIGN/V2=PRFL_2.T.OUTTOL
    IF/V2<>0
    COMMENT/OPER,NO,FULL SCREEN=YES,AUTO-CONTINUE=NO,
    ! ERROR !
    
    "PROFILE LOC2 IS OUT BY "+V2+""
    
    --- PLEASE CANCEL AND INFORM SUPER/PROGRAMER
    AND DON'T CONTINUE
    
    END_IF/
    DIM PRFL_3= LOCATION OF POINT PNT_3 UNITS=IN ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
    AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
    T 0.0000 0.0900 0.0300 0.0005 0.0005 0.0000 ---#--------
    END OF DIMENSION PRFL_3
    ASSIGN/V3=PRFL_3.T.OUTTOL
    IF/V3<>0
    COMMENT/OPER,NO,FULL SCREEN=YES,AUTO-CONTINUE=NO,
    ! ERROR !
    
    "PROFILE LOC3 IS OUT BY "+V3+""
    
    --- PLEASE CANCEL AND INFORM SUPER/PROGRAMER
    AND DON'T CONTINUE
    
    END_IF/
    DIM PRFL_4= LOCATION OF POINT PNT_4 UNITS=IN ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
    AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
    T 0.0000 0.0900 0.0300 0.0005 0.0005 0.0000 ---#--------
    END OF DIMENSION PRFL_4
    ASSIGN/V4=PRFL_4.T.OUTTOL
    IF/V4<>0
    COMMENT/OPER,NO,FULL SCREEN=YES,AUTO-CONTINUE=NO,
    ! ERROR !
    
    "PROFILE LOC4 IS OUT BY "+V4+""
    
    --- PLEASE CANCEL AND INFORM SUPER/PROGRAMER
    AND DON'T CONTINUE
    
    END_IF/
    DIM LOC5= LOCATION OF POINT PNT_5 UNITS=IN ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
    AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
    T 0.0000 0.0900 0.0300 -0.0002 -0.0002 0.0000 --#---------
    END OF DIMENSION LOC5
    ASSIGN/V5=LOC5.T.OUTTOL
    IF/V5<>0
    COMMENT/OPER,NO,FULL SCREEN=YES,AUTO-CONTINUE=NO,
    ! ERROR !
    
    "PROFILE LOC5 IS OUT BY "+V5+""
    
    --- PLEASE CANCEL AND INFORM SUPER/PROGRAMER
    AND DON'T CONTINUE
    
    END_IF/
    DIM PRFL_6= LOCATION OF POINT PNT_6 UNITS=IN ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
    AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
    T 0.0000 0.0900 0.0300 -0.0002 -0.0002 0.0000 --#---------
    END OF DIMENSION PRFL_6
    ASSIGN/V6=PRFL_6.T.OUTTOL
    IF/V6<>0
    COMMENT/OPER,NO,FULL SCREEN=YES,AUTO-CONTINUE=NO,
    ! ERROR !
    
    "PROFILE LOC6 IS OUT BY "+V6+""
    
    --- PLEASE CANCEL AND INFORM SUPER/PROGRAMER
    AND DON'T CONTINUE
    
    END_IF/

    Thank you for taking the time !!!
    neil.challinor
    Last edited by ProbFlex; 02-17-2021, 02:27 PM.

  • #2
    At a first glance:

    1: Your A1 alignment has x y and x translated twice (6 translations total), the first time to nothing then the second time to your readpoint.

    2: Before your A3 alignment you take 8 points but only use 7 of them for the iterative alignment (pnt7 not used), why is that?

    My personal preferences I would use auto points (I hate measured points with a passion) and I would stop with the first iterative alignment. An iterative will rerun itself until it's happy so I don't see a need for another alignment after it.
    Remembering my beautiful wife Taz who's life was taken from me on 6-13-2020. I love you and I miss you.

    Comment


    • ProbFlex
      ProbFlex commented
      Editing a comment
      good catch. A1-I meant to delete the empty ones. just did. A3 I corrected 4 point for Z Axis. 1,2,4,5, and 2 points for X Axis 6,7 ,and 1 for Y Axis, point 8.
      i turn it to 3. I chose 5 just to try and make it more arcuate. Just testing it.


      [CODE]
      READ POINT =FEAT/POINT,CARTESIAN
                  THEO/<24.81,-2.56,3.11>,<0,0,1>
                  ACTL/<32.94,-5.24,2.94>,<0,0,1>
                  READPOINT/
      A1         =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
                    ALIGNMENT/TRANS,XAXIS,READ POINT
                    ALIGNMENT/TRANS,YAXIS,READ POINT
                    ALIGNMENT/TRANS,ZAXIS,READ POINT
                  ALIGNMENT/END
      PNT3       =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                  THEO/<0.02,0.22,-0.2>,<-0.0756796,-0.7370436,0.6715946>
                  ACTL/<0.02,0.22,-0.2>,<-0.0756796,-0.7370436,0.6715946>
                  TARG/<0.02,0.22,-0.2>,<-0.0756796,-0.7370436,0.6715946>
                  SNAP=NO
                  SHOW FEATURE PARAMETERS=NO
                  SHOW CONTACT PARAMETERS=YES
                    AVOIDANCE MOVE=NO,DISTANCE=0.2
                  SHOW HITS=NO
      A2         =ALIGNMENT/START,RECALL:A1,LIST=YES
                    ALIGNMENT/TRANS,XAXIS,PNT3
                    ALIGNMENT/TRANS,YAXIS,PNT3
                    ALIGNMENT/TRANS,ZAXIS,PNT3
                  ALIGNMENT/END
      PNT1       =FEAT/POINT,CARTESIAN
                  THEO/<-0.1,0.54,0.12>,<-0.1119777,0,0.9937107>
                  ACTL/<-0.1,0.54,0.12>,<-0.1119777,0,0.9937107>
                  MEAS/POINT,1,WORKPLANE
                    HIT/BASIC,NORMAL,<-0.1,0.54,0.12>,<-0.1119777,0,0.9937107>,<-0.1,0.54,0.12>,USE THEO=YES
                  ENDMEAS/
      PNT2       =FEAT/POINT,CARTESIAN
                  THEO/<-0.79,1.59,0.04>,<-0.1119777,0,0.9937107>
                  ACTL/<-0.79,1.59,0.04>,<-0.1119777,0,0.9937107>
                  MEAS/POINT,1,WORKPLANE
                    HIT/BASIC,NORMAL,<-0.79,1.59,0.04>,<-0.1119777,0,0.9937107>,<-0.79,1.59,0.04>,USE THEO=YES
                  ENDMEAS/
      PNT4       =FEAT/POINT,CARTESIAN
                  THEO/<-0.46,2.98,0.08>,<-0.1119777,0,0.9937107>
                  ACTL/<-0.46,2.98,0.08>,<-0.1119777,0,0.9937107>
                  MEAS/POINT,1,WORKPLANE
                    HIT/BASIC,NORMAL,<-0.46,2.98,0.08>,<-0.1119777,0,0.9937107>,<-0.46,2.98,0.08>,USE THEO=YES
                  ENDMEAS/
      PNT5       =FEAT/POINT,CARTESIAN
                  THEO/<-0.92,4.27,0.03>,<-0.1119777,0,0.9937107>
                  ACTL/<-0.92,4.27,0.03>,<-0.1119777,0,0.9937107>
                  MEAS/POINT,1,WORKPLANE
                    HIT/BASIC,NORMAL,<-0.92,4.27,0.03>,<-0.1119777,0,0.9937107>,<-0.92,4.27,0.03>,USE THEO=YES
                  ENDMEAS/
                  MOVE/POINT,NORMAL,<-0.38,3.02,0.39>
                  MOVE/POINT,NORMAL,<-0.08,2.89,0.36>
                  MOVE/POINT,NORMAL,<0.17,2.83,0.16>
      PNT6       =FEAT/POINT,CARTESIAN
                  THEO/<0.01,2.59,-0.19>,<0.9531094,0.1915064,0.2343242>
                  ACTL/<0.01,2.59,-0.19>,<0.9531094,0.1915064,0.2343242>
                  MEAS/POINT,1,WORKPLANE
                    HIT/BASIC,NORMAL,<0.01,2.59,-0.19>,<0.9531094,0.1915064,0.2343242>,<0.01,2.59,-0.19>,USE THEO=YES
                  ENDMEAS/
      PNT7       =FEAT/POINT,CARTESIAN
                  THEO/<0.28,0.72,-0.17>,<0.9767192,0.0946515,0.1925116>
                  ACTL/<0.28,0.72,-0.17>,<0.9767192,0.0946515,0.1925116>
                  MEAS/POINT,1,WORKPLANE
                    HIT/BASIC,NORMAL,<0.28,0.72,-0.17>,<0.9767192,0.0946515,0.1925116>,<0.28,0.72,-0.17>,USE THEO=YES
                  ENDMEAS/
                  MOVE/POINT,NORMAL,<0.61,0.04,-0.19>
                  MOVE/POINT,NORMAL,<0.58,-0.13,-0.28>
                  MOVE/POINT,NORMAL,<0.5,-0.25,-0.33>
                  MOVE/POINT,NORMAL,<0.29,-0.39,-0.42>
      PNT8       =FEAT/POINT,CARTESIAN
                  THEO/<0.04,-0.11,-0.46>,<0,-1,0>
                  ACTL/<0.04,-0.11,-0.46>,<0,-1,0>
                  MEAS/POINT,1,WORKPLANE
                    HIT/BASIC,NORMAL,<0.04,-0.11,-0.46>,<0,-1,0>,<0.04,-0.11,-0.46>,USE THEO=YES
                    MOVE/POINT,NORMAL,<0.04,-0.4,-0.46>
                  ENDMEAS/
                  MOVE/POINT,NORMAL,<0.01,-0.37,-0.06>
                  MOVE/POINT,NORMAL,<-0.08,-0.16,0.25>
                  MOVE/POINT,NORMAL,<-0.04,0.13,0.41>
      A3         =ALIGNMENT/START,RECALL:A2,LIST=YES
                    ALIGNMENT/ITERATE
                      PNT TARGET RAD=0.05,START LABEL=,FIXTURE TOL=0,ERROR LABEL=
                      MEAS ALL FEAT=ALWAYS,MAX ITERATIONS=3,LEVEL AXIS=ZAXIS,ROTATE AXIS=XAXIS,ORIGIN AXIS=YAXIS
                    LEVEL=PNT1,PNT2,PNT4,PNT5,,
                    ROTATE=PNT6,PNT7,,
                    ORIGIN=PNT8,,
                  ALIGNMENT/END
      PNT_1      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                  THEO/<-0.21,0.98,0.11>,<-0.1119777,0,0.9937107>
                  ACTL/<-0.21,0.98,0.11>,<-0.1119777,0,0.9937107>
                  TARG/<-0.21,0.98,0.11>,<-0.1119777,0,0.9937107>
                  SNAP=NO
                  SHOW FEATURE PARAMETERS=NO
                  SHOW CONTACT PARAMETERS=YES
                    AVOIDANCE MOVE=NO,DISTANCE=0.2
                  SHOW HITS=NO
                  MOVE/POINT,NORMAL,<-0.34,0.5,0.38>
                  MOVE/POINT,NORMAL,<-0.55,0.4,0.23>
                  MOVE/POINT,NORMAL,<-0.64,0.36,0.03>
      PNT_2      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                  THEO/<-0.34,0.28,-0.41>,<-0.9921095,-0.1249404,0.0104189>
                  ACTL/<-0.34,0.28,-0.41>,<-0.9921095,-0.1249404,0.0104189>
                  TARG/<-0.34,0.28,-0.41>,<-0.9921095,-0.1249404,0.0104189>
                  SNAP=NO
                  SHOW FEATURE PARAMETERS=NO
                  SHOW CONTACT PARAMETERS=YES
                    AVOIDANCE MOVE=NO,DISTANCE=0.2
                  SHOW HITS=NO
      PNT_3      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                  THEO/<-0.3,0.12,-1.64>,<-0.9302715,-0.3668206,-0.0061264>
                  ACTL/<-0.3,0.12,-1.64>,<-0.9302715,-0.3668206,-0.0061264>
                  TARG/<-0.3,0.12,-1.64>,<-0.9302715,-0.3668206,-0.0061264>
                  SNAP=NO
                  SHOW FEATURE PARAMETERS=NO
                  SHOW CONTACT PARAMETERS=YES
                    AVOIDANCE MOVE=NO,DISTANCE=0.2
                  SHOW HITS=NO
                  MOVE/POINT,NORMAL,<-0.67,0.33,-1.2>
                  MOVE/POINT,NORMAL,<-0.72,0.44,-1.12>
      PNT_4      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                  THEO/<-0.51,0.65,-1.16>,<-0.7020729,-0.6942352,0.1585279>
                  ACTL/<-0.51,0.65,-1.16>,<-0.7020729,-0.6942352,0.1585279>
                  TARG/<-0.51,0.65,-1.16>,<-0.7020729,-0.6942352,0.1585279>
                  SNAP=NO
                  SHOW FEATURE PARAMETERS=NO
                  SHOW CONTACT PARAMETERS=YES
                    AVOIDANCE MOVE=NO,DISTANCE=0.2
                  SHOW HITS=NO
                  MOVE/POINT,NORMAL,<-1.08,0.51,-1.18>
                  MOVE/POINT,NORMAL,<-1.25,0.6,-1.19>
                  MOVE/POINT,NORMAL,<-1.4,0.79,-1.25>
                  MOVE/POINT,NORMAL,<-1.43,0.92,-1.36>
      PNT_5      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                  THEO/<-1.16,1.04,-1.78>,<-0.9965702,-0.0560934,0.0608383>
                  ACTL/<-1.16,1.04,-1.78>,<-0.9965702,-0.0560934,0.0608383>
                  TARG/<-1.16,1.04,-1.78>,<-0.9965702,-0.0560934,0.0608383>
                  SNAP=NO
                  SHOW FEATURE PARAMETERS=NO
                  SHOW CONTACT PARAMETERS=YES
                    AVOIDANCE MOVE=NO,DISTANCE=0.2
                  SHOW HITS=NO
      PNT_6      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                  THEO/<-1.19,1.32,-0.43>,<-0.9986704,-0.0483447,0.0178954>
                  ACTL/<-1.19,1.32,-0.43>,<-0.9986704,-0.0483447,0.0178954>
                  TARG/<-1.19,1.32,-0.43>,<-0.9986704,-0.0483447,0.0178954>
                  SNAP=NO
                  SHOW FEATURE PARAMETERS=NO
                  SHOW CONTACT PARAMETERS=YES
                    AVOIDANCE MOVE=NO,DISTANCE=0.2
                  SHOW HITS=NO
      A4         =ALIGNMENT/START,RECALL:A3,LIST=YES
                    ALIGNMENT/BF3D,LEAST_SQR,CREATE WEIGHTS=NO,ROTANDTRANS,USE SCALING=NO,0,0,0,0.02,-0.03,0
                    ITERATEANDREPIERCECAD=YES,TOLERANCE=1000,MAX ITERATIONS=100
                    Deviation Threshold=0.0003937
                    SHOWALLINPUTS=NO,SHOWALLPARAMS=NO
                  ALIGNMENT/END

    • ProbFlex
      ProbFlex commented
      Editing a comment
      $$ no,
                  [email protected]  dimensions  @!
                  displayprecision/4
      dim prfl_1= location of point pnt_1  units=in ,$
      graph=off  text=off  mult=10.00  output=both  half angle=no
      ax    nominal       +tol       -tol       meas        dev     outtol
      t       0.0000     0.0900     0.0300    -0.0014    -0.0014     0.0000 --#---------
      end of dimension prfl_1
                  assign/v1=prfl_1.t.outtol
                  if/v1<>0
                    comment/oper,no,full screen=yes,auto-continue=no,
                    ! Error !
                    
                    "profile loc1 is out by "+v1+""
                    
                    --- please cancel and inform super/programer
                    and don't continue
                    
                  end_if/
      dim prfl_2= location of point pnt_2  units=in ,$
      graph=off  text=off  mult=10.00  output=both  half angle=no
      ax    nominal       +tol       -tol       meas        dev     outtol
      t       0.0000     0.0900     0.0300     0.0003     0.0003     0.0000 ---#--------
      end of dimension prfl_2
                  assign/v2=prfl_2.t.outtol
                  if/v2<>0
                    comment/oper,no,full screen=yes,auto-continue=no,
                    ! Error !
                    
                    "profile loc2 is out by "+v2+""
                    
                    --- please cancel and inform super/programer
                    and don't continue
                    
                  end_if/
      dim prfl_3= location of point pnt_3  units=in ,$
      graph=off  text=off  mult=10.00  output=both  half angle=no
      ax    nominal       +tol       -tol       meas        dev     outtol
      t       0.0000     0.0900     0.0300     0.0005     0.0005     0.0000 ---#--------
      end of dimension prfl_3
                  assign/v3=prfl_3.t.outtol
                  if/v3<>0
                    comment/oper,no,full screen=yes,auto-continue=no,
                    ! Error !
                    
                    "profile loc3 is out by "+v3+""
                    
                    --- please cancel and inform super/programer
                    and don't continue
                    
                  end_if/
      dim prfl_4= location of point pnt_4  units=in ,$
      graph=off  text=off  mult=10.00  output=both  half angle=no
      ax    nominal       +tol       -tol       meas        dev     outtol
      t       0.0000     0.0900     0.0300     0.0005     0.0005     0.0000 ---#--------
      end of dimension prfl_4
                  assign/v4=prfl_4.t.outtol
                  if/v4<>0
                    comment/oper,no,full screen=yes,auto-continue=no,
                    ! Error !
                    
                    "profile loc4 is out by "+v4+""
                    
                    --- please cancel and inform super/programer
                    and don't continue
                    
                  end_if/
      dim loc5= location of point pnt_5  units=in ,$
      graph=off  text=off  mult=10.00  output=both  half angle=no
      ax    nominal       +tol       -tol       meas        dev     outtol
      t       0.0000     0.0900     0.0300    -0.0002    -0.0002     0.0000 --#---------
      end of dimension loc5
                  assign/v5=loc5.t.outtol
                  if/v5<>0
                    comment/oper,no,full screen=yes,auto-continue=no,
                    ! Error !
                    
                    "profile loc5 is out by "+v5+""
                    
                    --- please cancel and inform super/programer
                    and don't continue
                    
                  end_if/
      dim prfl_6= location of point pnt_6  units=in ,$
      graph=off  text=off  mult=10.00  output=both  half angle=no
      ax    nominal       +tol       -tol       meas        dev     outtol
      t       0.0000     0.0900     0.0300    -0.0002    -0.0002     0.0000 --#---------
      end of dimension prfl_6
                  assign/v6=prfl_6.t.outtol
                  if/v6<>0
                    comment/oper,no,full screen=yes,auto-continue=no,
                    ! Error !
                    
                    "profile loc6 is out by "+v6+""
                    
                    --- please cancel and inform super/programer
                    and don't continue
                    
                  end_if/
      [/code]

  • #3
    1. As for the picture upload issue, I am not sure why some people have issues and some don't. I have never had an issue uploading a picture.

    2. Clean up the nominals in your IJK. If it's supposed to 0,0,1, make them 0,0,1 and not -0.1119777,0,0.9937107 for example.

    Comment


    • ProbFlex
      ProbFlex commented
      Editing a comment
      ?2. Clean up the nominals in your IJK. If it's supposed to 0,0,1, make them 0,0,1 and not -0.1119777,0,0.9937107 for example.?

      would you grab my coding and edit it, so i see where and why would i do that?

  • #4
    Originally posted by ProbFlex
    ?2. Clean up the nominals in your IJK. If it's supposed to 0,0,1, make them 0,0,1 and not -0.1119777,0,0.9937107 for example.?

    would you grab my coding and edit it, so i see where and why would i do that?
    I tried pasting the code into DMIS but it wont let me. The dreaded Line Too Long error.

    You would fix the IJK nominals so you have your alignment features perfectly parallel/perpendicular. This could be the cause of your dimensioning issues.

    Remembering my beautiful wife Taz who's life was taken from me on 6-13-2020. I love you and I miss you.

    Comment


    • #5
      @bfire85 Once i fixed the the iterative alignment with the right points the deviations went to zero.
      see if you can copy this code.
      Code:
      READ POINT =FEAT/POINT,CARTESIAN
      THEO/<24.81,-2.56,3.11>,<0,0,1>
      ACTL/<35.41,-3.06,2.92>,<0,0,1>
      READPOINT/
      A1 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
      ALIGNMENT/TRANS,XAXIS,READ POINT
      ALIGNMENT/TRANS,YAXIS,READ POINT
      ALIGNMENT/TRANS,ZAXIS,READ POINT
      ALIGNMENT/END
      PNT3 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
      THEO/<0.02,0.22,-0.2>,<-0.0756796,-0.7370436,0.6715946>
      ACTL/<0.02,0.22,-0.2>,<-0.0756796,-0.7370436,0.6715946>
      TARG/<0.02,0.22,-0.2>,<-0.0756796,-0.7370436,0.6715946>
      SNAP=NO
      SHOW FEATURE PARAMETERS=NO
      SHOW CONTACT PARAMETERS=YES
      AVOIDANCE MOVE=NO,DISTANCE=0.2
      SHOW HITS=NO
      A2 =ALIGNMENT/START,RECALL:A1,LIST=YES
      ALIGNMENT/TRANS,XAXIS,PNT3
      ALIGNMENT/TRANS,YAXIS,PNT3
      ALIGNMENT/TRANS,ZAXIS,PNT3
      ALIGNMENT/END
      PNT1 =FEAT/POINT,CARTESIAN
      THEO/<-0.1,0.54,0.12>,<-0.1119777,0,0.9937107>
      ACTL/<-0.1,0.54,0.12>,<-0.1119777,0,0.9937107>
      MEAS/POINT,1,WORKPLANE
      HIT/BASIC,NORMAL,<-0.1,0.54,0.12>,<-0.1119777,0,0.9937107>,<-0.1,0.54,0.12>,USE THEO=YES
      ENDMEAS/
      PNT2 =FEAT/POINT,CARTESIAN
      THEO/<-0.79,1.59,0.04>,<-0.1119777,0,0.9937107>
      ACTL/<-0.79,1.59,0.04>,<-0.1119777,0,0.9937107>
      MEAS/POINT,1,WORKPLANE
      HIT/BASIC,NORMAL,<-0.79,1.59,0.04>,<-0.1119777,0,0.9937107>,<-0.79,1.59,0.04>,USE THEO=YES
      ENDMEAS/
      PNT4 =FEAT/POINT,CARTESIAN
      THEO/<-0.46,2.98,0.08>,<-0.1119777,0,0.9937107>
      ACTL/<-0.46,2.98,0.08>,<-0.1119777,0,0.9937107>
      MEAS/POINT,1,WORKPLANE
      HIT/BASIC,NORMAL,<-0.46,2.98,0.08>,<-0.1119777,0,0.9937107>,<-0.46,2.98,0.08>,USE THEO=YES
      ENDMEAS/
      PNT5 =FEAT/POINT,CARTESIAN
      THEO/<-0.92,4.27,0.03>,<-0.1119777,0,0.9937107>
      ACTL/<-0.92,4.27,0.03>,<-0.1119777,0,0.9937107>
      MEAS/POINT,1,WORKPLANE
      HIT/BASIC,NORMAL,<-0.92,4.27,0.03>,<-0.1119777,0,0.9937107>,<-0.92,4.27,0.03>,USE THEO=YES
      ENDMEAS/
      MOVE/POINT,NORMAL,<-0.38,3.02,0.39>
      MOVE/POINT,NORMAL,<-0.08,2.89,0.36>
      MOVE/POINT,NORMAL,<0.17,2.83,0.16>
      PNT6 =FEAT/POINT,CARTESIAN
      THEO/<0.01,2.59,-0.19>,<0.9531094,0.1915064,0.2343242>
      ACTL/<0.01,2.59,-0.19>,<0.9531094,0.1915064,0.2343242>
      MEAS/POINT,1,WORKPLANE
      HIT/BASIC,NORMAL,<0.01,2.59,-0.19>,<0.9531094,0.1915064,0.2343242>,<0.01,2.59,-0.19>,USE THEO=YES
      ENDMEAS/
      PNT7 =FEAT/POINT,CARTESIAN
      THEO/<0.28,0.72,-0.17>,<0.9767192,0.0946515,0.1925116>
      ACTL/<0.28,0.72,-0.17>,<0.9767192,0.0946515,0.1925116>
      MEAS/POINT,1,WORKPLANE
      HIT/BASIC,NORMAL,<0.28,0.72,-0.17>,<0.9767192,0.0946515,0.1925116>,<0.28,0.72,-0.17>,USE THEO=YES
      ENDMEAS/
      MOVE/POINT,NORMAL,<0.61,0.04,-0.19>
      MOVE/POINT,NORMAL,<0.58,-0.13,-0.28>
      MOVE/POINT,NORMAL,<0.5,-0.25,-0.33>
      MOVE/POINT,NORMAL,<0.29,-0.39,-0.42>
      PNT8 =FEAT/POINT,CARTESIAN
      THEO/<0.04,-0.11,-0.46>,<0,-1,0>
      ACTL/<0.04,-0.11,-0.46>,<0,-1,0>
      MEAS/POINT,1,WORKPLANE
      HIT/BASIC,NORMAL,<0.04,-0.11,-0.46>,<0,-1,0>,<0.04,-0.11,-0.46>,USE THEO=YES
      MOVE/POINT,NORMAL,<0.04,-0.4,-0.46>
      ENDMEAS/
      MOVE/POINT,NORMAL,<0.01,-0.37,-0.06>
      MOVE/POINT,NORMAL,<-0.08,-0.16,0.25>
      MOVE/POINT,NORMAL,<-0.04,0.13,0.41>
      A3 =ALIGNMENT/START,RECALL:A2,LIST=YES
      ALIGNMENT/ITERATE
      PNT TARGET RAD=0.05,START LABEL=,FIXTURE TOL=0,ERROR LABEL=
      MEAS ALL FEAT=ALWAYS,MAX ITERATIONS=3,LEVEL AXIS=ZAXIS,ROTATE AXIS=XAXIS,ORIGIN AXIS=YAXIS
      LEVEL=PNT1,PNT2,PNT4,PNT5,,
      ROTATE=PNT6,PNT7,,
      ORIGIN=PNT8,,
      ALIGNMENT/END
      PNT_1 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
      THEO/<-0.21,0.98,0.11>,<-0.1119777,0,0.9937107>
      ACTL/<-0.21,0.98,0.11>,<-0.1119777,0,0.9937107>
      TARG/<-0.21,0.98,0.11>,<-0.1119777,0,0.9937107>
      SNAP=NO
      SHOW FEATURE PARAMETERS=NO
      SHOW CONTACT PARAMETERS=YES
      AVOIDANCE MOVE=NO,DISTANCE=0.2
      SHOW HITS=NO
      MOVE/POINT,NORMAL,<-0.34,0.5,0.38>
      MOVE/POINT,NORMAL,<-0.55,0.4,0.23>
      MOVE/POINT,NORMAL,<-0.64,0.36,0.03>
      PNT_2 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
      THEO/<-0.34,0.28,-0.41>,<-0.9921095,-0.1249404,0.0104188>
      ACTL/<-0.34,0.28,-0.41>,<-0.9921095,-0.1249404,0.0104188>
      TARG/<-0.34,0.28,-0.41>,<-0.9921095,-0.1249404,0.0104189>
      SNAP=NO
      SHOW FEATURE PARAMETERS=NO
      SHOW CONTACT PARAMETERS=YES
      AVOIDANCE MOVE=NO,DISTANCE=0.2
      SHOW HITS=NO
      PNT_3 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
      THEO/<-0.3,0.12,-1.64>,<-0.9302716,-0.3668205,-0.0061264>
      ACTL/<-0.3,0.12,-1.64>,<-0.9302716,-0.3668205,-0.0061264>
      TARG/<-0.3,0.12,-1.64>,<-0.9302715,-0.3668206,-0.0061264>
      SNAP=NO
      SHOW FEATURE PARAMETERS=NO
      SHOW CONTACT PARAMETERS=YES
      AVOIDANCE MOVE=NO,DISTANCE=0.2
      SHOW HITS=NO
      MOVE/POINT,NORMAL,<-0.67,0.33,-1.2>
      MOVE/POINT,NORMAL,<-0.72,0.44,-1.12>
      PNT_4 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
      THEO/<-0.51,0.65,-1.16>,<-0.7020721,-0.694236,0.1585281>
      ACTL/<-0.51,0.65,-1.16>,<-0.7020721,-0.694236,0.1585281>
      TARG/<-0.51,0.65,-1.16>,<-0.7020729,-0.6942352,0.1585279>
      SNAP=NO
      SHOW FEATURE PARAMETERS=NO
      SHOW CONTACT PARAMETERS=YES
      AVOIDANCE MOVE=NO,DISTANCE=0.2
      SHOW HITS=NO
      MOVE/POINT,NORMAL,<-1.08,0.51,-1.18>
      MOVE/POINT,NORMAL,<-1.25,0.6,-1.19>
      MOVE/POINT,NORMAL,<-1.4,0.79,-1.25>
      MOVE/POINT,NORMAL,<-1.43,0.92,-1.36>
      PNT_5 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
      THEO/<-1.16,1.04,-1.78>,<-0.9965702,-0.0560933,0.0608382>
      ACTL/<-1.16,1.04,-1.78>,<-0.9965702,-0.0560933,0.0608382>
      TARG/<-1.16,1.04,-1.78>,<-0.9965702,-0.0560934,0.0608383>
      SNAP=NO
      SHOW FEATURE PARAMETERS=NO
      SHOW CONTACT PARAMETERS=YES
      AVOIDANCE MOVE=NO,DISTANCE=0.2
      SHOW HITS=NO
      PNT_6 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
      THEO/<-1.19,1.32,-0.43>,<-0.9986704,-0.0483445,0.0178955>
      ACTL/<-1.19,1.32,-0.43>,<-0.9986704,-0.0483445,0.0178955>
      TARG/<-1.19,1.32,-0.43>,<-0.9986704,-0.0483447,0.0178954>
      SNAP=NO
      SHOW FEATURE PARAMETERS=NO
      SHOW CONTACT PARAMETERS=YES
      AVOIDANCE MOVE=NO,DISTANCE=0.2
      SHOW HITS=NO
      A4 =ALIGNMENT/START,RECALL:A3,LIST=YES
      ALIGNMENT/BF3D,LEAST_SQR,CREATE WEIGHTS=NO,ROTANDTRANS,USE SCALING=NO,0,0,0,0,0,0
      ITERATEANDREPIERCECAD=YES,TOLERANCE=1000,MAX ITERATIONS=100
      Deviation Threshold=0.0003937
      SHOWALLINPUTS=NO,SHOWALLPARAMS=NO
      ALIGNMENT/END
      $$ NO,
      [email protected] DIMENSIONS @!
      DISPLAYPRECISION/4
      DIM PRFL_1= LOCATION OF POINT PNT_1 UNITS=IN ,$
      GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
      AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
      T 0.0000 0.0900 0.0300 0.0000 0.0000 0.0000 --#---------
      END OF DIMENSION PRFL_1
      ASSIGN/V1=PRFL_1.T.OUTTOL
      IF/V1<>0
      COMMENT/OPER,NO,FULL SCREEN=YES,AUTO-CONTINUE=NO,
      ! ERROR !
      
      "PROFILE LOC1 IS OUT BY "+V1+""
      
      --- PLEASE CANCEL AND INFORM SUPER/PROGRAMER
      AND DON'T CONTINUE
      
      END_IF/
      DIM PRFL_2= LOCATION OF POINT PNT_2 UNITS=IN ,$
      GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
      AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
      T 0.0000 0.0900 0.0300 0.0000 0.0000 0.0000 --#---------
      END OF DIMENSION PRFL_2
      ASSIGN/V2=PRFL_2.T.OUTTOL
      IF/V2<>0
      COMMENT/OPER,NO,FULL SCREEN=YES,AUTO-CONTINUE=NO,
      ! ERROR !
      
      "PROFILE LOC2 IS OUT BY "+V2+""
      
      --- PLEASE CANCEL AND INFORM SUPER/PROGRAMER
      AND DON'T CONTINUE
      
      END_IF/
      DIM PRFL_3= LOCATION OF POINT PNT_3 UNITS=IN ,$
      GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
      AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
      T 0.0000 0.0900 0.0300 0.0000 0.0000 0.0000 --#---------
      END OF DIMENSION PRFL_3
      ASSIGN/V3=PRFL_3.T.OUTTOL
      IF/V3<>0
      COMMENT/OPER,NO,FULL SCREEN=YES,AUTO-CONTINUE=NO,
      ! ERROR !
      
      "PROFILE LOC3 IS OUT BY "+V3+""
      
      --- PLEASE CANCEL AND INFORM SUPER/PROGRAMER
      AND DON'T CONTINUE
      
      END_IF/
      DIM PRFL_4= LOCATION OF POINT PNT_4 UNITS=IN ,$
      GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
      AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
      T 0.0000 0.0900 0.0300 0.0000 0.0000 0.0000 --#---------
      END OF DIMENSION PRFL_4
      ASSIGN/V4=PRFL_4.T.OUTTOL
      IF/V4<>0
      COMMENT/OPER,NO,FULL SCREEN=YES,AUTO-CONTINUE=NO,
      ! ERROR !
      
      "PROFILE LOC4 IS OUT BY "+V4+""
      
      --- PLEASE CANCEL AND INFORM SUPER/PROGRAMER
      AND DON'T CONTINUE
      
      END_IF/
      DIM LOC5= LOCATION OF POINT PNT_5 UNITS=IN ,$
      GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
      AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
      T 0.0000 0.0900 0.0300 0.0000 0.0000 0.0000 --#---------
      END OF DIMENSION LOC5
      ASSIGN/V5=LOC5.T.OUTTOL
      IF/V5<>0
      COMMENT/OPER,NO,FULL SCREEN=YES,AUTO-CONTINUE=NO,
      ! ERROR !
      
      "PROFILE LOC5 IS OUT BY "+V5+""
      
      --- PLEASE CANCEL AND INFORM SUPER/PROGRAMER
      AND DON'T CONTINUE
      
      END_IF/
      DIM PRFL_6= LOCATION OF POINT PNT_6 UNITS=IN ,$
      GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
      AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
      T 0.0000 0.0900 0.0300 0.0000 0.0000 0.0000 --#---------
      END OF DIMENSION PRFL_6
      ASSIGN/V6=PRFL_6.T.OUTTOL
      IF/V6<>0
      COMMENT/OPER,NO,FULL SCREEN=YES,AUTO-CONTINUE=NO,
      ! ERROR !
      
      "PROFILE LOC6 IS OUT BY "+V6+""
      
      --- PLEASE CANCEL AND INFORM SUPER/PROGRAMER
      AND DON'T CONTINUE
      
      END_IF/

      Comment


      • Matthew D. Hoedeman
        Matthew D. Hoedeman commented
        Editing a comment
        you can't copy code from anything other than a Pcdmis program to paste into a Pcdmis program

      • ProbFlex
        ProbFlex commented
        Editing a comment
        Aaaaah okay

    • #6
      Originally posted by ProbFlex View Post
      @bfire85 Once i fixed the the iterative alignment with the right points the deviations went to zero.
      see if you can copy this code.
      You would change it in your THEO line. That line is editable.

      BEFORE:

      Code:
      PNT1 =FEAT/POINT,CARTESIAN
      THEO/<-0.1,0.54,0.12>,<-0.1119777,0,0.9937107>
      ACTL/<-0.1,0.54,0.12>,<-0.1119777,0,0.9937107>
      MEAS/POINT,1,WORKPLANE HIT/BASIC,NORMAL,<-0.1,0.54,0.12>,<-0.1119777,0,0.9937107>,<-0.1,0.54,0.12>,USE THEO=YES
      ENDMEAS/
      AFTER:

      Code:
      PNT1 =FEAT/POINT,CARTESIAN
      THEO/<-0.1,0.54,0.12>,<0,0,1>
      ACTL/<-0.1,0.54,0.12>,<-0.1119777,0,0.9937107>
      MEAS/POINT,1,WORKPLANE HIT/BASIC,NORMAL,<-0.1,0.54,0.12>,<0,0,1>,<-0.1,0.54,0.12>,USE THEO=YES
      ENDMEAS/
      Do the same to the rest of the points to match the vector they are supposed to be at. Obviously, not all will 0,0,1.
      Last edited by bfire85; 02-17-2021, 03:02 PM.

      Comment


      • ProbFlex
        ProbFlex commented
        Editing a comment
        i know how to do the action of fixing IJK .

        i don't know which one or why.
        i know it has to be done before the alignment and and gives and tells direction of the vector. But i am using a iterative alignment, it is based of points. oooohhhh, so the points i am using for the Z Axis i need to make the IJK 0,0,1, and for the X Axis 1,0,0 and for the Y Axis 0,1,0 ?!?!?!?

        i think that answers this questing?

        In my Coding, which feature would i need to adjust the IJK?

      • ProbFlex
        ProbFlex commented
        Editing a comment
        I really feel i am getting somewhere with this.. Thank you in advances.

        Now, I am getting a series of question and I don't know how it effects the process and why what should i be think about when answering them.
        this is what it is asking.

        1.Do you want to update measured values also?
        YES or NO

        2.Change the hit to values to match the theoretical
        YES or NO


        3.Alignment A3 has change! Update dependent commands
        (move, Fearure ACTL values)?

        YES
        NO

        [CODE]
        PNT1 =FEAT/POINT,CARTESIAN
        THEO/<-0.1,0.54,0.12>,<0,0,1>
        ACTL/<-0.1,0.54,0.12>,<-0.0000012,0.0000012,1>
        MEAS/POINT,1,WORKPLANE
        HIT/BASIC,NORMAL,<-0.1,0.54,0.12>,<0,0,1>,<-0.1,0.54,0.12>,USE THEO=YES
        ENDMEAS/
        PNT2 =FEAT/POINT,CARTESIAN
        THEO/<-0.79,1.59,0.04>,<0,0,1>
        ACTL/<-0.79,1.59,0.04>,<-0.0000012,0.0000012,1>
        MEAS/POINT,1,WORKPLANE
        HIT/BASIC,NORMAL,<-0.79,1.59,0.04>,<0,0,1>,<-0.79,1.59,0.04>,USE THEO=YES
        ENDMEAS/
        PNT4 =FEAT/POINT,CARTESIAN
        THEO/<-0.46,2.98,0.08>,<0,0,1>
        ACTL/<-0.46,2.98,0.08>,<-0.0000012,0.0000012,1>
        MEAS/POINT,1,WORKPLANE
        HIT/BASIC,NORMAL,<-0.46,2.98,0.08>,<0,0,1>,<-0.46,2.98,0.08>,USE THEO=YES
        ENDMEAS/
        PNT5 =FEAT/POINT,CARTESIAN
        THEO/<-0.92,4.27,0.03>,<0,0,1>
        ACTL/<-0.92,4.27,0.03>,<-0.0000012,0.0000012,1>
        MEAS/POINT,1,WORKPLANE
        HIT/BASIC,NORMAL,<-0.92,4.27,0.03>,<-0.0107245,0,0.9999425>,<-0.92,4.27,0.03>,USE THEO=YES
        ENDMEAS/
        MOVE/POINT,NORMAL,<-0.38,3.02,0.39>
        MOVE/POINT,NORMAL,<-0.08,2.89,0.36>
        MOVE/POINT,NORMAL,<0.17,2.83,0.16>
        PNT6 =FEAT/POINT,CARTESIAN
        THEO/<0.01,2.59,-0.19>,<1,0,0>
        ACTL/<0.01,2.59,-0.19>,<1,0,0.0000012>
        MEAS/POINT,1,WORKPLANE
        HIT/BASIC,NORMAL,<0.01,2.59,-0.19>,<1,0,0>,<0.01,2.59,-0.19>,USE THEO=YES
        ENDMEAS/
        PNT7 =FEAT/POINT,CARTESIAN
        THEO/<0.28,0.72,-0.17>,<1,0,0>
        ACTL/<0.28,0.72,-0.17>,<1,0,0.0000012>
        MEAS/POINT,1,WORKPLANE
        HIT/BASIC,NORMAL,<0.28,0.72,-0.17>,<1,0,0>,<0.28,0.72,-0.17>,USE THEO=YES
        ENDMEAS/
        MOVE/POINT,NORMAL,<0.61,0.04,-0.19>
        MOVE/POINT,NORMAL,<0.58,-0.13,-0.28>
        MOVE/POINT,NORMAL,<0.5,-0.25,-0.33>
        MOVE/POINT,NORMAL,<0.29,-0.39,-0.42>
        PNT8 =FEAT/POINT,CARTESIAN
        THEO/<0.04,-0.11,-0.46>,<0,-1,0>
        ACTL/<0.04,-0.11,-0.46>,<0,-1,0.0000012>
        MEAS/POINT,1,WORKPLANE
        HIT/BASIC,NORMAL,<0.04,-0.11,-0.46>,<0,-1,0>,<0.04,-0.11,-0.46>,USE THEO=YES
        MOVE/POINT,NORMAL,<0.04,-0.4,-0.46>
        ENDMEAS/
        MOVE/POINT,NORMAL,<0.01,-0.37,-0.06>
        MOVE/POINT,NORMAL,<-0.08,-0.16,0.25>
        MOVE/POINT,NORMAL,<-0.04,0.13,0.41>
        A3 =ALIGNMENT/START,RECALL:A2,LIST=YES
        ALIGNMENT/ITERATE
        PNT TARGET RAD=0.05,START LABEL=,FIXTURE TOL=0,ERROR LABEL=
        MEAS ALL FEAT=NO,LEVEL AXIS=ZAXIS,ROTATE AXIS=XAXIS,ORIGIN AXIS=YAXIS
        LEVEL=PNT1,PNT2,PNT4,PNT5,,
        ROTATE=PNT6,PNT7,,
        ORIGIN=PNT8,,
        ALIGNMENT/END
        [CODE]

    • #7
      ProbFlex Yes, adjust any of them that are not normal to nominal.

      Comment


      • ProbFlex
        ProbFlex commented
        Editing a comment
        what is normal to nominal?

    • #8
      if doing an iterative alignment, ALL features used should be auto features, picked straight from the CAD model. THey will then all have the correct nominals and vectors.
      sigpic
      Originally posted by AndersI
      I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

      Comment


      • #9
        the CODE i inter is from offline programming with CAD. once i select the points of the CAD, there is no need to adjust the IJK????



        PNT1 =FEAT/POINT,CARTESIAN
        THEO/<-0.1,0.54,0.12>
        ,<-0.1119777,0,0.9937107>
        ACTL/<-0.1,0.54,0.12>,<-0.1119777,0,0.9937107>
        MEAS/POINT,1,WORKPLANE
        HIT/BASIC,NORMAL,<-0.1,0.54,0.12>,<-0.1119777,0,0.9937107>,<-0.1,0.54,0.12>,USE THEO=YES
        ENDMEAS/

        Comment


        • VinniUSMC
          VinniUSMC commented
          Editing a comment
          Correct, if picking off of CAD, don't change the IJK.

          Some people just reflexively say "change the nominals" if the nominals aren't (0,0,1) without regard for whether those nominals shown are actually the correct nominals.

        • ProbFlex
          ProbFlex commented
          Editing a comment
          VinniUSMC Thank you. i did not know that. when would i need to adjust vectors IJK?

        • VinniUSMC
          VinniUSMC commented
          Editing a comment
          Generally, the only time you will need to change vectors is if you are not using CAD, or if you are using measured features (especially in the manual alignment) instead of auto features.

      • #10
        ProbFlex the vector determines the angle that the hit is taken at. All hits need to be taken normal to (perpendicular to) the surface they are on. PC-DMIS uses what is called a unit vector (a unit vector always has a length of 1) so for a vector <i,j,k>, it will always be i^2 + j^2 + k^2 = 1. And i = the length of the unit vector along X, j = the length of the vector along Y, and k = the length of the vector along Z. A vector of <0,0,1> is pointed straight up perfectly parallel to the Z-axis. A vector of <0,0,-1> is pointed straight down perfectly parallel to the Z-axis. A vector of <.70710678,-.70710678,0> is in the X-Y plane (since k=0 there is no Z-deviation) and it will be pointed at -45° from the X+ axis.

        HTH

        EDIT: one more piece of very important informantion- the vector is ALWAYS in the coordinates of the active alignment!

        Comment


        • ProbFlex
          ProbFlex commented
          Editing a comment
          This is all good stuff.
          Mike Ruff - they are are coplanar points. after the iterative alignment the first point vector didn't correct it self. or change to 0,0,1
          May I email you the program, and see what i did wrong or do to correct this. Thank you.


          Q:After the Iterative alignment, i am taking points then best fitting the points then dimensioning. Do i have to have another alignment after the iterative? Didint make senses to for me.
          Q: Will I get arcuate results?
          Q:How would I double check myself?
          Q:What are the cons of using a read-point for an iterative alignment? I love the idea of removing the manual probing completely. But is it and will it be aureate?
          Q: Is there a article I can references to.

          PNT1 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
          THEO/<-0.13,0.66,0.12>,<-0.1119777,0,0.9937107>
          ACTL/<-0.13,0.66,0.12>,<-0.1119777,0,0.9937107>
          TARG/<-0.13,0.66,0.12>,<-0.1119777,0,0.9937107>
          SNAP=NO
          SHOW FEATURE PARAMETERS=NO
          SHOW CONTACT PARAMETERS=YES
          AVOIDANCE MOVE=NO,DISTANCE=0.2
          SHOW HITS=NO
          PNT2 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
          THEO/<-0.8,1.51,0.04>,<-0.1119777,0,0.9937107>
          ACTL/<-0.8,1.51,0.04>,<-0.1119777,0,0.9937107>
          TARG/<-0.8,1.51,0.04>,<-0.1119777,0,0.9937107>
          SNAP=NO
          SHOW FEATURE PARAMETERS=NO
          SHOW CONTACT PARAMETERS=YES
          AVOIDANCE MOVE=NO,DISTANCE=0.2
          SHOW HITS=NO
          PNT4 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
          THEO/<-0.34,2.47,0.09>,<-0.1119777,0,0.9937107>
          ACTL/<-0.34,2.47,0.09>,<-0.1119777,0,0.9937107>
          TARG/<-0.34,2.47,0.09>,<-0.1119777,0,0.9937107>
          SNAP=NO
          SHOW FEATURE PARAMETERS=NO
          SHOW CONTACT PARAMETERS=YES
          AVOIDANCE MOVE=NO,DISTANCE=0.2
          SHOW HITS=NO
          PNT5 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
          THEO/<-0.83,4.15,0.04>,<-0.1119777,0,0.9937107>
          ACTL/<-0.83,4.15,0.04>,<-0.1119777,0,0.9937107>
          TARG/<-0.83,4.15,0.04>,<-0.1119777,0,0.9937107>
          SNAP=NO
          SHOW FEATURE PARAMETERS=NO
          SHOW CONTACT PARAMETERS=YES
          AVOIDANCE MOVE=NO,DISTANCE=0.2
          SHOW HITS=NO
          MOVE/POINT,NORMAL,<-0.38,3.02,0.39>
          MOVE/POINT,NORMAL,<-0.08,2.89,0.36>
          MOVE/POINT,NORMAL,<0.17,2.83,0.16>
          PNT6 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
          THEO/<0.28,0.77,-0.19>,<0.9763428,0.0966858,0.1934079>
          ACTL/<0.28,0.77,-0.19>,<0.9763428,0.0966858,0.1934079>
          TARG/<0.28,0.77,-0.19>,<0.9763428,0.0966858,0.1934079>
          SNAP=NO
          SHOW FEATURE PARAMETERS=NO
          SHOW CONTACT PARAMETERS=YES
          AVOIDANCE MOVE=NO,DISTANCE=0.2
          SHOW HITS=NO
          PNT7 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
          THEO/<0.04,2.37,-0.14>,<0.956507,0.1800842,0.2294863>
          ACTL/<0.04,2.37,-0.14>,<0.956507,0.1800842,0.2294863>
          TARG/<0.04,2.37,-0.14>,<0.956507,0.1800842,0.2294863>
          SNAP=NO
          SHOW FEATURE PARAMETERS=NO
          SHOW CONTACT PARAMETERS=YES
          AVOIDANCE MOVE=NO,DISTANCE=0.2
          SHOW HITS=NO
          MOVE/POINT,NORMAL,<0.61,0.04,-0.19>
          MOVE/POINT,NORMAL,<0.58,-0.13,-0.28>
          MOVE/POINT,NORMAL,<0.5,-0.25,-0.33>
          MOVE/POINT,NORMAL,<0.29,-0.39,-0.42>
          PNT8 =FEAT/POINT,CARTESIAN
          THEO/<0.04,-0.11,-0.71>,<0,-1,0>
          ACTL/<0.04,-0.11,-0.71>,<0,-1,0>
          MEAS/POINT,1,WORKPLANE
          HIT/BASIC,NORMAL,<0.04,-0.11,-0.71>,<0,-1,0>,<0.04,-0.11,-0.71>,USE THEO=YES
          ENDMEAS/
          MOVE/POINT,NORMAL,<0.01,-0.37,-0.06>
          MOVE/POINT,NORMAL,<-0.08,-0.16,0.25>
          MOVE/POINT,NORMAL,<-0.04,0.13,0.41>
          A3 =ALIGNMENT/START,RECALL:A2,LIST=YES
          ALIGNMENT/ITERATE
          PNT TARGET RAD=0.05,START LABEL=,FIXTURE TOL=0,ERROR LABEL=
          MEAS ALL FEAT=ALWAYS,MAX ITERATIONS=3,LEVEL AXIS=ZAXIS,ROTATE AXIS=XAXIS,ORIGIN AXIS=YAXIS
          LEVEL=PNT1,PNT2,PNT4,PNT5,,
          ROTATE=PNT6,PNT7,,
          ORIGIN=PNT8,,
          ALIGNMENT/END
          PNT_1 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
          THEO/<-0.21,0.98,0.11>,<-0.1119777,0,0.9937107>
          ACTL/<-0.21,0.98,0.11>,<-0.1119777,0,0.9937107>
          TARG/<-0.21,0.98,0.11>,<-0.1119777,0,0.9937107>
          SNAP=NO
          SHOW FEATURE PARAMETERS=NO
          SHOW CONTACT PARAMETERS=YES
          AVOIDANCE MOVE=NO,DISTANCE=0.2
          SHOW HITS=NO
          Last edited by ProbFlex; 02-18-2021, 01:03 PM.

        • Mike Ruff
          Mike Ruff commented
          Editing a comment
          Matthew D. Hoedeman I don't use iterative alignments, so I'm not very familiar with them. I assumed it updated the coordinate system similar to a LEVEL-ROTATE-ORIGIN alignment. This makes way more sense now.

          And ProbFlex I'm not going to answer your questions because I might (or will) be wrong again. Someone who knows iterative alignments can answer you much better than myself, and I don't want to give any more incorrect info.

        • ProbFlex
          ProbFlex commented
          Editing a comment
          Mike Ruff Thank you. its okay with me. no worries I approach the help. Its why this is good. we all can learn from my questions. i feel like a dummy asking but i want to learn. thank you all.

          would someone mind with these questions. pls

          Q:After the Iterative alignment, i am taking points then best fitting the points then dimensioning. Do i have to have another alignment after the iterative? Didint make senses to for me.
          Q: Will I get arcuate results?
          Q:How would I double check myself?
          Q:What are the cons of using a read-point for an iterative alignment? I love the idea of removing the manual probing completely. But is it and will it be aureate?
          Q: Is there a article I can references to.
      widgetinstance 190 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X