首页/文章/ 详情

RationalDMIS极坐标测量

1年前浏览400

 测量一个元素时,有两种坐标系统卡笛尔直角坐标系和极坐标可供选择。卡笛尔坐标系 XY  Z参数来定位元素,极坐标系用角度(A),半径(R),和 H参数定位元素。极坐标基于极点进行计算。极点是元素的原点。半径(R)是被测元素和极点之间的距离。高度(H)决于当前工作面的位置。例如,测量 XY工作面上的元素,其极坐标为   A, R, Z;;假如测的元素在 YZ工作面上,其极坐标为 A, R, X;最后,ZX工作面上的元素是  A, R, Y。如下图所示,为圆 1,圆 2和圆  3的极坐标测量。

实际工作中,很多时候用极半径(R)和极角(A),编程测量特征比较方便,尤其是只给了特征分度圆半径(直径)和等分数(角度标注)的时候。评价的时候,输出结果,根据自己需要进行输出。 

DMISMN/'Created by [天永智能装备股份有限公司] on 星期六, 一月 06, 2018', 4.0

UNITS/MM, ANGDEC

WKPLAN/XYPLAN

PRCOMP/ON

TECOMP/ON

FLY/1.0

MODE/PROG, MAN

SNSET/APPRCH, 3.000000

SNSET/RETRCT, 3.000000

SNSET/DEPTH, 0.000000

SNSET/SEARCH, 10.000000

SNSET/CLRSRF, 50.000000

RECALL/D(MCS)

SNSLCT/S(20-30X2)

GEOALG/CIRCLE, LSTSQR

GEOALG/ARC, LSTSQR

GEOALG/PLANE, LSTSQR

$$

$$

MODE/MAN

F(PLN1) = FEAT/PLANE,CART, 464.3560, -884.1594, -663.7665, 0.000428,$

0.000165, 1.000000

$$ Measurement points are created through actual points

MEAS/PLANE, F(PLN1), 4

  PTMEAS/CART,  415.499961, -818.708356, -663.756383,  0.000428, 0.000165,$

1.000000

  PTMEAS/CART,  402.885688, -945.220521, -663.730155,  0.000428, 0.000165,$

1.000000

  PTMEAS/CART,  519.772254, -945.219448, -663.780228,  0.000428, 0.000165,$

1.000000

  PTMEAS/CART,  519.266245, -827.489473, -663.799390,  0.000428, 0.000165,$

1.000000

ENDMES

D(CRD1) = DATSET/FA(PLN1), ZDIR

D(CRD1) = TRANS/ZORIG, FA(PLN1)

F(CIR1) = FEAT/CIRCLE,INNER,CART, 461.5721, -965.5117, -2.5498, -0.000000,$

-0.000000, 1.000000, 22.0427

$$ Measurement points are created through actual points

MEAS/CIRCLE, F(CIR1), 4

  PTMEAS/CART,  459.188251, -954.751311, -2.549747,  0.216300, -0.976327,$

-0.000000

  PTMEAS/CART,  472.589988, -965.233169, -2.549747,  -0.999681, -0.025276,$

-0.000000

  PTMEAS/CART,  464.451720, -976.150273, -2.549747,  -0.261271, 0.965266,$

-0.000000

  PTMEAS/CART,  450.652646, -967.006477, -2.549747,  0.990761, 0.135621,$

-0.000000

ENDMES

F(CIR2) = FEAT/CIRCLE,INNER,CART, 527.4545, -853.5610, -2.0757, -0.000000,$

-0.000000, 1.000000, 22.0295

$$ Measurement points are created through actual points

MEAS/CIRCLE, F(CIR2), 4

  PTMEAS/CART,  522.763676, -843.595044, -2.075712,  0.425870, -0.904784,$

-0.000000

  PTMEAS/CART,  536.697803, -847.570434, -2.075712,  -0.839170, -0.543870,$

-0.000000

  PTMEAS/CART,  531.285416, -863.888163, -2.075712,  -0.347794, 0.937571,$

-0.000000

  PTMEAS/CART,  516.626846, -855.582473, -2.075712,  0.983016, 0.183521,$

-0.000000

ENDMES

F(CIR3) = FEAT/CIRCLE,INNER,CART, 397.5611, -852.4786, -2.0691, -0.000000,$

-0.000000, 1.000000, 22.0324

$$ Measurement points are created through actual points

MEAS/CIRCLE, F(CIR3), 4

  PTMEAS/CART,  394.750299, -841.827089, -2.069040,  0.255157, -0.966900,$

-0.000000

  PTMEAS/CART,  406.483036, -846.016703, -2.069040,  -0.809888, -0.586585,$

-0.000000

  PTMEAS/CART,  402.142146, -862.497171, -2.069040,  -0.415841, 0.909437,$

-0.000000

  PTMEAS/CART,  387.519905, -857.009596, -2.069040,  0.911500, 0.411300,$

-0.000000

ENDMES

TEXT/OPER, '切换坐标系为极坐标系!'

$$

F(CIR1) = FEAT/CIRCLE,INNER,POL, 75.0000, -0.0000, -2.5498, -0.000000,$

-0.000000, 1.000000, 22.0000

F(CIR2) = FEAT/CIRCLE,INNER,POL, 75.0000, 120.0000, -2.0757, -0.000000,$

-0.000000, 1.000000, 22.0000

F(CIR3) = FEAT/CIRCLE,INNER,POL, 75.0000, 240.0000, -2.0691, -0.000000,$

-0.000000, 1.000000, 22.0000


$$ This sample DMIS Macro is provided by External-Array Software, Inc.

$$ It should be modified for your own use. There is no guarantee for

$$ the quality of this Macro. November, 2003


$$ FUNCION: Move machine CLEAR DIST above the current clear surface 

$$ plane and then move machine parallel to the clear surface

$$ plane to the project point of POINT(TARX, TARY, TARZ) on 

$$ the clear surface plane but CLEAR DIST above the plane

$$ ALL Macro parameters are in PCS and Current UNITS

$$ Last update: 3-1-04 Add mode checking. only works in PROG MODE

$$ Last update: 8-24-04 Clear position is based on the surface of

$$ ruby ball instead of the center of it.


M(EASI_CLEARPLN_GOTO) = MACRO/ISNOM, TARX, TARY, TARZ

DECL/LOCAL, REAL, CCX, CCY, CCZ, CCI, CCJ, CCK

DECL/LOCAL, REAL, CURX, CURY, CURZ, TD, CLRDIST, SDIAM

DECL/LOCAL, CHAR, 255, CLRLABEL, FLABEL, MMODE, SNAME


MMODE = VALUE/MODE

CLRLABEL = VALUE/SNSET, CLRSRF

IF/ ( (LEN(CLRLABEL) .GT. 0) .AND. (MMODE .EQ. 'PROG,MAN') )

CLRDIST = VALUE/SNSET, CLRSRF, DIST

FLABEL = ASSIGN/'FA'

IF/ ISNOM .EQ. 0

FLABEL = ASSIGN/'F'

ENDIF

CCX = OBTAIN/FLABEL(@CLRLABEL), 3

CCY = OBTAIN/FLABEL(@CLRLABEL), 4

CCZ = OBTAIN/FLABEL(@CLRLABEL), 5

CCI = OBTAIN/FLABEL(@CLRLABEL), 6

CCJ = OBTAIN/FLABEL(@CLRLABEL), 7

CCK = OBTAIN/FLABEL(@CLRLABEL), 8

SNAME = VALUE/SNSLCT

SDIAM = OBTAIN/SS(SNAME), 8

CCX = ASSIGN/CCX + CCI * SDIAM/2

CCY = ASSIGN/CCY + CCJ * SDIAM/2

CCZ = ASSIGN/CCZ + CCK * SDIAM/2


CURX = VALUE/GOTO, XAXIS

CURY = VALUE/GOTO, YAXIS

CURZ = VALUE/GOTO, ZAXIS

TD = ASSIGN/(CURX - CCX) * CCI + (CURY - CCY) * CCJ + (CURZ - CCZ) * CCK

IF/ TD .LT. CLRDIST

TD = ASSIGN/(CLRDIST - TD)

GOTO/CURX+CCI*TD, CURY+CCJ*TD, CURZ+CCK*TD

ENDIF

TD = ASSIGN/(TARX - CCX) * CCI + (TARY - CCY) * CCJ + (TARZ - CCZ) * CCK

IF/ TD .LT. CLRDIST

TD = ASSIGN/(CLRDIST - TD)

GOTO/TARX+CCI*TD, TARY+CCJ*TD, TARZ+CCK*TD

ENDIF

ENDIF

ENDMAC


DMESW/COMAND,'D(CRD2) = LOCATE/XYDIR, ZAXIS, FA(CIR1), XYZAXI, FA(CIR2),$

XYZAXI, FA(CIR3), XYZAXI'

MODE/PROG,MAN

SNSET/APPRCH, 3

SNSET/RETRCT, 3

SNSET/DEPTH, 0.0000

SNSET/SEARCH, 10.0000

SNSET/CLRSRF, 50

GOTO/-34.208994, -16.445303, 163.389464

GOTO/-68.550425, -50.072598, 27.279141

F(PLN2) = FEAT/PLANE,CART, -15.7122, -8.6084, -0.0016, 0.000088, -0.000008,$

1.000000

$$ Measurement points are created through actual points

MEAS/PLANE, F(PLN2), 4

  PTMEAS/CART,  -68.556478, -50.024193, 0.002707,  0.000088, -0.000008, 1.000000

  GOTO/CART,  -68.546796, -50.036983, 34.988226

  GOTO/CART,  -69.172372, 25.218074, 35.000465

  PTMEAS/CART,  -69.182607, 25.236864, 0.003335,  0.000088, -0.000008, 1.000000

  GOTO/CART,  -69.167794, 25.209764, 57.061661

  GOTO/CART,  22.725162, 58.380142, 57.068372

  PTMEAS/CART,  22.696791, 58.413635, -0.004528,  0.000088, -0.000008, 1.000000

  GOTO/CART,  22.710982, 58.389930, 54.675857

  GOTO/CART,  52.201588, -68.084717, 54.620893

  PTMEAS/CART,  52.193402, -68.059981, -0.008095,  0.000088, -0.000008, 1.000000

  GOTO/CART,  52.208593, -68.087660, 62.550963

  GOTO/CART,  10.211719, -9.866483, 185.461005

ENDMES

F(CIR4) = FEAT/CIRCLE,INNER,POL, 75.0000, 0.0000, -3.0000, 0.000000,$

0.000000, 1.000000, 22.0000

$$ Measurement points are created through nominal points

MEAS/CIRCLE, F(CIR4), 4

  GOTO/POL,  68.080678, 359.114565, 47.993117

  GOTO/POL,  68.080678, 359.114565, 47.000000

  PTMEAS/POL,  64.145965, 358.524600, -3.000000,  0.988671, 0.150096, -0.000000

  GOTO/POL,  68.217930, 1.410360, -3.000000

  GOTO/POL,  69.481950, 3.427927, -3.000000

  GOTO/POL,  71.628533, 4.803053, -3.000000

  PTMEAS/POL,  74.150239, 8.433751, -3.000000,  0.150096, -0.988671, 0.000000

  GOTO/POL,  76.980212, 5.069838, -3.000000

  GOTO/POL,  79.355376, 4.077315, -3.000000

  GOTO/POL,  81.078512, 2.561118, -3.000000

  PTMEAS/POL,  85.891182, 1.101817, -3.000000,  -0.988671, -0.150096, 0.000000

  GOTO/POL,  81.819966, 358.824139, -3.000000

  GOTO/POL,  80.749312, 357.050847, -3.000000

  GOTO/POL,  78.851418, 355.637808, -3.000000

  PTMEAS/POL,  77.419262, 351.924794, -3.000000,  -0.150096, 0.988671, 0.000000

  GOTO/POL,  76.366914, 354.795389, 47.000000

ENDMES

F(CIR5) = FEAT/CIRCLE,INNER,POL, 75.0000, 120.0000, -3.0000, 0.000000,$

0.000000, 1.000000, 22.0000

$$ Measurement points are created through nominal points

MEAS/CIRCLE, F(CIR5), 4

  GOTO/POL,  76.364257, 354.806225, 47.993117

  GOTO/POL,  78.640842, 124.467516, 47.993117

  GOTO/POL,  78.640842, 124.467516, 47.000000

  PTMEAS/POL,  80.914088, 126.825673, -3.000000,  0.999861, 0.016699, 0.000000

  GOTO/POL,  80.604999, 123.098917, -3.000000

  GOTO/POL,  81.759678, 121.349813, -3.000000

  GOTO/POL,  81.965098, 119.441631, -3.000000

  PTMEAS/POL,  84.784918, 116.388551, -3.000000,  0.016699, -0.999861, 0.000000

  GOTO/POL,  79.546977, 116.044611, -3.000000

  GOTO/POL,  77.220413, 114.994944, -3.000000

  GOTO/POL,  74.527050, 114.640470, -3.000000

  PTMEAS/POL,  70.320057, 112.139942, -3.000000,  -0.999861, -0.016699,$

-0.000000

  GOTO/POL,  69.649314, 116.413036, -3.000000

  GOTO/POL,  68.290174, 118.383886, -3.000000

  GOTO/POL,  68.043483, 120.672616, -3.000000

  PTMEAS/POL,  65.601201, 124.669620, -3.000000,  -0.016699, 0.999861, -0.000000

  GOTO/POL,  68.958324, 122.827706, 47.000000

ENDMES

F(CIR6) = FEAT/CIRCLE,INNER,POL, 75.0000, 240.0000, -3.0000, 0.000000,$

0.000000, 1.000000, 22.0000

$$ Measurement points are created through nominal points

MEAS/CIRCLE, F(CIR6), 4

  GOTO/POL,  68.971279, 122.822135, 47.993117

  GOTO/POL,  78.833316, 235.628455, 47.993117

  GOTO/POL,  78.833316, 235.628455, 47.000000

  PTMEAS/POL,  81.207588, 233.329228, -3.000000,  0.999862, 0.016599, 0.000000

  GOTO/POL,  76.345339, 234.791427, -3.000000

  GOTO/POL,  73.613902, 234.701860, -3.000000

  GOTO/POL,  71.050949, 235.455852, -3.000000

  PTMEAS/POL,  65.810252, 235.068100, -3.000000,  0.016599, -0.999862, 0.000000

  GOTO/POL,  68.077042, 239.133006, -3.000000

  GOTO/POL,  68.223818, 241.428346, -3.000000

  GOTO/POL,  69.496194, 243.441978, -3.000000

  PTMEAS/POL,  69.980910, 247.747037, -3.000000,  -0.999862, -0.016599, 0.000000

  GOTO/POL,  74.293890, 245.352810, -3.000000

  GOTO/POL,  77.001210, 245.064450, -3.000000

  GOTO/POL,  79.372259, 244.066895, -3.000000

  PTMEAS/POL,  84.622755, 243.833614, -3.000000,  -0.016599, 0.999862, 0.000000

  GOTO/POL,  81.089107, 242.547324, 47.000000

ENDMES

F(PROJCI1) = FEAT/CIRCLE,INNER,POL, 75, 0, -0.0000, 0.000000,$

-0.000000, 1.000000, 22.0000

CONST/CIRCLE,F(PROJCI1),PROJCT,FA(CIR4),FA(PLN2)

F(PROJCI2) = FEAT/CIRCLE,INNER,POL, 75, 120, 0.0000, 0.0000,$

-0.000000, 1.000000, 22.0000

CONST/CIRCLE,F(PROJCI2),PROJCT,FA(CIR5),FA(PLN2)

F(PROJCI3) = FEAT/CIRCLE,INNER,POL, 75, 240.000 , -0.0000, 0.000000,$

-0.000000, 1.000000, 22.0000

CONST/CIRCLE,F(PROJCI3),PROJCT,FA(CIR6),FA(PLN2)

DMESW/COMAND,'D(CRD3) = LOCATE/XYDIR, ZAXIS, FA(PROJCI1), XYZAXI,$

FA(PROJCI2), XYZAXI, FA(PROJCI3), XYZAXI'

MODE/PROG,MAN

SNSET/APPRCH, 3

SNSET/RETRCT, 3

SNSET/DEPTH, 0.0000

SNSET/SEARCH, 10.0000

SNSET/CLRSRF, 50

F(J-1) = FEAT/CIRCLE,INNER,POL, 75.0000, 0.0000, -3.0000, 0.000000,$

0.000000, 1.000000, 22.0000

$$ Measurement points are created through nominal points

MEAS/CIRCLE, F(J-1), 4

  GOTO/POL,  81.078468, 242.539042, 47.993117

  GOTO/POL,  67.994177, 359.902207, 47.993117

  GOTO/POL,  67.994177, 359.902207, 47.000000

  PTMEAS/POL,  64.001768, 359.836900, -3.000000,  0.999862, 0.016599, 0.000000

  GOTO/POL,  68.531310, 2.152365, -3.000000

  GOTO/POL,  70.133422, 3.983304, -3.000000

  GOTO/POL,  72.497283, 5.087005, -3.000000

  PTMEAS/POL,  75.621899, 8.362792, -3.000000,  0.016599, -0.999862, 0.000000

  GOTO/POL,  77.847101, 4.802188, -3.000000

  GOTO/POL,  80.030478, 3.607777, -3.000000

  GOTO/POL,  81.475941, 1.961159, -3.000000

  PTMEAS/POL,  85.998684, 0.121382, -3.000000,  -0.999862, -0.016599, -0.000000

  GOTO/POL,  81.557663, 358.191535, -3.000000

  GOTO/POL,  80.184137, 356.516645, -3.000000

  GOTO/POL,  78.053422, 355.275962, -3.000000

  PTMEAS/POL,  75.982422, 351.677170, -3.000000,  -0.016599, 0.999862, 0.000000

  GOTO/POL,  75.442059, 354.671554, 47.000000

ENDMES

F(J-2) = FEAT/CIRCLE,INNER,POL, 75.0000, 120.0000, -3.0000, 0.000000,$

0.000000, 1.000000, 22.0000

$$ Measurement points are created through nominal points

MEAS/CIRCLE, F(J-2), 4

  GOTO/POL,  75.440089, 354.682356, 47.993117

  GOTO/POL,  78.641348, 124.467271, 47.993117

  GOTO/POL,  78.641348, 124.467271, 47.000000

  PTMEAS/POL,  80.914861, 126.825277, -3.000000,  0.999862, 0.016599, 0.000000

  GOTO/POL,  80.605351, 123.098564, -3.000000

  GOTO/POL,  81.759832, 121.349401, -3.000000

  GOTO/POL,  81.965034, 119.441208, -3.000000

  PTMEAS/POL,  84.784509, 116.387969, -3.000000,  0.016599, -0.999862, 0.000000

  GOTO/POL,  79.546528, 116.044316, -3.000000

  GOTO/POL,  77.219846, 114.994783, -3.000000

  GOTO/POL,  74.526442, 114.640480, -3.000000

  PTMEAS/POL,  70.319167, 112.140223, -3.000000,  -0.999862, -0.016599,$

-0.000000

  GOTO/POL,  69.648907, 116.413407, -3.000000

  GOTO/POL,  68.289990, 118.384372, -3.000000

  GOTO/POL,  68.043559, 120.673123, -3.000000

  PTMEAS/POL,  65.601731, 124.670313, -3.000000,  -0.016599, 0.999862, 0.000000

  GOTO/POL,  68.958645, 122.828135, 47.000000

ENDMES

F(J-3) = FEAT/CIRCLE,INNER,POL, 75.0000, 240.0000, -3.0000, 0.000000,$

0.000000, 1.000000, 22.0000

$$ Measurement points are created through nominal points

MEAS/CIRCLE, F(J-3), 4

  GOTO/POL,  68.970363, 122.822691, 47.993117

  GOTO/POL,  78.832826, 235.628203, 47.993117

  GOTO/POL,  78.832826, 235.628203, 47.000000

  PTMEAS/POL,  81.206842, 233.328823, -3.000000,  0.999862, 0.016599, 0.000000

  GOTO/POL,  76.344756, 234.791321, -3.000000

  GOTO/POL,  73.613309, 234.701931, -3.000000

  GOTO/POL,  71.050441, 235.456109, -3.000000

  PTMEAS/POL,  65.809700, 235.068764, -3.000000,  0.016599, -0.999862, 0.000000

  GOTO/POL,  68.076945, 239.133504, -3.000000

  GOTO/POL,  68.223978, 241.428832, -3.000000

  GOTO/POL,  69.496580, 243.442357, -3.000000

  PTMEAS/POL,  69.981775, 247.747341, -3.000000,  -0.999862, -0.016599,$

-0.000000

  GOTO/POL,  74.294488, 245.352835, -3.000000

  GOTO/POL,  77.001776, 245.064304, -3.000000

  GOTO/POL,  79.372714, 244.066613, -3.000000

  PTMEAS/POL,  84.623184, 243.833046, -3.000000,  -0.016599, 0.999862, 0.000000

  GOTO/POL,  81.089392, 242.546951, 47.000000

ENDMES

F(J-4) = FEAT/CIRCLE,INNER,POL, 0.0000, 0.0000, -3.0000, 0.000000, 0.000000,$

1.000000, 50.0000

$$ Measurement points are created through nominal points

MEAS/CIRCLE, F(J-4), 4

  GOTO/POL,  81.077243, 242.542183, 47.993117

  GOTO/POL,  21.006883, 180.949100, 47.993117

  GOTO/POL,  21.006883, 180.949100, 47.000000

  PTMEAS/POL,  25.000000, 180.949100, -3.000000,  0.999862, 0.016599, 0.000000

  GOTO/POL,  21.006883, 158.449100, -3.000000

  GOTO/POL,  21.006883, 135.949100, -3.000000

  GOTO/POL,  21.006883, 113.449100, -3.000000

  PTMEAS/POL,  25.000000, 90.949100, -3.000000,  0.016599, -0.999862, 0.000000

  GOTO/POL,  21.006883, 68.449100, -3.000000

  GOTO/POL,  21.006883, 45.949100, -3.000000

  GOTO/POL,  21.006883, 23.449100, -3.000000

  PTMEAS/POL,  25.000000, 0.949100, -3.000000,  -0.999862, -0.016599, -0.000000

  GOTO/POL,  21.006883, 338.449100, -3.000000

  GOTO/POL,  21.006883, 315.949100, -3.000000

  GOTO/POL,  21.006883, 293.449100, -3.000000

  PTMEAS/POL,  25.000000, 270.949100, -3.000000,  -0.016599, 0.999862, 0.000000

  GOTO/POL,  21.006883, 270.949100, 47.000000

ENDMES

F(J-5) = FEAT/CIRCLE,INNER,POL, 43.5000, 112.0000, -3.0000, 0.000000,$

0.000000, 1.000000, 20.0000

$$ Measurement points are created through nominal points

MEAS/CIRCLE, F(J-5), 4

  GOTO/POL,  20.992943, 270.944966, 47.993117

  GOTO/POL,  46.000543, 118.999915, 47.993117

  GOTO/POL,  46.000543, 118.999915, 47.000000

  PTMEAS/POL,  48.007850, 123.209532, -3.000000,  0.999862, 0.016599, 0.000000

  GOTO/POL,  47.837261, 117.221575, -3.000000

  GOTO/POL,  49.050379, 114.849389, -3.000000

  GOTO/POL,  49.505196, 112.175795, -3.000000

  PTMEAS/POL,  52.954574, 108.110547, -3.000000,  0.016599, -0.999862, 0.000000

  GOTO/POL,  48.032195, 107.056918, -3.000000

  GOTO/POL,  46.265185, 105.185340, -3.000000

  GOTO/POL,  44.062992, 104.167281, -3.000000

  PTMEAS/POL,  40.984709, 98.837742, -3.000000,  -0.999862, -0.016599, -0.000000

  GOTO/POL,  39.601285, 105.688451, -3.000000

  GOTO/POL,  38.088393, 108.329549, -3.000000

  GOTO/POL,  37.495345, 111.767897, -3.000000

  PTMEAS/POL,  34.355686, 118.001423, -3.000000,  -0.016599, 0.999862, 0.000000

  GOTO/POL,  37.955390, 115.258880, 47.000000

ENDMES

F(J-6) = FEAT/CIRCLE,INNER,POL, 43.5000, 292.0000, -3.0000, 0.000000,$

0.000000, 1.000000, 20.0000

$$ Measurement points are created through nominal points

MEAS/CIRCLE, F(J-6), 4

  GOTO/POL,  37.968551, 115.252958, 47.993117

  GOTO/POL,  41.720696, 284.277831, 47.993117

  GOTO/POL,  41.720696, 284.277831, 47.000000

  PTMEAS/POL,  40.984732, 278.837737, -3.000000,  0.999862, 0.016599, 0.000000

  GOTO/POL,  39.601296, 285.688439, -3.000000

  GOTO/POL,  38.088399, 288.329530, -3.000000

  GOTO/POL,  37.495346, 291.767875, -3.000000

  PTMEAS/POL,  34.355675, 298.001388, -3.000000,  0.016599, -0.999862, 0.000000

  GOTO/POL,  39.364612, 298.035145, -3.000000

  GOTO/POL,  41.427006, 299.614991, -3.000000

  GOTO/POL,  43.762048, 299.886924, -3.000000

  PTMEAS/POL,  48.007830, 303.209547, -3.000000,  -0.999862, -0.016599,$

-0.000000

  GOTO/POL,  47.837252, 297.221588, -3.000000

  GOTO/POL,  49.050373, 294.849404, -3.000000

  GOTO/POL,  49.505195, 292.175812, -3.000000

  PTMEAS/POL,  52.954581, 288.110571, -3.000000,  -0.016599, 0.999862, 0.000000

  GOTO/POL,  49.153373, 289.484112, 47.000000

ENDMES

T(TCORTOL1) = TOL/CORTOL,RADIAL, -0.0200, 0.0200

T(TCORTOL2) = TOL/CORTOL,ANGLE, -0.0200, 0.0200

OUTPUT/FA(J-1),TA(TCORTOL1),TA(TCORTOL2)

OUTPUT/FA(J-2),TA(TCORTOL1),TA(TCORTOL2)

OUTPUT/FA(J-3),TA(TCORTOL1),TA(TCORTOL2)

OUTPUT/FA(J-4),TA(TCORTOL1),TA(TCORTOL2)

OUTPUT/FA(J-5),TA(TCORTOL1),TA(TCORTOL2)

OUTPUT/FA(J-6),TA(TCORTOL1),TA(TCORTOL2)

$$

TEXT/OPER, '翻面测量!'

$$

RECALL/D(MCS)

$$

MODE/MAN

F(PLN3) = FEAT/PLANE,CART, 463.5256, -893.2781, -663.7959, 0.000081,$

-0.000292, 1.000000

$$ Measurement points are created through actual points

MEAS/PLANE, F(PLN3), 4

  PTMEAS/CART,  428.142585, -825.193528, -663.773174,  0.000081, -0.000292,$

1.000000

  PTMEAS/CART,  508.511853, -827.840536, -663.780466,  0.000081, -0.000292,$

1.000000

  PTMEAS/CART,  508.558352, -963.477880, -663.820054,  0.000081, -0.000292,$

1.000000

  PTMEAS/CART,  408.889660, -956.600297, -663.809963,  0.000081, -0.000292,$

1.000000

ENDMES

D(CRD4) = DATSET/FA(PLN3), -ZDIR

D(CRD4) = TRANS/ZORIG, FA(PLN3)

$$ Measurement points are created through actual points

$$ Measurement points are created through actual points

$$ Measurement points are created through actual points

F(P-1) = FEAT/CIRCLE,INNER,CART, -114.4819, 1067.0033, 9.6660, -0.000000,$

-0.000000, -1.000000, 22.0342

$$ Measurement points are created through actual points

MEAS/CIRCLE, F(P-1), 4

  PTMEAS/CART,  -112.948497, 1056.093466, 9.665998,  -0.139178, 0.990267,$

-0.000000

  PTMEAS/CART,  -104.421031, 1071.493028, 9.665998,  -0.913198, -0.407517,$

-0.000000

  PTMEAS/CART,  -119.049099, 1077.029183, 9.665998,  0.414560, -0.910022,$

-0.000000

  PTMEAS/CART,  -125.249559, 1064.672450, 9.665998,  0.977362, 0.211572,$

-0.000000

ENDMES

F(P-2) = FEAT/CIRCLE,INNER,CART, -90.2563, 939.3790, 9.6755, -0.000000,$

-0.000000, -1.000000, 22.0434

$$ Measurement points are created through actual points

MEAS/CIRCLE, F(P-2), 4

  PTMEAS/CART,  -87.781963, 928.638677, 9.675482,  -0.224495, 0.974475,$

-0.000000

  PTMEAS/CART,  -79.416826, 941.374987, 9.675482,  -0.983466, -0.181093,$

-0.000000

  PTMEAS/CART,  -95.729614, 948.945643, 9.675482,  0.496598, -0.867981,$

-0.000000

  PTMEAS/CART,  -99.050842, 932.735763, 9.675482,  0.797933, 0.602746, -0.000000

ENDMES

F(P-3) = FEAT/CIRCLE,INNER,CART, 8.1480, 1024.1713, 10.7217, -0.000000,$

-0.000000, -1.000000, 22.0433

$$ Measurement points are created through actual points

MEAS/CIRCLE, F(P-3), 4

  PTMEAS/CART,  9.946141, 1013.297355, 10.721796,  -0.163141, 0.986603,$

-0.000000

  PTMEAS/CART,  18.699462, 1027.356408, 10.721796,  -0.957334, -0.288983,$

-0.000000

  PTMEAS/CART,  5.107827, 1034.765385, 10.721796,  0.275842, -0.961203,$

-0.000000

  PTMEAS/CART,  -1.244447, 1018.404407, 10.721796,  0.852187, 0.523237,$

-0.000000

ENDMES

F(P-1) = FEAT/CIRCLE,INNER,POL, 75.0000, 0.0000, 9.6660, -0.000000,$

-0.000000, -1.000000, 22.0000

F(P-2) = FEAT/CIRCLE,INNER,POL, 75.0000, 120.0000, 9.6755, -0.000000,$

-0.000000, -1.000000, 22.0000

F(P-3) = FEAT/CIRCLE,INNER,POL, 75.0000, 240.0000, 10.7217, -0.000000,$

-0.000000, -1.000000, 22.0000

DMESW/COMAND,'D(CRD5) = LOCATE/XYDIR, ZAXIS, FA(P-1), XYZAXI, FA(P-2),$

XYZAXI, FA(P-3), XYZAXI'

MODE/PROG,MAN

SNSET/APPRCH, 3

SNSET/RETRCT, 3

SNSET/DEPTH, 0.0000

SNSET/SEARCH, 10.0000

SNSET/CLRSRF, 50

 

GOTO/12.557555, 10.649547, -138.381327

GOTO/-66.132074, 48.845187, -35.503403

F(PLN4) = FEAT/PLANE,CART, -15.4265, 6.8131, -0.0019, -0.000013, -0.000023,$

-1.000000

$$ Measurement points are created through nominal points

MEAS/PLANE, F(PLN4), 4

  GOTO/CART,  78.995466, 5.756098, 7.006883

  PTMEAS/CART,  81.272422, 9.036411, 11.000000,  -0.570203, -0.821504, 0.000000

  GOTO/CART,  80.894093, 3.788943, 11.000000

  GOTO/CART,  81.895397, 1.244955, 11.000000

  GOTO/CART,  81.846940, -1.488565, 11.000000

  PTMEAS/CART,  84.036411, -6.272422, 11.000000,  -0.821504, 0.570203, 0.000000

  GOTO/CART,  78.788942, -5.894093, 11.000000

  GOTO/CART,  76.244955, -6.895398, 11.000000

  GOTO/CART,  73.511435, -6.846940, 11.000000

  PTMEAS/CART,  68.727579, -9.036411, 11.000000,  0.570203, 0.821504, -0.000000

  GOTO/CART,  69.105908, -3.788943, 11.000000

  GOTO/CART,  68.104603, -1.244955, 11.000000

  GOTO/CART,  68.153061, 1.488565, 11.000000

  PTMEAS/CART,  65.963588, 6.272422, 11.000000,  0.821504, -0.570203, 0.000000

ENDMES

F(K-1) = FEAT/CIRCLE,INNER,POL, 75.0000, 0.0000, 11.0000, 0.000000,$

0.000000, -1.000000, 22.0000

$$ Measurement points are created through nominal points

MEAS/CIRCLE, F(K-1), 4

  GOTO/POL,  82.006883, 0.000000, -39.993117

  GOTO/POL,  82.006883, 0.000000, -39.000000

  PTMEAS/POL,  86.000000, 0.000000, 11.000000,  -1.000000, -0.000000, 0.000000

  GOTO/POL,  81.517629, 1.885011, 11.000000

  GOTO/POL,  80.107981, 3.545961, 11.000000

  GOTO/POL,  77.950684, 4.763689, 11.000000

  PTMEAS/POL,  75.802375, 8.343892, 11.000000,  -0.000000, -1.000000, 0.000000

  GOTO/POL,  72.607739, 5.115134, 11.000000

  GOTO/POL,  70.220397, 4.046041, 11.000000

  GOTO/POL,  68.578925, 2.240821, 11.000000

  PTMEAS/POL,  64.000000, 0.000000, 11.000000,  1.000000, 0.000000, 0.000000

  GOTO/POL,  68.578925, 357.759179, 11.000000

  GOTO/POL,  70.220397, 355.953959, 11.000000

  GOTO/POL,  72.607739, 354.884866, 11.000000

  PTMEAS/POL,  75.802375, 351.656108, 11.000000,  0.000000, 1.000000, -0.000000

  GOTO/POL,  75.326598, 354.662628, -39.000000

ENDMES

F(K-2) = FEAT/CIRCLE,INNER,POL, 75.0000, 120.0000, 11.0000, 0.000000,$

0.000000, -1.000000, 22.0000

$$ Measurement points are created through nominal points

MEAS/CIRCLE, F(K-2), 4

  GOTO/POL,  75.324077, 354.651055, -39.993117

  GOTO/POL,  71.753601, 115.148755, -39.993117

  GOTO/POL,  71.753601, 115.148755, -39.000000

  PTMEAS/POL,  70.149829, 112.195178, 11.000000,  -1.000000, -0.000000, 0.000000

  GOTO/POL,  74.410403, 114.643079, 11.000000

  GOTO/POL,  77.111105, 114.964603, 11.000000

  GOTO/POL,  79.460201, 115.988380, 11.000000

  PTMEAS/POL,  84.705024, 116.277089, 11.000000,  -0.000000, -1.000000, 0.000000

  GOTO/POL,  81.952041, 119.360563, 11.000000

  GOTO/POL,  81.788240, 121.270535, 11.000000

  GOTO/POL,  80.671787, 123.030923, 11.000000

  PTMEAS/POL,  81.061714, 126.748926, 11.000000,  1.000000, 0.000000, 0.000000

  GOTO/POL,  76.231783, 125.228569, 11.000000

  GOTO/POL,  73.498777, 125.283564, 11.000000

  GOTO/POL,  70.952585, 124.493571, 11.000000

  PTMEAS/POL,  65.704330, 124.801762, 11.000000,  0.000000, 1.000000, -0.000000

  GOTO/POL,  69.020838, 122.909543, -39.000000

ENDMES

F(K-3) = FEAT/CIRCLE,INNER,POL, 75.0000, 240.0000, 11.0000, 0.000000,$

0.000000, -1.000000, 22.0000

$$ Measurement points are created through nominal points

MEAS/CIRCLE, F(K-3), 4

  GOTO/POL,  69.011388, 122.918398, -39.993117

  GOTO/POL,  71.753600, 244.851245, -39.993117

  GOTO/POL,  71.753600, 244.851245, -39.000000

  PTMEAS/POL,  70.149828, 247.804822, 11.000000,  -1.000000, -0.000000, 0.000000

  GOTO/POL,  69.571945, 243.515057, 11.000000

  GOTO/POL,  68.255964, 241.522483, 11.000000

  GOTO/POL,  68.059208, 239.230028, 11.000000

  PTMEAS/POL,  65.704330, 235.198238, 11.000000,  -0.000000, -1.000000, 0.000000

  GOTO/POL,  70.952585, 235.506429, 11.000000

  GOTO/POL,  73.498778, 234.716436, 11.000000

  GOTO/POL,  76.231784, 234.771431, 11.000000

  PTMEAS/POL,  81.061715, 233.251074, 11.000000,  1.000000, 0.000000, 0.000000

  GOTO/POL,  80.671787, 236.969077, 11.000000

  GOTO/POL,  81.788240, 238.729465, 11.000000

  GOTO/POL,  81.952041, 240.639437, 11.000000

  PTMEAS/POL,  84.705024, 243.722911, 11.000000,  0.000000, 1.000000, -0.000000

  GOTO/POL,  81.143802, 242.474560, -39.000000

ENDMES

F(PROJCI4) = FEAT/CIRCLE,INNER,POL, 75, 0, 0,0,$

-0.00000, -1.000000, 22.0000

CONST/CIRCLE,F(PROJCI4),PROJCT,FA(K-1),FA(PLN4)

F(PROJCI5) = FEAT/CIRCLE,INNER,POL, 75, 120, 0, 0,$

-0.00000, -1.000000, 22.0000

CONST/CIRCLE,F(PROJCI5),PROJCT,FA(K-2),FA(PLN4)

F(PROJCI6) = FEAT/CIRCLE,INNER,POL, 75.0000, 240.0000, 0.0000, -0.0000,$

-0.00000, -1.000000, 22.0000

CONST/CIRCLE,F(PROJCI6),PROJCT,FA(K-3),FA(PLN4)

DMESW/COMAND,'D(CRD6) = LOCATE/XYDIR, ZAXIS, FA(PROJCI4), XYZAXI,$

FA(PROJCI5), XYZAXI, FA(PROJCI6), XYZAXI'

MODE/PROG,MAN

SNSET/APPRCH, 3

SNSET/RETRCT, 3

SNSET/DEPTH, 0.0000

SNSET/SEARCH, 10.0000

SNSET/CLRSRF, 50

F(L-1) = FEAT/CIRCLE,INNER,POL, 60.0000, 35.0000, 2.5000, 0.000000,$

0.000000, -1.000000, 10.0000

$$ Measurement points are created through nominal points

MEAS/CIRCLE, F(L-1), 4

  GOTO/POL,  60.272503, 326.037749, -48.493117

  GOTO/POL,  60.827534, 34.456002, -48.493117

  GOTO/POL,  60.827534, 34.456002, -47.500000

  PTMEAS/POL,  64.159897, 32.438095, 2.500000,  -1.000000, -0.000000, -0.000000

  PTMEAS/POL,  63.001145, 38.727487, 2.500000,  -0.000000, -1.000000, 0.000000

  PTMEAS/POL,  55.977743, 37.936681, 2.500000,  1.000000, 0.000000, 0.000000

  PTMEAS/POL,  57.278755, 30.899514, 2.500000,  0.000000, 1.000000, -0.000000

  GOTO/POL,  59.428202, 34.204778, -47.500000

ENDMES

F(L-2) = FEAT/CIRCLE,INNER,POL, 60.0000, 145.0000, 2.5000, 0.000000,$

0.000000, -1.000000, 10.0000

$$ Measurement points are created through nominal points

MEAS/CIRCLE, F(L-2), 4

  GOTO/POL,  59.417037, 34.195633, -48.493117

  GOTO/POL,  59.178028, 144.440835, -48.493117

  GOTO/POL,  59.178028, 144.440835, -47.500000

  PTMEAS/POL,  55.977755, 142.063302, 2.500000,  -1.000000, -0.000000, -0.000000

  PTMEAS/POL,  63.001161, 141.272525, 2.500000,  -0.000000, -1.000000, 0.000000

  PTMEAS/POL,  64.159885, 147.561921, 2.500000,  1.000000, 0.000000, 0.000000

  PTMEAS/POL,  57.278737, 149.100475, 2.500000,  0.000000, 1.000000, -0.000000

  GOTO/POL,  59.428198, 145.795220, -47.500000

ENDMES

F(L-3) = FEAT/CIRCLE,INNER,POL, 60.0000, 215.0000, 2.5000, 0.000000,$

0.000000, -1.000000, 10.0000

$$ Measurement points are created through nominal points

MEAS/CIRCLE, F(L-3), 4

  GOTO/POL,  59.422848, 145.808333, -48.493117

  GOTO/POL,  59.178028, 215.559165, -48.493117

  GOTO/POL,  59.178028, 215.559165, -47.500000

  PTMEAS/POL,  55.977755, 217.936698, 2.500000,  -1.000000, -0.000000, -0.000000

  PTMEAS/POL,  57.278737, 210.899524, 2.500000,  -0.000000, -1.000000, 0.000000

  PTMEAS/POL,  64.159885, 212.438079, 2.500000,  1.000000, 0.000000, 0.000000

  PTMEAS/POL,  63.001161, 218.727475, 2.500000,  0.000000, 1.000000, -0.000000

  GOTO/POL,  60.583140, 215.780059, -47.500000

ENDMES

F(L-4) = FEAT/CIRCLE,INNER,POL, 60.0000, 325.0000, 2.5000, 0.000000,$

0.000000, -1.000000, 10.0000

$$ Measurement points are created through nominal points

MEAS/CIRCLE, F(L-4), 4

  GOTO/POL,  60.593217, 215.788250, -48.493117

  GOTO/POL,  60.827534, 325.543998, -48.493117

  GOTO/POL,  60.827534, 325.543998, -47.500000

  PTMEAS/POL,  64.159897, 327.561905, 2.500000,  -1.000000, -0.000000, -0.000000

  PTMEAS/POL,  57.278755, 329.100486, 2.500000,  -0.000000, -1.000000, 0.000000

  PTMEAS/POL,  55.977743, 322.063319, 2.500000,  1.000000, 0.000000, 0.000000

  PTMEAS/POL,  63.001145, 321.272513, 2.500000,  0.000000, 1.000000, -0.000000

  GOTO/POL,  60.583137, 324.219938, -47.500000

ENDMES

OUTPUT/FA(L-1),TA(TCORTOL1),TA(TCORTOL2)

OUTPUT/FA(L-2),TA(TCORTOL1),TA(TCORTOL2)

OUTPUT/FA(L-3),TA(TCORTOL1),TA(TCORTOL2)

OUTPUT/FA(L-4),TA(TCORTOL1),TA(TCORTOL2)

EQUATE/DA(CRD3), DA(CRD6)

F(J-1) = FEAT/CIRCLE,INNER,POL, 75.0000, 0.0000, -3.1987, 0.001019,$

-0.000220, 0.999999, 22.0000

F(J-2) = FEAT/CIRCLE,INNER,POL, 75.0000, 120.0000, -3.3143, 0.001019,$

-0.000220, 0.999999, 22.0000

F(J-3) = FEAT/CIRCLE,INNER,POL, 75.0000, 240.0000, -3.1953, 0.001019,$

-0.000220, 0.999999, 22.0000

F(J-4) = FEAT/CIRCLE,INNER,POL, 0.0000, 0.0000, -3.2361, 0.001019,$

-0.000220, 0.999999, 50.0000

F(J-5) = FEAT/CIRCLE,INNER,POL, 43.5000, 112.0000, -3.2812, 0.001019,$

-0.000220, 0.999999, 20.0000

F(J-6) = FEAT/CIRCLE,INNER,POL, 43.5000, 292.0000, -3.1910, 0.001019,$

-0.000220, 0.999999, 20.0000

OUTPUT/FA(J-1),TA(TCORTOL1),TA(TCORTOL2)

OUTPUT/FA(J-2),TA(TCORTOL1),TA(TCORTOL2)

OUTPUT/FA(J-3),TA(TCORTOL1),TA(TCORTOL2)

OUTPUT/FA(J-4),TA(TCORTOL1),TA(TCORTOL2)

OUTPUT/FA(J-5),TA(TCORTOL1),TA(TCORTOL2)

OUTPUT/FA(J-6),TA(TCORTOL1),TA(TCORTOL2)



来源:RationalDMIS测量技术
科普
著作权归作者所有,欢迎分享,未经许可,不得转载
首次发布时间:2023-07-01
最近编辑:1年前
山涧果子
大专 签名征集中
获赞 203粉丝 48文章 1203课程 0
点赞
收藏
未登录
还没有评论
课程
培训
服务
行家
VIP会员 学习 福利任务 兑换礼品
下载APP
联系我们
帮助与反馈