Okay - sanity check here ... The goal here is to rotate the part around the origin to a point. BTW the origin is set to the center of a cylinder. I'm not sure why this is not working ...
This is the current location of this vector point from the CAD model.
DIM LOC1= LOCATION OF POINT PNT1 UNITS=IN ,$
GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=NONE
AX NOMINAL MEAS
X -1.29350 -1.29356 ----#----
Y 0.00000 0.00012 ----#----
Z -1.11020 -1.12008 #--------
END OF DIMENSION LOC1
I have to rotate the alignment so the Z value of this vector point matches the nominal of -1.1102.
I constructed a BF line from the vector point to the origin to check the angle I was getting ...
DIM ANGL1= 2D ANGLE FROM LINE LIN2 TO XAXIS ,$
GRAPH=OFF TEXT=ON MULT=10.00 OUTPUT=BOTH
AX NOMINAL MEAS
A -40.63921 -40.88884 <-------- This measured value actually trigs out to 40.8889 but should be close enough ??? The nominal angle is correct.
A4 =ALIGNMENT/START,RECALL:A3,LIST=YES
ALIGNMENT/ROTATE,XPLUS,TO,LIN2,ABOUT,YPLUS
ALIGNMENT/ROTATE_OFFSET,40.63921,ABOUT,YPLUS
ALIGNMENT/END
Here is the location of the same vector point after the alignment. Notice the z value of the point is still not correct.
PNT2 =AUTO/VECTOR POINT,SHOWALLPARAMS = NO
THEO/-1.2935,0,-1.11018,0,0,1
ACTL/-1.29365,0.00014,-1.11439,0,0,1
TARG/-1.2935,0,-1.11018,0,0,1
I also tried a best fit alighment using only the vector point and selecting rotation only but that didn't work either. Can someone please enlighten me as to the correct procedure for this?
Thank you!!!
t.
This is the current location of this vector point from the CAD model.
DIM LOC1= LOCATION OF POINT PNT1 UNITS=IN ,$
GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=NONE
AX NOMINAL MEAS
X -1.29350 -1.29356 ----#----
Y 0.00000 0.00012 ----#----
Z -1.11020 -1.12008 #--------
END OF DIMENSION LOC1
I have to rotate the alignment so the Z value of this vector point matches the nominal of -1.1102.
I constructed a BF line from the vector point to the origin to check the angle I was getting ...
DIM ANGL1= 2D ANGLE FROM LINE LIN2 TO XAXIS ,$
GRAPH=OFF TEXT=ON MULT=10.00 OUTPUT=BOTH
AX NOMINAL MEAS
A -40.63921 -40.88884 <-------- This measured value actually trigs out to 40.8889 but should be close enough ??? The nominal angle is correct.
A4 =ALIGNMENT/START,RECALL:A3,LIST=YES
ALIGNMENT/ROTATE,XPLUS,TO,LIN2,ABOUT,YPLUS
ALIGNMENT/ROTATE_OFFSET,40.63921,ABOUT,YPLUS
ALIGNMENT/END
Here is the location of the same vector point after the alignment. Notice the z value of the point is still not correct.
PNT2 =AUTO/VECTOR POINT,SHOWALLPARAMS = NO
THEO/-1.2935,0,-1.11018,0,0,1
ACTL/-1.29365,0.00014,-1.11439,0,0,1
TARG/-1.2935,0,-1.11018,0,0,1
I also tried a best fit alighment using only the vector point and selecting rotation only but that didn't work either. Can someone please enlighten me as to the correct procedure for this?
Thank you!!!
t.
Comment