摘 要: 在进行大型焊接零部件设计时,在现有的三维设计软件中设计人员通常采用多实体零件的设计方式进行 设计,但是在工程图中焊缝的标注往往是十分费时和费力的,同时为了统计模型中的焊缝信息形成相应的焊缝清单, 目前任是人工操作,大大增加了工作量和焊接件的设计周期。文章主要基于SolidWorks三维设计软件,采用C#编程语 言,利用SolidWorks对外开放的API函数接口,结合实际的焊缝识别准则,实现了自动提取多实体三维设计模型中的焊 缝信息,采用SQLServer数据库对焊缝信息进行存储与读取,并在工程图中进行自动焊缝标注,同时导出对应的焊缝清 单。大大减少了人工进行焊缝识别和标注的过程,提高了焊接件的工程图的出图效率,对于减少焊接件的设计周期有着 现实的意义。 |
关键词: 焊缝识别;自动标注;多实体零件;二次开发;SolidWorks |
中图分类号: TP319
文献标识码: A
|
|
The Second Development of Automatic Weld Labeling Based on SolidWorks |
ZHANG Zenan, ZHONG Liangwei
|
( School of Mechanical Engineering, University of Shanghai for Science and Technology, Shanghai 200093, China )
1727358290@qq.com; zlvcad@126.com
|
Abstract: When designing large welded parts, the existing 3-d design software designers usually design the parts as separate entities, but the drawing of the weld marks tend to be very time-consuming and laborious, and at the same time in order to form the corresponding weld mark list, the task is now a manual operation, which greatly increased the workload and product design cycle. Based on SolidWorks 3-d design software, the paper uses C# programming language, SolidWorks open API interface, and the actual welding seam recognition criteria to achieve the automatic extraction of multi-entity weld information in three-dimension design model, SQLServer database is used to store and save the weld information, carries out automatic weld marking of engineering drawing, and export the corresponding weld listing at the same time. It greatly simpli es the process of manual identi cation and marking of welding seams, and improves the ef ciency of engineering drawing of welding parts, with practical signi cance for reducing the design cycle of welding parts. |
Keywords: weld identi cation; automatic marking; multiple solid parts; secondary development; SolidWorks |