NÂNG CAO KHẢ NĂNG THIẾT KẾ TỰ ĐỘNG BẰNG TÍCH HỢP LẬP TRÌNH VISUAL BASIC VÀO PHẦN MỀM THIẾT KẾ 3D

Tóm tắt

Trong ngành cơ khí, quá trình thiết kế sản phẩm đòi hỏi nhiều thời gian và công sức vì nó là quá trình lặp đi lặp lại và cần người thiết kế có nhiều kinh nghiệm. Do đó, tự động hóa thiết kế sẽ giúp tiết kiệm được nhiều thời gian của giai đoạn thiết kế và phát triển sản phẩm. Động cơ đốt trong đóng vai trò quan trọng trong nhiều lĩnh vực thiết yếu của cuộc sống, đặc biệt trong lĩnh vực sản xuất ôtô. Trong quá trình thiết kế nó cần có sự thay đổi rất nhiều các thông số về kích thước. Trong bài báo này, tác giả mô tả cách tiếp cận việc tự động hóa nhiệm vụ thiết kế mô hình 3D của động cơ đốt trong với phần mềm CREO, bằng các ứng dụng lập trình Visual Basic (VBA) trong Ms-Excel. Các kích thước cần thay đổi sẽ được lưu trữ trong file Excel. Sau đó, dữ liệu từ Excel được chuyển đến CREO để tự động thực hiện các thay đổi trong mô hình 3D thông qua tùy chọn Relation. Tuy nhiên, việc thiết kế tự động này chỉ dựa trên dữ liệu đầu vào với các tính toán liên quan đến kích thước hình học mà chưa tính đến các điều kiện khác trong quá trình hoạt động của động cơ như tính toán nhiệt, độ bền cơ cấu,…

Từ khóa:

Thiết kế tự động, Động cơ đốt trong, Giao diện Excel, VBA macro, Relation

Title

ENHANCING THE AUTOMATIC DESIGN CAPACITY BY INTEGRATING VISUAL BASIC PROGRAMMING INTO 3D DESIGN SOFTWARE

Abstract

In mechanical engineering field, the product design process requires takes a long time and a great deal of effort since it is an iterative process and requires the designers who have a lot of experience. Therefore, the automation of the design process will definitely save much time of product design and product development. The internal combustion engine plays an important role in many essential areas of life, especially in the field of automobile manufacturing. The design process of this product requires a lot of modification of the dimensional parameters. In this paper, the author proposes an approach to automate the task of 3D modeling design by combining the Visual Basic for Applications (VBA) and Creo software. The changeable dimensions for each part is stored in an Excel file. Then, the data from Excel is transferred to Creo for automating the updating of 3D solid modeling via Relation. In this study, our approach will be applied in the design process of an internal combustion engine. The automation of design based on input data is only applied for the calculations related to geometrical dimensions without taking into account other conditions during engine working process such as heat calculation, structural strength, etc.

Keywords:

Automation of design, Internal combustion engine, Interface with Ms-Excel, VBA macro, Relation

Tải xuống

Ngày nhận bài:

10-05-2022

Ngày phản biện:

19-05-2022

Ngày nhận bài sửa:

30-06-2022

Ngày duyệt đăng:

15-07-2022

Ngày xuất bản:

25-08-2022
NGHIÊN CỨU – TRAO ĐỔI
Lượt xem
0
Lượt tải
0