摘要
针对SolidWorks工程图中尺寸标注易出错、人工检查难度大等问题,提出了一种对SolidWorks工程图尺寸冗余检查技术。基于VB.NET编程语言对SolidWorks进行二次开发,通过调用SolidWorks中的API函数获取工程图中的视图信息以及尺寸信息,用SQL Server数据库对数据进行储存和读取。运用比较法,实现了工程图中尺寸重复以及尺寸链封闭的检查,并将错误尺寸高亮显示在工程图中。最后以冷藏车的典型零件为对象,验证了该方法的可行性。该技术极大地降低了检查时间和错误率,提高了工作人员的效率。
Aiming at the problems of error-prone size labeling and high difficulty in manual inspection of SolidWorks engineering drawings,a technology for SolidWorks engineering drawing size redundancy inspection is proposed.As the development tool,VB.NET is used to carry out the secondary development of SolidWorks.The view information and dimension information in the drawing are obtained by calling the API function in SolidWorks,the data is stored and read with SQL Server database.The comparison method is used to check the size duplication and size chain closure in engineering drawings,and the error size is highlighted in the drawing.The feasibility of this method is verified through taking the typical parts of the refrigerated truck as the object.The technique greatly reduces the checking time and design error rate,and improves the design efficiency of the staff.
作者
王岩岩
张春燕
李坤
张胜文
WANG Yanyan;ZHANG Chunyan;LI Kun;ZHANG Shengwen(School of Mechanical Engineering,Jiangsu University of Science and Technology,Zhenjiang 212003,CHN)
出处
《制造技术与机床》
北大核心
2023年第4期72-77,共6页
Manufacturing Technology & Machine Tool
基金
镇江市重点研发计划项目(GY2019003,GY2020007)。