作者:熊毅1,2,孙育竹1,2,王蕾1,2(1.河南工业职业技术学院,河南南阳473009;2.河南省材料成形装备智能技术工程研究中心,河南南阳473009)
摘要:针对在CAD软件中大规模求取模具零件包围盒效率低、准确度不高等问题,提出了基于零件特征的包围盒计算方法,在NX10.0平台上,基于NXOpen二次开发接口,采用C++编程语言开发自动计算工具。通过对含91个零件的实例验证,批量自动处理耗时3.776s,仅为手工计算时间的1%,输出的Excel表格数据清晰、实用,为模具零件制造提供了详细信息。
关键词:模具零件;包围盒;NXOpen;批量计算模块;UI界面
中图分类号:TG76;TP391.75文献标识码:B文章编号:1001-2168(2020)11-0007-07
DOI:10.16787/j.cnki.1001-2168.dmi.2020.11.002
Batch and automatic solving mould part bounding box based on NX Open
XIONG Yi1,2, SUN Yu-zhu1,2, WANG Lei1,2 (1.Henan Polytechnic Institute, Nanyang, Henan 473009, China; 2.Henan Material Forming Equipment Intelligent Technology Engineering Research Center, Nanyang, Henan 473009, China)
Abstract: In order to solve the problem of low efficiency and inaccuracy in computing the bounding box of mould parts in large scale by using CAD software, a calculation method
of bounding box based on the features of mould parts was proposed. On the NX 10.0 platform, based on the NX Open secondary development interface, using C++ programming language to develop automatic computing tools. The example of 91 parts showed that the automatic batch processing time was 3.776 s, which was only 1% of the manual calculation time, and the output data of the Excel table was clear and practical. It provided detailed information for the manufacture of mould parts.
Key words: mould parts; bounding box; NX Open; batch computingmodule; UI