首页/文章/ 详情

RationalDMIS数组之多维排列

1年前浏览186

提示:
 

        多维排列可以被应用于特征数据分开,对于取极值很方便!利用函数MN(x,x,...)

DMISMN/'Created by [爱科腾瑞(CNC).12.9] on 星期二, 九月 13, 2016', 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, 10.000000

RECALL/D(MCS)

SNSLCT/S(PH10T)

GEOALG/CIRCLE, LSTSQR

GEOALG/ARC, LSTSQR

GEOALG/PLANE, LSTSQR

$$

$$

MODE/MAN

F(PLN1) = FEAT/PLANE,CART, 37.421473, 29.063274, 0.000000, 0.000000,$

 0.000000, 1.000000

$$ Measurement points are created through actual points

MEAS/PLANE, F(PLN1), 4

  PTMEAS/CART,  3.834555, 45.950165, 0.000000, 0.000000, 0.000000, 1.000000

  PTMEAS/CART,  5.440365, 11.858565, 0.000000, 0.000000, 0.000000, 1.000000

  PTMEAS/CART,  68.797813, 6.310098, 0.000000, 0.000000, 0.000000, 1.000000

  PTMEAS/CART,  71.613159, 52.134270, 0.000000, 0.000000, 0.000000, 1.000000

ENDMES

OUTPUT/FA(PLN1), TA(XCTL), TA(YCTL), TA(ZCTL)

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

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

$$ Measurement points are created through nominal points

F(LN1) = FEAT/LINE,BND,CART, 5.312732, 0.000000, -3.467726, 69.759949,$

 0.000000, -5.149958, 0.000000, -1.000000, 0.000000

$$ Measurement points are created through actual points

MEAS/LINE, F(LN1), 2

  PTMEAS/CART,  5.312732, 0.000000, -3.467726, 0.000000, -1.000000, 0.000000

  PTMEAS/CART,  69.759949, 0.000000, -5.149958, 0.000000, -1.000000, 0.000000

ENDMES

OUTPUT/FA(LN1), TA(XCTL), TA(YCTL), TA(ZCTL)

F(LN2) = FEAT/LINE,BND,CART, 0.000000, 3.299111, -2.150045, 0.000000,$

 68.062653, -4.473559, -1.000000, 0.000000, 0.000000

$$ Measurement points are created through actual points

MEAS/LINE, F(LN2), 2

  PTMEAS/CART,  0.000000, 3.299111, -2.150045, -1.000000, 0.000000, 0.000000

  PTMEAS/CART,  0.000000, 68.062653, -4.473559, -1.000000, 0.000000, 0.000000

ENDMES

OUTPUT/FA(LN2), TA(XCTL), TA(YCTL), TA(ZCTL)

F(PT_INTER1) = FEAT/POINT,CART, -0.016899, 0.023227, -2.680759, 0.026077,$

 0.035842, 0.999017

CONST/POINT, F(PT_INTER1), INTOF, FA(LN1), FA(LN2)

OUTPUT/FA(PT_INTER1), TA(XCTL), TA(YCTL), TA(ZCTL)

D(CRD2) = ROTATE/ZAXIS, FA(LN1), XDIR

D(CRD3) = TRANS/XORIG, FA(PT_INTER1), YORIG, FA(PT_INTER1)

MODE/PROG,MAN

DECL/COMMON,INTGR,I

DECL/COMMON,CHAR,255,C[50,2]

DECL/COMMON,CHAR,255,C2,C3

DO/I,1,50,1

C[I,1] = ASSIGN/CONCAT('J-',STR(I))

C[I,2] = ASSIGN/CONCAT('K-',STR(I))

C2 = ASSIGN/C[I,1]

C3 = ASSIGN/C[I,2]

F(@C2) = FEAT/CIRCLE,INNER,CART, 19.830366, 17.476773, -2.000000, 0.000000,$

 0.000000, 1.000000, 10.000000

$$ Measurement points are created through nominal points

MEAS/CIRCLE, F(@C2), 4

  GOTO/CART,  19.830366, 17.476773, 9.000000

  PTMEAS/CART,  17.699969, 22.000202, -2.000000, 0.426079, -0.904686, 0.000000

  PTMEAS/CART,  15.306937, 15.346376, -2.000000, 0.904686, 0.426079, 0.000000

  PTMEAS/CART,  21.960763, 12.953344, -2.000000, -0.426079, 0.904686, 0.000000

  PTMEAS/CART,  24.353794, 19.607170, -2.000000, -0.904686, -0.426079, 0.000000

  GOTO/CART,  19.830366, 17.476773, 9.000000

ENDMES

F(@C3) = FEAT/CIRCLE,INNER,CART, 56.203432, 17.476773, -2.000000, 0.000000,$

 0.000000, 1.000000, 10.000000

$$ Measurement points are created through nominal points

MEAS/CIRCLE, F(@C3), 4

  GOTO/CART,  56.203432, 17.476773, 9.000000

  PTMEAS/CART,  52.375095, 20.692956, -2.000000, 0.765667, -0.643237, 0.000000

  PTMEAS/CART,  52.987250, 13.648435, -2.000000, 0.643237, 0.765667, 0.000000

  PTMEAS/CART,  60.031770, 14.260590, -2.000000, -0.765667, 0.643237, 0.000000

  PTMEAS/CART,  59.419615, 21.305110, -2.000000, -0.643237, -0.765667, 0.000000

  GOTO/CART,  56.203432, 17.476773, 9.000000

ENDMES

ENDDO



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