首页/文章/ 详情

RationalDMIS制作报告表头

1年前浏览1254

 提示:
常规制作报告表头如下:

现介绍,利用DMIS语句实现报告表头制作!

DMISMN/'Created by [山涧果子] on 星期二, 十月 31, 2017', 4.0

UNITS/MM, ANGDEC

WKPLAN/XYPLAN

PRCOMP/ON

TECOMP/ON

FLY/1.000

MODE/PROG, MAN

SNSET/APPRCH, 3.000

SNSET/RETRCT, 3.000

SNSET/DEPTH, 0.000

SNSET/SEARCH, 10.000

SNSET/CLRSRF, 30.000

RECALL/D(MCS)

SNSLCT/S(LENOVO)

GEOALG/CIRCLE, LSTSQR

GEOALG/ARC, LSTSQR

GEOALG/PLANE, LSTSQR

$$

DECL/COMMON,CHAR,255,Titl1

DECL/COMMON,CHAR,255,Titl2

DECL/COMMON,CHAR,255,Titl3

DECL/COMMON,CHAR,255,Titl4

DECL/COMMON,INTGR,Titl5

Titl1 = ASSIGN/'RationalDMIS技术交流群:427412839'

Titl2 = ASSIGN/CONCAT('工件号:','1989810','  操作者:简洪伟')

Titl3 = ASSIGN/CONCAT('日期:',SDATE(), '   时间: ',STIME())

Titl4 = ASSIGN/CONCAT('名称:','   发动机箱体','  工序号:','  10')

TEXT/OUTFIL, Titl1

TEXT/OUTFIL, Titl2

TEXT/OUTFIL, Titl3

TEXT/OUTFIL, Titl4

$$

MODE/PROG,MAN

F(CIR1) = FEAT/CIRCLE,INNER,CART, 40.000, 55.000, 32.000, 0.000, 0.000,$

 1.000, 45.000

$$ Measurement points are created through nominal points

MEAS/CIRCLE, F(CIR1), 4

  GOTO/CART,  0.000, 0.000, 63.000

  GOTO/CART,  58.500, 55.000, 63.000

  GOTO/CART,  58.500, 55.000, 62.000

  PTMEAS/CART,  62.500, 55.000, 32.000, -1.000, 0.000, 0.000

  GOTO/CART,  57.092, 47.920, 32.000

  GOTO/CART,  53.081, 41.919, 32.000

  GOTO/CART,  47.080, 37.908, 32.000

  PTMEAS/CART,  40.000, 32.500, 32.000, 0.000, 1.000, 0.000

  GOTO/CART,  32.920, 37.908, 32.000

  GOTO/CART,  26.919, 41.919, 32.000

  GOTO/CART,  22.908, 47.920, 32.000

  PTMEAS/CART,  17.500, 55.000, 32.000, 1.000, 0.000, 0.000

  GOTO/CART,  22.908, 62.080, 32.000

  GOTO/CART,  26.919, 68.081, 32.000

  GOTO/CART,  32.920, 72.092, 32.000

  PTMEAS/CART,  40.000, 77.500, 32.000, 0.000, -1.000, 0.000

  GOTO/CART,  40.000, 73.500, 62.000

ENDMES

F(CIR2) = FEAT/CIRCLE,INNER,CART, 40.000, 55.000, 25.000, 0.000, 0.000,$

 1.000, 45.000

$$ Measurement points are created through nominal points

MEAS/CIRCLE, F(CIR2), 4

  GOTO/CART,  58.500, 55.000, 56.000

  GOTO/CART,  58.500, 55.000, 55.000

  PTMEAS/CART,  62.500, 55.000, 25.000, -1.000, 0.000, 0.000

  GOTO/CART,  57.092, 47.920, 25.000

  GOTO/CART,  53.081, 41.919, 25.000

  GOTO/CART,  47.080, 37.908, 25.000

  PTMEAS/CART,  40.000, 32.500, 25.000, 0.000, 1.000, 0.000

  GOTO/CART,  32.920, 37.908, 25.000

  GOTO/CART,  26.919, 41.919, 25.000

  GOTO/CART,  22.908, 47.920, 25.000

  PTMEAS/CART,  17.500, 55.000, 25.000, 1.000, 0.000, 0.000

  GOTO/CART,  22.908, 62.080, 25.000

  GOTO/CART,  26.919, 68.081, 25.000

  GOTO/CART,  32.920, 72.092, 25.000

  PTMEAS/CART,  40.000, 77.500, 25.000, 0.000, -1.000, 0.000

  GOTO/CART,  40.000, 73.500, 55.000

ENDMES

F(CYL_BF1) = FEAT/CYLNDR,OUTER,CART, 40.000, 55.000, 28.500, 0.000, 0.000,$

 1.000, 45.000,  7.000

CONST/CYLNDR,F(CYL_BF1),BF,FA(CIR1)[1],FA(CIR1)[2],FA(CIR1)[3],FA(CIR1)[4],$

FA(CIR2)[1],FA(CIR2)[2],FA(CIR2)[3],FA(CIR2)[4]


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