ZHUOJIN-LOGOZhuojin Pipe Fitting Co., Ltd
Zhuojin Pipe Fitting Co., Ltd
STEEL PIPE · FITTING · WELDING TECHNICAL STUDY

Development of AutoCAD-Based Specialized Software for Pressure Pipe Combined Fittings Using VB6.0

Literature Overview

This paper by Xie Tao, Jin Zhijiang, Zheng Xiangyu, Wang Fei, and Zhang Sujuan, published in Machinery Design and Manufacture in 2006, presents the development of specialized software for pressure pipe combined fittings using Visual Basic 6.0 (VB6.0) and AutoCAD. The software was developed through secondary development of AutoCAD using ActiveX Automation interfaces. The work was supported by the Zhejiang Provincial Science and Technology Plan Key Research Project (005C21093) and was conducted jointly by the Dalian Boiler and Pressure Vessel Inspection Research Institute and the Institute of Chemical Machinery Engineering at Zhejiang University.

Core Technical Content and Methodology

Concept of Combined Fittings

Combined fittings, also known as composite fittings or custom fittings, are pipe components that combine multiple standard fitting types (elbows, tees, reducers) into a single unit to meet specific layout requirements in pressure piping systems. The advantages of combined fittings include:

Software Architecture

The software was developed using VB6.0 as the primary development environment, leveraging the ActiveX Automation interfaces provided by AutoCAD to create, modify, and manage drawings programmatically. The architecture follows a client-server model where VB6.0 acts as the client and AutoCAD acts as the server.

Component Technology Function
User Interface VB6.0 Forms Input parameters, display results, control workflow
Drawing Engine AutoCAD (ActiveX Automation) Generate and modify CAD drawings
Geometry Calculation VB6.0 Modules Calculate fitting dimensions, transitions, and intersections
Data Management VB6.0 Data Access Store and retrieve fitting configurations
Standard Library VB6.0 Collections Manage standard fitting dimensions and tolerances

Key Development Steps

The development process involved the following key steps:

  1. Requirement analysis: Define the types of combined fittings to be supported, including the standard fitting combinations, applicable standards (GB/T, ASME, EN), and required output formats.
  2. Interface design: Design user-friendly input forms for specifying fitting parameters such as nominal diameter, wall thickness, bend radius, angle, and combination type.
  3. Geometry algorithm development: Implement algorithms for calculating the geometry of combined fittings, including the intersection curves between different fitting types, transition surfaces, and development patterns.
  4. AutoCAD integration: Use ActiveX Automation to control AutoCAD, creating layers, drawing geometry, adding dimensions, and generating annotations programmatically.
  5. Drawing template management: Develop standardized drawing templates that comply with applicable drafting standards, including title blocks, dimensioning conventions, and annotation formats.
  6. Testing and validation: Test the software with various fitting configurations and validate the generated drawings against manual calculations and standard requirements.

Technical Implementation Details

The ActiveX Automation interface allows VB6.0 to control AutoCAD as follows:

The geometry calculation module handles the complex mathematical operations required for combined fitting design, including:

Engineering Practice Implications

This software development has several important implications for the pressure piping industry:

Key Questions and Reflections

Several questions arise from this study:

Study Insights and Implications

This paper represents an early example of CAD software development for specialized engineering applications using available tools and interfaces. The use of VB6.0 and ActiveX Automation was a practical approach that leveraged widely available tools and required relatively low development costs compared to building a standalone CAD application.

The key insight is that specialized software for niche engineering applications can provide significant productivity improvements by automating repetitive design tasks. The combined fitting software addresses a specific need in pressure piping design where manual drafting is time-consuming and error-prone.

From a broader perspective, this work foreshadows the trend toward specialized engineering software that integrates with general-purpose CAD platforms. Modern developments in parametric design, finite element analysis integration, and digital twin technology have built upon the foundations established by such early software development efforts.

For engineers working in pressure piping design, this research highlights the importance of investing in specialized software tools that can improve design efficiency, reduce errors, and ensure compliance with applicable codes and standards. The principles of software development demonstrated in this paper—modular architecture, standard compliance, user-friendly interfaces, and integration with established CAD platforms—remain relevant in modern engineering software development.

In conclusion, this research effectively demonstrates that specialized CAD software for pressure pipe combined fittings can significantly improve design efficiency and quality, providing a practical solution to the challenges of manual drafting in complex piping design applications.