Development of Engineering Drawing Automation Generation Software Based on Pro/E


I. Introduction

Pro/ENGINEER is a 3D CAD/CAM software developed by American Parametric Technology Corporation (PTC). TOOLKIT is a secondary development tool specially provided by PTC. In TOOLKIT, PTC provides users with a large library of C language functions. By calling these low-level functions, users can conveniently and securely access Pro/ENGINEER's database and internal applications for secondary development and expand some specific functions.

As a successful 3D CAD/CAM software, Pro/ENGINEER already includes a more efficient plotting module that can be used for part drawing tasks of any shape, but for some parts that are similar and geometrically close to the drawing requirements In this case, it is not worth the effort to spend a lot of time on re-arranging the view and mark size. Secondary development based on Pro/ENGINEER's existing plotting module is more suitable for such situations.

At present, the products designed in many design departments have certain relevance, which makes many design processes have the problem of repeated labor. For this reason, on the basis of Pro/ENGINEER2000i2, the author participated in the development of a relatively complete shaft part design (3D model), part drawing, part processing (machining tool code generation) system, allowing some general design process Automated processing to reduce the workload of the designer (this article only focuses on the part drawing part of it). For the part design, the system adopts a relatively simple family table method (that is, pre-build the product model manually, use it as a generic part of the family table, then define various control parameters in the family table to control the shape size of the model, and in the program The required derivatives are obtained by changing the values ​​of the various parameters. For the program design of the parts drawing part, it is very convenient to obtain the shape and size information of the corresponding shaft parts according to the parameter names defined in the previous part design.

Second, the view generation method analysis

1. Drawing area division

In order to avoid the phenomenon of inter-view interference, size overlap, etc. during the automatic generation of drawings, the drawings can be divided into specific areas in advance according to requirements. For shaft parts with similar structures and less complex geometric shapes, the entire drawing can be divided into a main view area, a section area, a table area, and a comment area. Then adjust the view scale according to the determined size and position of the area to generate a more reasonable view. This avoids positional conflicts between views and dimensions on the drawing.

2. Generate main view and section view

The key to generating a view is to determine the direction of the view and the scale of the view. For the view orientation, if the direction selection is wrong, the shape of the part cannot be correctly expressed. In the function of TOOLKIT to generate the main view (General View), you can adjust the view direction by inputting different orientation matrix (Orientation Matrix). For the view scale, choosing the appropriate scale factor can make the view as clear as possible without causing cross-border and regional interference.

For shaft parts, due to the specific shape characteristics, a cross-sectional view at each keyway is generated in addition to the main view when generating the drawing. View generation function ProDrawingGeneral by calling TOOLKIT

viewCreate() can easily generate the required view (note: the appropriate default reference plane is determined during the part model design phase, so that the direction-oriented problem can be ignored in the plot phase, ie the direction matrix can be replaced by the unit matrix; view scale The default is 1:1). On this basis, the view contour extraction function ProDrawingViewOutlineGet() provided by TOOLKIT is called to calculate the outline size of the view, and then the view scale is re-set according to the size of the previously divided area, and the view of the appropriate size is automatically generated.

Next page

A860 WPHY52 Pipe Fitting

Steel Pipe Fittings
supplying Stainless Steel & Carbon Steel for Press Fittings,Pipe Fittings,Pipe Nipples and Machinery Parts etc. We manufacture ASTM A860 Gr WPHY 56 Buttweld Pipe Fittings in India for export all around the world.
1). Specification:
ASTM A860/ A 860M WPHY42, WPHY52, WPHY60, WPHY65, WPHY70
ASTM/ ASME S/A234/ A 234M WPB, WPC
ASTM/ ASME S/A420/ A 420M WPL6, WPL3

2). Range: 15 NB till 1200 NB
SCH: 5s, 10s, 40s, 80s, 10, 20, 40, STD, 60, 80, XS, 100, 120, 140, 160, XXS & NS available with NACE MR 01-75

3). Type:

Elbows in long & short radius in 45 deg, 90 deg, 180 deg, R=3D, 5D, 6D, 8D, 10D & 20D.
Eccentric & concentric reducer.
Caps & crosses.
Equal & unequal tee.
Long & short stub end.

A860 Wphy70,A860 Wphy52 Elbow,A860 Wphy60,A860Wphy65 Elbow

Shijiazhuang Bang dong Pipeline Technology Co,Ltd. , https://www.bd-pipefitting.com

Posted on