Design based on Computer-Aided Design (CAD) programming is a technique that relies on the programming of typical CAD systems via an integrated interface. The purpose of this technique is to automate certain engineering tasks such as the part design, the assembly, the drawing preparation and the G-code generation. The present paper focuses on the development of a code that is able to automate the design process of a simple mechanical part, by programming with the Application Programming Interface (API) of SolidWorks™ CAD software. The paper presents the developed User Interface (UI) and the written code for the case study. In addition, it illustrates the process and visualizes the given results. Visual Basic for Applications (VBA™) programming language was implemented to develop the code, mostly because it requires objects and enables a graphical interaction with them. The final product represents a typical steel angle used in the industry, which can be designed in a variety of profile dimensions and lengths.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Automated Design of Mechanical Parts: A Case Study

  • Panagiotis Kyratsis,
  • Anastasios Tzotzis,
  • João Paulo Davim

摘要

Design based on Computer-Aided Design (CAD) programming is a technique that relies on the programming of typical CAD systems via an integrated interface. The purpose of this technique is to automate certain engineering tasks such as the part design, the assembly, the drawing preparation and the G-code generation. The present paper focuses on the development of a code that is able to automate the design process of a simple mechanical part, by programming with the Application Programming Interface (API) of SolidWorks™ CAD software. The paper presents the developed User Interface (UI) and the written code for the case study. In addition, it illustrates the process and visualizes the given results. Visual Basic for Applications (VBA™) programming language was implemented to develop the code, mostly because it requires objects and enables a graphical interaction with them. The final product represents a typical steel angle used in the industry, which can be designed in a variety of profile dimensions and lengths.