Current location - Education and Training Encyclopedia - Graduation thesis - For graduation thesis of mechanical design, it is required that things that can't be found online should be simple and easy to understand, so I can easily reply. Thank you.
For graduation thesis of mechanical design, it is required that things that can't be found online should be simple and easy to understand, so I can easily reply. Thank you.
Research on Modular Mechanical Design Method Based on UG

The modular design idea and UG secondary development technology are adopted to solve the problem that many common parts need to be weighed many times when using UG software for mechanical design.

The problem of new design. Common parts modules are combined in UG software in the form of menu, which has good expansibility and portability.

[Keywords:] Modular design mechanical design UG secondary development

Unigraphics (UG for short) is CAD/

CAM/CAE integrated software. Its content involves plane engineering drawing, 3D.

Modeling, assembly, manufacturing, reverse engineering, industrial modeling design, injection mold design,

Sheet metal design, mechanism motion analysis, numerical control simulation, rendering and dynamic simulation, industrial standards.

Interactive transmission, finite element analysis and more than a dozen modules. In recent years, UG has developed rapidly and has

Widely used in many fields, it is also a common software for mechanical design. Although ug

The function is very powerful, but we often encounter some when designing mechanical products.

Common parts other than standard parts should be enlarged if they are designed from scratch every time.

Quantity of repetitive work. In order to improve labor productivity and reduce design cost, people have

Modular design ideas widely used in electronics, computers, architecture and other fields have been cited.

In mechanical design, modular mechanical design based on UG is formed.

1 Modular mechanical design

1. 1 module and the concept of modularization

Module is a set of elements with the same function and combination (the shape of knuckles,

Size, fit or joint between connectors, etc. ), but different attributes, specifications or structures may

Modularization of interchangeable units refers to market prediction and functional analysis of products.

On this basis, a series of general functional modules are divided and designed, and then according to the user's

Requirements, modules are selected and combined to form different functions or the same function.

Can produce different products with different specifications.

1.2 correlation of modular mechanical design

Modular design depends on the combination of modules, that is, the joint surface, also known as connection.

Mouth. In order to ensure the combination of different functional modules and the interchange of the same functional module, the module

It should have two characteristics: composability and interchangeability. These two characteristics are mainly reflected in

Interface, we must improve the standardization, generalization and standardization of modules. For modules

In the design of chemical machinery, it can be seen that the key is how to divide the modules, mainly through comprehensive investigation.

The modules are divided by considering the correlation of parts in function, geometry and physics.

(1) Functional correlation The functional correlation between parts refers to the division of modules.

Those parts that achieve the same function are gathered together to form a module, which helps

So as to improve the functional independence of the module.

(2) Geometric correlation The geometric correlation between parts refers to the geometric correlation between parts.

Physical connection, fastening, size, verticality, equality and.

Geometric relations such as coaxiality.

(3) Physical correlation Physical correlation between parts refers to the relationship between parts.

There is a physical relationship among energy flow, information flow or material flow.

1.3 Advantages of modular mechanical design

Modular mechanical design has obvious technical and economic advantages.

Theoretical analysis and practice have proved that its advantages are mainly embodied in the following aspects:

(1) can revitalize the current machinery industry and develop into a high-tech industry;

(2) Reduce the labor intensity of professional and technical personnel in the design, manufacture and assembly of mechanical products.

Degree;

(3) Modular mechanical products are of high quality and low price, and multiple products are properly solved.

Manufacturing problems caused by small batch processing;

(4) is conducive to enterprises according to market changes, the use of advanced technology to transform products, open

Send new products;

(5) Shorten the design, manufacture and supply cycle of mechanical products to win users;

(6) Modular mechanical products are interchangeable and easy to maintain.

Realization of modular mechanical design in UG

2. 1 general idea

In mechanical design with UG, in order to modularize common parts, we must first

The three-dimensional model of common parts is expressed. For a series of products, according to the group technology

The principle of classification is to build a group of similar common parts into a three-dimensional model, which is called the so-called

3 d model template According to UG parametric design idea, 3D model template can

It is considered as the basic model of a series of parts with different sizes and similar structures. keep

Numerous three-dimensional model templates are separated by classes, and each class is placed in a collection, so that each

Class forms a module library of three-dimensional model templates. In order to make the module library and UG

The integrated environment of ASP. NET, and each module library is in the form of an icon.

Put it on the user menu for easy calling. In order to realize this general idea, comprehensive transportation

Use UG/Open MenuScript, UG/Open Ulstyler, UG/Open.

API, Visual C++ and other UG secondary development technologies, and the program flow chart is shown in figure 1.

2.2 Module Library Menu Design

In order to keep consistent with the interactive interface style of UG menu, the module library adopts sub.

Level drop-down menu developed by UG/Open MenuScript module.

Realize. That is, using UG MenuScript language provided by menus script as an extension.

Expand the text file named "". Men "and put it in the /startup item in the user directory.

Record, by setting the environment variable of UG, UG will automatically load the user at startup.

Menu file. In order to facilitate users to quickly retrieve the desired three-dimensional commonly used parts when calling.

In the model template, the maximum depth of the drop-down menu is designed as three levels, and each drop-down menu

No more than 15 buttons. Each button on the final menu corresponds to a commonly used button.

The name of the three-dimensional model template, click the last menu button to bring up the corresponding product.

The 3D Model Template dialog box is based on.

2.3 3D model template dialog box design

Using UG/Open Ulstyle to make UG-style dialog box, according to the model

Parameter generation templates include data input boxes, text boxes, buttons, pictures and other controls.

Dialog box. The picture of spare parts is displayed in the upper part of the dialog box, and the pairing is displayed in the upper left corner of the dialog box.

Word box title, in the lower left corner of the UG system window display operation prompt information, so that you can

It is convenient for users to design or select 3D models and 3D model template pairs of commonly used parts.

After the dialog box is designed, a dialog box with ".dlg" extension. There are six dialog boxes.

There are three basic homologous functions, namely the callback function of the application button and the return button.

Callback function, cancel the callback function of the button, determine the callback function of the button, dialogue

Box constructors and dialog destructors. Among them, the dialog builder is in UG structure.

Called after the dialog box is built and before the user application is executed, the public part will be 3D.

The common specifications and technical requirements of the model are displayed in the information window for users to create products.

For reference. The dialog destructor is called when the UG user dialog box is closed, and the program

When writing, use it to close, empty the information window and release the memory of the application.

Intermediate operation.

2.4 application dynamic link library (*. Dll) create

UG/Open API application is written in C/C++ language, except.

It can not only call the function of UG in UG environment, but also be realized in the program.

File management, process control, data transmission, window calling, numerical calculation, etc.

All functions supported by C/C++ language are very flexible to use. UG/ open API

The application involves header files (*. H), library file (*. Dll) and

Programming in C/C++ language requires compiling Visual C++ environment.

Settings, the following gives the setting method and dynamics of Visual C++6.0 compilation environment.

The creation process of link library:

(1) Create an empty DLL project.

(2) The directory path of the configuration program header file (*. H) and library files (*. dll)。

Header files include UG header files and Visual C++6.0 library files.

(3) The C language source file template file generated by the dialog box is *. Template.c.

Add to the project.

(4) Compile the application program. Enter the dialog box callback function for programming.

System, defining variables and UG objects, using C/C++ language and UG/Open API.

Parametric modeling design function.

(5) Generate a dynamic link library (*. Dll) file. UG will automatically load when it starts.

Dynamic link library file called by user menu.

3 Conclusion

With the rapid development of equipment manufacturing industry, the variety of products has increased dramatically and the structure has increased day by day.

It is becoming more and more complicated. Only by shortening the product design cycle can we adapt to the fierce competition of enterprises.

The needs of. Modular mechanical design with UG software accords with the rapid design of mechanical products.

The concept of design meets the development needs of equipment manufacturing industry and is the development direction of mechanical design.

First, it has high practical value and economic value.

refer to

[1] Yuan Feng UG Mechanical Design Engineering Example Tutorial [M] Beijing Machinery Industry

Press 2006

[2] Based on modular machinery production in Wang Xiuhua.

Rapid Product Design [J] Mechanical Design 2004,21,8

[3] Research on modular design method of Tengjiatai products [J] Application part

technology

[4] Dong Tian Lizhong pays attention to UG/Open API programming foundation [M] North

Tsinghua University Publishing House, 2002.