首页/文章/ 详情

RationalDMIS程序实现测量元素实际偏移

1年前浏览153

题记:
         模型对齐后,可以在设置窗口对测量点,实际偏移进行整体设置。或者在构造区使用”移动“对单个元素进行偏移设置!

RE:这个设置是对整个程序进行设置,有其弊端!在建坐标系时,你会发现其弊端!
 DMISMN/'Created by [爱科腾瑞(CNC).12.9] on 星期日, 五月 15, 2016', 4.0

UNITS/MM, ANGDEC

WKPLAN/XYPLAN

PRCOMP/ON

TECOMP/ON

FLY/1.0

MODE/PROG, MAN

SNSET/APPRCH, 2.000000

SNSET/RETRCT, 2.000000

SNSET/DEPTH, 0.000000

SNSET/SEARCH, 10.000000

SNSET/CLRSRF, 20.000000

RECALL/D(MCS)

SNSLCT/S(ROOTSN1)

GEOALG/CIRCLE, LSTSQR

GEOALG/ARC, LSTSQR

GEOALG/PLANE, LSTSQR

$$

$$

MODE/PROG,MAN

F(PT1) = FEAT/POINT,CART, 6.876243, 23.635406, 0.000000, 0.000000, 0.000000,$

 1.000000

MEAS/POINT, F(PT1), 1

  GOTO/CART,  6.876243, 23.635406, 22.000000

  PTMEAS/CART,  6.876243, 23.635406, 0.000000, 0.000000, 0.000000, 1.000000

ENDMES

CONST/POINT,F(PT1),MOVEPT,FA(PT1),F(PT1),5.000000

F(PT2) = FEAT/POINT,CART, 67.887352, 9.767813, 0.000000, 0.000000, 0.000000,$

 1.000000

MEAS/POINT, F(PT2), 1

  GOTO/CART,  67.887352, 9.767813, 22.000000

  PTMEAS/CART,  67.887352, 9.767813, 0.000000, 0.000000, 0.000000, 1.000000

ENDMES

CONST/POINT,F(PT2),MOVEPT,FA(PT2),F(PT2),5.000000

F(PT3) = FEAT/POINT,CART, 67.569199, 49.054768, 0.000000, 0.000000,$

 0.000000, 1.000000

MEAS/POINT, F(PT3), 1

  GOTO/CART,  67.569199, 49.054768, 22.000000

  PTMEAS/CART,  67.569199, 49.054768, 0.000000, 0.000000, 0.000000, 1.000000

ENDMES

CONST/POINT,F(PT3),MOVEPT,FA(PT3),F(PT3),5.000000

OUTPUT/F(PT1)

OUTPUT/F(PT2)

OUTPUT/F(PT3)

SNSET/APPRCH, 2.0000

SNSET/RETRCT, 2.0000

SNSET/DEPTH, 2

SNSET/SEARCH, 10.0000

SNSET/CLRSRF, 20.0000

F(CIR1) = FEAT/CIRCLE,INNER,CART, 38.000000, 28.000000, -0.000000, 0.000000,$

 0.000000, 1.000000, 25.000000   实际测量圆偏移到理论圆位置!

$$ Measurement points are created through nominal points

MEAS/CIRCLE, F(CIR1), 4

  GOTO/CART,  44.924046, 32.930272, 20.000000

  PTMEAS/CART,  48.182421, 35.250400, -2.000000, -0.814594, -0.580032, 0.000000

  GOTO/CART,  42.510251, 35.204695, -2.000000

  GOTO/CART,  39.409811, 36.382269, -2.000000

  GOTO/CART,  36.094741, 36.283718, -2.000000

  PTMEAS/CART,  30.749600, 38.182421, -2.000000, 0.580032, -0.814594, 0.000000

  GOTO/CART,  30.795305, 32.510251, -2.000000

  GOTO/CART,  29.617731, 29.409811, -2.000000

  GOTO/CART,  29.716282, 26.094741, -2.000000

  PTMEAS/CART,  27.817579, 20.749600, -2.000000, 0.814594, 0.580032, 0.000000

  GOTO/CART,  33.489749, 20.795305, -2.000000

  GOTO/CART,  36.590189, 19.617731, -2.000000

  GOTO/CART,  39.905259, 19.716282, -2.000000

  PTMEAS/CART,  45.250400, 17.817579, -2.000000, -0.580032, 0.814594, 0.000000

  GOTO/CART,  42.930272, 21.075954, 20.000000

ENDMES

CONST/CIRCLE,F(CIR1),PROJCT,FA(CIR1),F(CIR1)

OUTPUT/F(CIR1)

构造区”移动“实现!对于数量较少点,圆(键槽或者椭圆)的实际偏移很有用!

DMISMN/'Created by [爱科腾瑞(CNC).12.9] on 星期日, 五月 15, 2016', 4.0

UNITS/MM, ANGDEC

WKPLAN/XYPLAN

PRCOMP/ON

TECOMP/ON

FLY/1.0

MODE/PROG, MAN

SNSET/APPRCH, 2.000000

SNSET/RETRCT, 2.000000

SNSET/DEPTH, 0.000000

SNSET/SEARCH, 10.000000

SNSET/CLRSRF, 20.000000

RECALL/D(MCS)

SNSLCT/S(ROOTSN1)

GEOALG/CIRCLE, LSTSQR

GEOALG/ARC, LSTSQR

GEOALG/PLANE, LSTSQR

$$

$$

MODE/PROG,MAN

F(PT1) = FEAT/POINT,CART, 6.876243, 23.635406, 0.000000, 0.000000, 0.000000,$

 1.000000

MEAS/POINT, F(PT1), 1

  GOTO/CART,  6.876243, 23.635406, 22.000000

  PTMEAS/CART,  6.876243, 23.635406, 0.000000, 0.000000, 0.000000, 1.000000

ENDMES

CONST/POINT,F(PT1),MOVEPT,FA(PT1),F(PT1),5.000000

F(PT2) = FEAT/POINT,CART, 67.887352, 9.767813, 0.000000, 0.000000, 0.000000,$

 1.000000

MEAS/POINT, F(PT2), 1

  GOTO/CART,  67.887352, 9.767813, 22.000000

  PTMEAS/CART,  67.887352, 9.767813, 0.000000, 0.000000, 0.000000, 1.000000

ENDMES

CONST/POINT,F(PT2),MOVEPT,FA(PT2),F(PT2),5.000000

F(PT3) = FEAT/POINT,CART, 67.569199, 49.054768, 0.000000, 0.000000,$

 0.000000, 1.000000

MEAS/POINT, F(PT3), 1

  GOTO/CART,  67.569199, 49.054768, 22.000000

  PTMEAS/CART,  67.569199, 49.054768, 0.000000, 0.000000, 0.000000, 1.000000

ENDMES

CONST/POINT,F(PT3),MOVEPT,FA(PT3),F(PT3),5.000000

OUTPUT/F(PT1)

OUTPUT/F(PT2)

OUTPUT/F(PT3)

SNSET/APPRCH, 2.0000

SNSET/RETRCT, 2.0000

SNSET/DEPTH, 2

SNSET/SEARCH, 10.0000

SNSET/CLRSRF, 20.0000

F(CIR1) = FEAT/CIRCLE,INNER,CART, 38.000000, 28.000000, -0.000000, 0.000000,$

 0.000000, 1.000000, 25.000000

$$ Measurement points are created through nominal points

MEAS/CIRCLE, F(CIR1), 4

  GOTO/CART,  44.924046, 32.930272, 20.000000

  PTMEAS/CART,  48.182421, 35.250400, -2.000000, -0.814594, -0.580032, 0.000000

  GOTO/CART,  42.510251, 35.204695, -2.000000

  GOTO/CART,  39.409811, 36.382269, -2.000000

  GOTO/CART,  36.094741, 36.283718, -2.000000

  PTMEAS/CART,  30.749600, 38.182421, -2.000000, 0.580032, -0.814594, 0.000000

  GOTO/CART,  30.795305, 32.510251, -2.000000

  GOTO/CART,  29.617731, 29.409811, -2.000000

  GOTO/CART,  29.716282, 26.094741, -2.000000

  PTMEAS/CART,  27.817579, 20.749600, -2.000000, 0.814594, 0.580032, 0.000000

  GOTO/CART,  33.489749, 20.795305, -2.000000

  GOTO/CART,  36.590189, 19.617731, -2.000000

  GOTO/CART,  39.905259, 19.716282, -2.000000

  PTMEAS/CART,  45.250400, 17.817579, -2.000000, -0.580032, 0.814594, 0.000000

  GOTO/CART,  42.930272, 21.075954, 20.000000

ENDMES

CONST/CIRCLE,F(CIR1),PROJCT,FA(CIR1),F(CIR1)

OUTPUT/F(CIR1)

F(PT4) = FEAT/POINT,CART, 11.536551, 10.020205, 0.000000, 0.000000,$

 0.000000, 1.000000

MEAS/POINT, F(PT4), 1

  GOTO/CART,  11.536551, 10.020205, 22.000000

  PTMEAS/CART,  11.536551, 10.020205, 0.000000, 0.000000, 0.000000, 1.000000

ENDMES

CONST/POINT, F(PT4), MOVEPT, FA(PT4), F(PT4), 5

OUTPUT/F(PT4)

 

F(PT5) = FEAT/POINT,CART, 2.823605, 41.528641, 0.000000, 0.000000, 0.000000,$

 1.000000

MEAS/POINT, F(PT5), 1

  GOTO/CART,  2.823605, 41.528641, 22.000000

  PTMEAS/CART,  2.823605, 41.528641, 0.000000, 0.000000, 0.000000, 1.000000

ENDMES

CONST/POINT, F(PT5), MOVEPT, FA(PT5), F(PT5), 5

OUTPUT/F(PT5)

 

 

F(CIR2) = FEAT/CIRCLE,INNER,CART, 56.186533, 17.500000, -0.000000, 0.000000,$

 0.000000, 1.000000, 10.000000

$$ Measurement points are created through nominal points

MEAS/CIRCLE, F(CIR2), 4

  GOTO/CART,  56.186533, 17.500000, 22.000000

  PTMEAS/CART,  61.186533, 17.500000, 0.000000, -1.000000, 0.000000, 0.000000

  PTMEAS/CART,  56.186533, 22.500000, 0.000000, 0.000000, -1.000000, 0.000000

  PTMEAS/CART,  51.186533, 17.500000, 0.000000, 1.000000, 0.000000, 0.000000

  PTMEAS/CART,  56.186533, 12.500000, 0.000000, 0.000000, 1.000000, 0.000000

  GOTO/CART,  56.186533, 17.500000, 22.000000

ENDMES

 

CONST/CIRCLE, F(CIR2), MOVEPT, FA(CIR2), F(CIR2), 5

OUTPUT/F(CIR2)

 


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