摘要
提出了一种新的算法用于实现VB语言对CATIA曲面法向量和坐标转换的二次开发。该算法基于方向余弦法和新坐标系轴上3个特殊点实现转换,巧妙地解决了CATIA提供给VB语言二次开发中用于测量角度的函数的不稳定性问题,规避了直接采用测量角度进行的一系列计算(如用角度来求方向余弦值),为CMM数据源的正确性提供了有力保证。基于该研究成果,现已利用VB语言成功开发出"CMM测量点采集辅助软件",并取得了相关软件著作权。
This paper proposes a new algorithm for the secondary development of CATIA surface normal vector and coordinate transformation in VB language. Based on the direction cosine method and three special points on the axis of the new coordinate system,the algorithm ingeniously solves the instability of the function provided by CATIA for measuring angle in the secondary development of VB language,and avoids a series of calculations( such as calculating the direction cosine value by angle) directly using measuring angle,thus ensuring the correctness of CMM data source. Based on the research results,the "CMM measurement point acquisition auxiliary software"with VB language was successfully developed and the relevant software copyright was achieved.
作者
张继承
ZHANG Jicheng(AVIC-HONGDU,Nanchang 330024,China)
出处
《计测技术》
2020年第4期5-10,共6页
Metrology & Measurement Technology
关键词
CATIA
二次开发
CMM测量
曲面法向
坐标转换
CATIA
secondary development
CMM measuring
surface normal
coordinate transformation