Modular Design Software Development for Pressure Piping Combined Fittings
Literature Overview
The paper by Xie Tao, Jin Zhijiang, and Cao Ming from Zhejiang University, published in Chemical Engineering and Machinery (2006, Vol. 33, No. 2, pp. 103-107), addresses the secondary development of a specialized AutoCAD-based software tool for the modular design of pressure piping combined fittings. The work was supported by the Zhejiang Provincial Science and Technology Key Project (2005C21093). The authors employed VB 6.0 as the development environment and leveraged the ActiveX Automation interface to create a dedicated tool for combined fitting design within the AutoCAD platform. This study is particularly relevant to piping engineers who deal with complex isometric drawings and combined fitting configurations in chemical and process industries.
Core Technical Approach
The fundamental challenge addressed by this work is the time-consuming and error-prone nature of manually drafting combined fittings in AutoCAD. In pressure piping systems, combined fittings often refer to assemblies where multiple fittings—such as elbows, tees, reducers, and caps—are joined at specific angles or configurations to meet routing requirements. Traditional manual drafting requires repeated geometric calculations, angle adjustments, and dimension annotations, which are both labor-intensive and susceptible to human error.
The authors developed a modular software architecture where each fitting type is treated as an independent design module. These modules can be combined through a user-friendly interface to generate complete combined fitting assemblies. The ActiveX Automation interface serves as the bridge between the VB 6.0 application and the AutoCAD drawing environment, allowing the software to programmatically invoke AutoCAD commands, create geometric entities, and manage layers and annotations.
Key Design Workflow
| Step | Description | Technical Detail |
|---|---|---|
| 1 | Fitting type selection | User selects from predefined fitting library (elbow, tee, reducer, cap) |
| 2 | Parameter input | Nominal diameter (DN), wall thickness, bend angle, material grade |
| 3 | Module instantiation | Software generates individual fitting geometry based on ASME B16.9 or equivalent |
| 4 | Combined assembly | Modules are positioned according to routing coordinates and connection logic |
| 5 | Annotation and output | Dimensions, material callouts, and BOM are automatically generated |
Engineering Practice Integration
From a practical standpoint, this modular approach aligns well with the PDCA cycle in piping design quality management. The Plan phase benefits from predefined fitting libraries that ensure consistency with applicable standards. The Do phase is accelerated through automated geometry generation, reducing drafting time by an estimated 40-60 percent compared to manual methods. The Check phase is strengthened because the software enforces dimensional rules and prevents incompatible fitting combinations. The Act phase enables continuous refinement of the fitting library as new product specifications or standard revisions become available.
A critical insight from this work is the importance of maintaining a well-structured fitting database. The software's value is directly proportional to the completeness and accuracy of its underlying fitting library. Engineers should ensure that the library covers all standard fitting types required by their project specifications, including long-radius elbows, short-radius elbows, sanitary tees, and special reducers. Additionally, the software should support multiple standard systems—such as ASME B16.9, EN 10253, and GB/T 12459—to accommodate international projects.
Key Reflections
The paper demonstrates that even in the early 2000s, when computational resources were more limited, well-structured software development could significantly improve engineering productivity. The use of ActiveX Automation, while now somewhat dated compared to modern .NET or Python-based AutoCAD interfaces, was an appropriate technology choice for its time. The modular design philosophy remains highly relevant today, as modern piping design software continues to rely on parametric fitting libraries and automated assembly workflows. However, engineers should note that the paper's focus is on 2D drafting rather than 3D modeling, which limits its applicability to modern BIM-based piping design environments. The fundamental principles of modularity, standardization, and automation remain transferable to contemporary software development practices.
Summary
This paper provides a valuable case study in the application of modular software design principles to pressure piping engineering. The VB 6.0 and ActiveX Automation approach, while technically outdated, illustrates the enduring value of standardization and automation in reducing drafting errors and improving design efficiency. Modern piping engineers should adopt similar modular philosophies in their CAD and CAE workflows, ensuring that fitting libraries are comprehensive, standards-compliant, and easily maintainable.
Zhuojin Pipe Fitting Co., Ltd