hexagon logo

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?
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,
!@ 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
  • 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.
  • 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.
  • 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.


    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
  • $$ no,
                !@  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]
  • ?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?
  • ?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.

  • @ Once i fixed the the iterative alignment with the right points the deviations went to zero.
    see if you can copy this 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,
    !@ 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/
    

  • you can't copy code from anything other than a Pcdmis program to paste into a Pcdmis program
  • @ 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:

    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:

    PNT1 =FEAT/POINT,CARTESIAN
    THEO/<-0.1,0.54,0.12>,<[COLOR=#e74c3c][B]0,0,1[/B][/COLOR]>
    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>,<[COLOR=#e74c3c][B]0,0,1[/B][/COLOR]>,<-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.