Specialized Software Development for Pressure Pipe Combined Fittings Using VB6.0 and AutoCAD
Literature Overview
This paper by Xie Tao, Jin Zhijiang, Zheng Xiangyu, Wang Fei, and Zhang Sujuan, published in Mechanical Design and Manufacture in 2006, describes the development of a specialized software tool for pressure pipe combined fittings using VB6.0 as the development environment and AutoCAD as the CAD platform. The software was developed through ActiveX Automation interfaces and represents an early example of CAD/CAM integration for pressure vessel and piping design. The work was conducted jointly by Dalian Boiler and Pressure Vessel Inspection Research Institute and the Chemical Machinery Research Institute of Zhejiang University, supported by the Zhejiang Provincial Science and Technology Key Research Project (005C21093).
Concept of Pressure Pipe Combined Fittings
A pressure pipe combined fitting is a specialized component that integrates multiple standard fitting functions into a single fabricated unit, reducing the number of individual components required in a piping system. This approach offers several advantages: reduced welding joints, improved structural integrity, simplified installation, and lower maintenance requirements. Combined fittings are particularly beneficial in high-pressure, high-temperature, or hazardous service applications where minimizing leak points is critical.
The design of combined fittings requires careful consideration of stress concentrations at geometric transitions, material compatibility, and manufacturing feasibility. Traditional design methods rely on manual drafting and calculation, which are time-consuming and prone to errors. The specialized software described in this paper automates the design process by generating accurate CAD drawings directly from input parameters.
Software Architecture and Development Approach
| Component | Technology | Function |
|---|---|---|
| User Interface | VB6.0 | Parameter input, result display, control |
| CAD Engine | AutoCAD | Drawing generation, geometric modeling |
| Interface | ActiveX Automation | Communication between VB and AutoCAD |
| Database | Access/Excel | Storage of fitting parameters and standards |
| Output | DWG/DXF | Standard CAD drawing formats |
The ActiveX Automation interface enables VB6.0 to control AutoCAD programmatically, allowing the software to create, modify, and save drawings without manual intervention. This approach leverages the powerful drawing capabilities of AutoCAD while providing a user-friendly interface through VB6.0 forms and controls. The software workflow typically involves the user selecting a fitting type, inputting dimensional parameters and material specifications, and the software generating the corresponding CAD drawing with all required dimensions and annotations.
Key Development Steps and Technical Challenges
The development process involved several critical steps: defining the fitting geometry algorithms, implementing the parameter-to-geometry mapping, establishing the drawing standards compliance, and validating the output against manual designs. The geometry algorithms for combined fittings are complex because they involve the intersection of multiple cylindrical, conical, and spherical surfaces, which can produce non-planar intersection curves that require accurate representation.
One of the primary technical challenges was ensuring that the generated drawings comply with applicable standards such as GB/T 12459 for butt-weld fittings, ASME B16.9 for wrought butt-weld fittings, and relevant piping design codes. The software must incorporate standard dimensions, tolerances, and annotation conventions, which requires a comprehensive database of standard parameters and drawing templates.
Software Workflow
- User selects fitting type from a menu of predefined combined fitting configurations.
- User inputs design parameters including nominal diameter, wall thickness, branch angles, and material grade.
- Software calculates all derived dimensions based on geometric relationships and standard requirements.
- Software generates the 2D engineering drawing through AutoCAD commands including lines, arcs, circles, and dimensioning.
- Software adds material specifications, tolerance callouts, and welding symbols as required by the applicable standard.
- User reviews the generated drawing and makes any necessary adjustments through the software interface.
- Drawing is saved in DWG or DXF format for further processing or fabrication.
Practical Application and Engineering Significance
The software was successfully applied in the design of pressure pipe combined fittings for chemical plant piping systems, where the complexity of the piping layouts and the stringent safety requirements make manual design inefficient and error-prone. The automation of the design process reduced the time required for generating a single combined fitting drawing from several hours to a few minutes, while also improving consistency and reducing the likelihood of dimensional errors.
The use of VB6.0 and AutoCAD Automation represents a pragmatic approach to software development that leverages widely available tools and familiar programming environments. While modern development practices might employ more contemporary technologies, the fundamental approach of integrating a user interface with a CAD engine through automation interfaces remains valid and is widely used in the engineering software industry. The paper provides valuable insights into the challenges and solutions involved in developing domain-specific engineering software, including the importance of standards compliance, user validation, and iterative development.
Study Insights and Reflections
This paper illustrates the value of specialized software tools in improving engineering productivity and quality, particularly in areas where repetitive design tasks with high accuracy requirements are common. The combined fitting design problem is well-suited to automation because the geometric relationships are well-defined and the standards provide clear rules for dimensional requirements. The software development approach demonstrated here, using VB6.0 and AutoCAD Automation, was appropriate for the time and technology available, and the resulting tool provided significant benefits to the engineering team.
From a broader perspective, this work highlights the importance of software tools in supporting engineering design and analysis. As piping systems become more complex and the requirements for safety and efficiency increase, the role of specialized software in ensuring design accuracy and productivity becomes ever more critical. The paper serves as a useful reference for engineers considering the development of domain-specific software tools for their own applications, demonstrating both the technical approach and the practical benefits of such investments.
Zhuojin Pipe Fitting Co., Ltd