首页/文章/ 详情

RationalDMIS提取斜孔理论值的方法

16小时前浏览4

提示:

      适用范围: 所有端面与斜圆柱不垂直的时候,孔的理论值提取。


斜孔与上端面不垂直,如果在数模上拾取是一个椭圆。


1.选择“CAD面型图型定义”

 2.选择圆柱“元素定义”,在数模上强制拾取一个整圆柱。



 在元素数据区,拖放点节点下方的点(PT1)到圆“元素定义”位置和矢量信息窗口,软件会自动填充,直径信息可以从拾取的圆柱处获得。 


 注意:

   这种方法默认 的孔在圆柱的中间,可以调整以提高或者降低。



RationalDMIS提取斜孔理论值的方法 II 


提示:
        
       利用便利的“拖放式”操作,完成取值赋值,以及元素的快速定义!

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

$$

$$

F(CYL1) = FEAT/CYLNDR,INNER,CART, 179.785817, 88.000000, -64.708544,$

 -0.500000, -0.000000, -0.866025, 36.000000,  102.292669

DECL/COMMON,REAL,CYL1_X

CYL1_X = OBTAIN/F(CYL1),4

DECL/COMMON,REAL,CYL1_Y

CYL1_Y = OBTAIN/F(CYL1),5

DECL/COMMON,REAL,CYL1_Z

CYL1_Z = OBTAIN/F(CYL1),6

DECL/COMMON,VECTOR,CYL1_V

KNPTR1 = OBTAIN/F(CYL1),7

KNPTR2 = OBTAIN/F(CYL1),8

KNPTR3 = OBTAIN/F(CYL1),9

CYL1_V = ASSIGN/VCART(KNPTR1,KNPTR2,KNPTR3)

F(PLN1) = FEAT/PLANE,CART, CYL1_X,CYL1_Y,CYL1_Z, KNPTR1,KNPTR2,KNPTR3

F(PLN_MOVE1) = FEAT/PLANE,CART, 167.285813, 88.000000, -86.359177,$

 -0.500000, -0.000000, -0.866025

F(CIR_INTER1) = FEAT/CIRCLE,INNER,CART, 167.285813, 88.000000, -86.359177,$

 -0.500000, -0.000000, -0.866025, 36.000000




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

$$

$$

F(CYL1) = FEAT/CYLNDR,INNER,CART, 179.785817, 88.000000, -64.708544,$

 -0.500000, -0.000000, -0.866025, 36.000000,  102.292669

DECL/COMMON,REAL,CYL1_X

CYL1_X = OBTAIN/F(CYL1),4

DECL/COMMON,REAL,CYL1_Y

CYL1_Y = OBTAIN/F(CYL1),5

DECL/COMMON,REAL,CYL1_Z

CYL1_Z = OBTAIN/F(CYL1),6

DECL/COMMON,REAL,CYL1_D

CYL1_D = OBTAIN/F(CYL1),10

DECL/COMMON,VECTOR,CYL1_V

KNPTR1 = OBTAIN/F(CYL1),7

KNPTR2 = OBTAIN/F(CYL1),8

KNPTR3 = OBTAIN/F(CYL1),9

CYL1_V = ASSIGN/VCART(KNPTR1,KNPTR2,KNPTR3)

F(CIR1) = FEAT/CIRCLE,INNER,CART, CYL1_X,CYL1_Y,CYL1_Z, KNPTR1,KNPTR2,$

KNPTR3, CYL1_D

个人感觉,平面“元素定义”效率高,方便快捷!    




来源:山涧果子
理论
著作权归作者所有,欢迎分享,未经许可,不得转载
首次发布时间:2024-12-27
最近编辑:16小时前
山涧果子
大专 签名征集中
获赞 204粉丝 51文章 103课程 0
点赞
收藏
作者推荐

RationalDMIS类似PC DMIS变量数组(ARRAY)功能

DMISMN/'Created by [山涧果子] on 星期一, 四月 03, 2017', 4.0UNITS/MM, ANGDECWKPLAN/XYPLANPRCOMP/ONTECOMP/ONFLY/1.0MODE/PROG, MANSNSET/APPRCH, 2.000000SNSET/RETRCT, 2.000000SNSET/DEPTH, 0.000000SNSET/SEARCH, 10.000000SNSET/CLRSRF, 10.000000RECALL/D(CRD1)SNSLCT/S(20-30X2)GEOALG/CIRCLE, LSTSQRGEOALG/ARC, LSTSQRGEOALG/PLANE, LSTSQR$$$$MODE/AUTO,PROG,MANDECL/COMMON,INTGR,II = ASSIGN/1DECL/COMMON,CHAR,255,C1DECL/COMMON,CHAR,255,C2DECL/COMMON,CHAR,255,C3DECL/COMMON,DOUBLE,L1DECL/COMMON,DOUBLE,L2DO/I,1,5,1C1 = ASSIGN/ELEMNT(I,',','0,75,125,235,315')C2 = ASSIGN/ELEMNT(I,',','8,4,14,12,6')L1 = ASSIGN/VAL(C1)L2 = ASSIGN/VAL(C2)C3 = ASSIGN/CONCAT('J','-',STR(I)) F(@C3) = FEAT/CIRCLE,INNER,POL, 32.000000,L1,-2.000000, 0,0,1, L2$$ Empty Meas BlockMEAS/CIRCLE, F(@C3),4ENDMESENDDOF(CIR_BF1) = FEAT/CIRCLE,OUTER,POL, 0.000000, 0.000000, -2.000000, 0.000000,$ 0.000000, 1.000000, 64.000000CONST/CIRCLE,F(CIR_BF1),BF,FA(J-1),FA(J-2),FA(J-3),FA(J-4),FA(J-5)OUTPUT/FA(CIR_BF1)来源:山涧果子

未登录
还没有评论
课程
培训
服务
行家
VIP会员 学习计划 福利任务
下载APP
联系我们
帮助与反馈