再谈“数据重复”
DMISMN/'Created by [西安力德测量设备有限公司] on 星期日, 八月 09, 2009', 4.0
UNITS/MM, ANGDEC
WKPLAN/XYPLAN
PRCOMP/ON
TECOMP/OFF
FLY/1.0
MODE/PROG, MAN
SNSET/APPRCH, 10.000000
SNSET/RETRCT, 10.000000
SNSET/DEPTH, 0.000000
SNSET/SEARCH, 10.000000
SNSET/CLRSRF, 20.000000
RECALL/D(MCS)
SNSLCT/S(ROOTSN1_1)
GEOALG/CIRCLE, LSTSQR
GEOALG/ARC, LSTSQR
GEOALG/PLANE, LSTSQR
$$
$$
MODE/MAN
F(PLN1) = FEAT/PLANE,CART, 279.697040, 178.902324, -48.890547, -0.008119,$
-0.001582, 0.999966
$$ Measurement points are created through actual points
MEAS/PLANE, F(PLN1), 4
PTMEAS/CART, 281.123124, 235.418008, -48.789530, -0.008119, -0.001582,$
0.999966
PTMEAS/CART, 335.320154, 175.034353, -48.445044, -0.008119, -0.001582,$
0.999966
PTMEAS/CART, 281.458118, 120.928563, -48.967994, -0.008119, -0.001582,$
0.999966
PTMEAS/CART, 220.886764, 184.228373, -49.359621, -0.008119, -0.001582,$
0.999966
ENDMES
OUTPUT/FA(PLN1), TA(TCORTOL8), TA(TCORTOL10), TA(ZCTL)
F(CIR1) = FEAT/CIRCLE,OUTER,CART, 278.449540, 178.590059, -51.356284,$
-0.008119, -0.001582, 0.999966, 131.617777
$$ Measurement points are created through actual points
MEAS/CIRCLE, F(CIR1), 4
PTMEAS/CART, 275.168715, 244.317071, -51.278907, -0.049854, 0.998756,$
0.001176
PTMEAS/CART, 344.255071, 178.193569, -50.822612, 0.999949, -0.006025,$
0.008109
PTMEAS/CART, 276.870009, 112.800233, -51.473224, -0.024002, -0.999710,$
-0.001777
PTMEAS/CART, 212.650249, 177.602113, -51.892097, -0.999854, -0.015012,$
-0.008142
ENDMES
OUTPUT/FA(CIR1), TA(TDIAM41), TA(TPOS2D1)
D(CRD1) = TRANS/XORIG, FA(CIR1), YORIG, FA(CIR1), ZORIG, FA(PLN1)
MODE/PROG,MAN
GOTO/-76.816878, -0.997807, 38.548933
GOTO/-11.405994, -6.057453, 38.548433
GOTO/-11.405627, -6.057423, -5.604340
GOTO/-33.836101, 33.744768, -5.599840
GOTO/-33.835601, 33.743268, -1.500000
GOTO/-33.831589, 33.735719, -1.500000
GOTO/-32.938070, 34.413721, -1.498815
GOTO/-36.417144, 36.952645, -2.500000
GOTO/-36.412147, 36.944657, -3.500000
GOTO/-35.388128, 37.084179, -3.501827
F(CIR2) = FEAT/CIRCLE,INNER,CART, -0.409947, 0.038648, -3.502036, -0.008119,$
-0.001582, 0.999966, 106.893541
$$ Measurement points are created through actual points
MEAS/CIRCLE, F(CIR2), 4
PTMEAS/CART, -37.112350, 38.890095, -3.738552, 0.686709, -0.726919, 0.004425
GOTO/ 33.280825, 33.237055, -3.501327
GOTO/ 36.564394, 34.933572, -3.501827
PTMEAS/CART, 38.198946, 36.995004, -3.130071, -0.722380, -0.691461,$
-0.006960
GOTO/ 30.527266, -31.205105, -3.501827
PTMEAS/CART, 36.465295, -38.648780, -3.263856, -0.689943, 0.723850,$
-0.004456
GOTO/ -36.164644, -34.642858, -3.501827
PTMEAS/CART, -39.144564, -36.785906, -3.874813, 0.724733, 0.688995, 0.006975
ENDMES
OUTPUT/FA(CIR2), TA(TDIAM41), TA(TPOS2D1)
GOTO/-31.383543, -28.981878, -3.501327
GOTO/-5.835003, 47.991886, -3.501327
GOTO/-5.057486, 42.460970, -3.501827
F(GCV1) = FEAT/GCURVE,CART, -5.900504, 52.199828, -3.501327, -0.008119,$
-0.001582, 0.999966
$$ Measurement points are created through actual points
MEAS/GCURVE, F(GCV1), 4
PTMEAS/CART, -6.062120, 53.182991, -3.501083, 0.162207, -0.986757, -0.000245
GOTO/ -3.215447, 43.460979, -3.501827
PTMEAS/CART, -3.248310, 53.424145, -3.477855, 0.032802, -0.999461, -0.001315
GOTO/ -2.460431, 42.572500, -3.501827
PTMEAS/CART, -2.484479, 53.444907, -3.471621, 0.023398, -0.999725, -0.001392
GOTO/ -1.394909, 42.472014, -3.501327
GOTO/ -0.957400, 51.007904, -3.501327
PTMEAS/CART, -0.994854, 53.484504, -3.459463, 0.036755, -0.999323, -0.001283
ENDMES
GOTO/-4.901483, 42.448972, -3.501827
$$ Measurement points are created through nominal points
MEAS/GCURVE, F(GCV1), 15
PTMEAS/CART, -5.892668, 53.209791, -3.499665, 0.150306, -0.988639, -0.000300
PTMEAS/CART, -5.558148, 53.256792, -3.496875, 0.128304, -0.991735, -0.000500
PTMEAS/CART, -5.222031, 53.296755, -3.494082, 0.108203, -0.994129, -0.000700
PTMEAS/CART, -4.885208, 53.330260, -3.491294, 0.090103, -0.995932, -0.000800
PTMEAS/CART, -4.548536, 53.357957, -3.488517, 0.074203, -0.997243, -0.001000
PTMEAS/CART, -4.210812, 53.380672, -3.485739, 0.060398, -0.998174, -0.001100
PTMEAS/CART, -3.872824, 53.399067, -3.482966, 0.048701, -0.998813, -0.001200
PTMEAS/CART, -3.534659, 53.413874, -3.480197, 0.039201, -0.999230, -0.001300
PTMEAS/CART, -3.196381, 53.425823, -3.477431, 0.031800, -0.999493, -0.001300
PTMEAS/CART, -2.858034, 53.435648, -3.474668, 0.026601, -0.999645, -0.001400
PTMEAS/CART, -2.518972, 53.444097, -3.471902, 0.023600, -0.999720, -0.001400
PTMEAS/CART, -2.180571, 53.451869, -3.469142, 0.022701, -0.999741, -0.001400
PTMEAS/CART, -1.841495, 53.459730, -3.466377, 0.024000, -0.999711, -0.001400
PTMEAS/CART, -1.503116, 53.468383, -3.463615, 0.027501, -0.999621, -0.001400
PTMEAS/CART, -1.164780, 53.478574, -3.460852, 0.033098, -0.999451, -0.001300
ENDMES
GOTO/-0.797396, 42.591019, -3.500000
GOTO/40.984488, -20.268627, -3.501327
GOTO/46.376602, -20.623058, -3.501827
GOTO/41.050489, -15.308194, -3.501327
GOTO/44.906570, -20.008082, -3.615828
GOTO/45.467582, -20.519569, -3.500000
大概说说我的意图:
首先PLN1和CIR1是建立坐标系用的,然后再测元素CIR2(4点),然后再测元素曲线GCV1(4点),接着自动生成这条曲线的15点的坐标(自动走),最后想求CIR2的圆心到GCV1上15点的距离。
但第一个求出CIR2的圆心到GCV1上15点的距离后,放上第二个工件再求,发现求出的第二个工件的15个实际距离与第一个工件的15个实际距离完全一样,数据是重复相同的。请问是否我的程序有问题。