PipeCoding is a console-based application developed for performing basic piping calculations for Carbon Steel and Stainless Steel piping systems according to the following international standards:
- ASME B36.10M – Welded and Seamless Wrought Steel Pipe
- ASME B36.19M – Stainless Steel Pipe
- ASME B16.9 – Factory-Made Wrought Butt-Welding Fittings
The application is designed to support piping information commonly found in engineering drawings and material take-offs (MTOs) used by companies such as PEMEX, ICA Fluor, Bonatti, and Techint.
-
Parse piping specifications from engineering documents.
-
Calculate fitting take-outs and center-to-face dimensions.
-
Support calculations for:
- 90° Elbows
- 45° Elbows
- Pipe lengths
- Pipe schedules
- Nominal Pipe Sizes (NPS)
-
Estimate theoretical pipe weight:
- Weight per meter
- Total weight
-
Support Carbon Steel and Stainless Steel piping systems.
-
ASME B36.10M
- Carbon Steel Pipe
- Alloy Steel Pipe
- Standard, XS, XXS and Schedule Pipes
-
ASME B36.19M
- Stainless Steel Pipe
- Schedule 5S
- Schedule 10S
- Schedule 40S
- Schedule 80S
- ASTM A106 Grade B
- ASTM A53 Grade B
- ASTM A312 TP304
- ASTM A312 TP304L
- ASTM A312 TP316
- ASTM A312 TP316L
- ASTM A358 Grade 304/304L
10 Pipes, EFW + 100% RT, ASME C3ZCF0T2 6.6 M B36.19/B36.10, ASTM A358 Gr.304/304L Cl.1, BE, -, Imp Tested -196°C, Cryo Serv., S-10S
3 Pipes, Seamless, ASME C4LZMEW8 0.7 M B36.19/B36.10, ASTM A312 Gr.TP304/304L, BE, -, Cryo Serv., S-10S
2 Pulgadas TUBO CED. XS S/COST. A.C. A106 B 5356033 SCA 16.9 M
TUBO CED. XS S/COST. A.C. A106 B 1.1/2 Pulgadas 5356033 SCA 1.8 M
Pipecoding/
│
├── src/
│ ├── main.py
│ ├── pipe_funciones.py
│ └── diseño.py
│
├── Dockerfile
├── README.md
└── requirements.txt
git clone https://github.com/luisortga/pipecoding.git
cd pipecodingpip install richpython src/main.pyBuild the image:
docker build -t pipecoding .Run the container:
docker run -it pipecoding- Python 3.x
- Rich
- Docker
PipeCoding was developed as an educational and professional tool for piping engineering calculations and fabrication support.
PipeCoding es una aplicación de consola desarrollada para realizar cálculos básicos de tuberías de Acero al Carbón y Acero Inoxidable, basada en estándares internacionales utilizados en ingeniería, fabricación y construcción industrial.
El programa trabaja con especificaciones de tubería presentes en planos, listas de materiales (MTO) y documentos técnicos utilizados por empresas como PEMEX, ICA Fluor, Bonatti y Techint.
-
Interpretación de especificaciones de tubería.
-
Cálculo de avances y dimensiones de accesorios.
-
Soporte para:
- Codos de 90°
- Codos de 45°
- Longitudes de tubería
- Cédulas (Schedules)
- Diámetros nominales (NPS)
-
Cálculo de peso teórico:
- Peso por metro
- Peso total
-
Compatibilidad con tuberías de acero al carbón e inoxidable.
Norma para tuberías de:
- Acero al carbón
- Acero aleado
- Tubería estándar
- Cédula XS
- Cédula XXS
- Schedules comerciales
Norma para tuberías de acero inoxidable:
- Schedule 5S
- Schedule 10S
- Schedule 40S
- Schedule 80S
Accesorios soldados a tope:
- Codos 45°
- Codos 90°
- Tees
- Reducciones
- Caps
- ASTM A106 Grado B
- ASTM A53 Grado B
- ASTM A312 TP304
- ASTM A312 TP304L
- ASTM A312 TP316
- ASTM A312 TP316L
- ASTM A358 Grado 304/304L
10 Pipes, EFW + 100% RT, ASME C3ZCF0T2 6.6 M B36.19/B36.10, ASTM A358 Gr.304/304L Cl.1, BE, -, Imp Tested -196°C, Cryo Serv., S-10S
3 Pipes, Seamless, ASME C4LZMEW8 0.7 M B36.19/B36.10, ASTM A312 Gr.TP304/304L, BE, -, Cryo Serv., S-10S
2 Pulgadas TUBO CED. XS S/COST. A.C. A106 B 5356033 SCA 16.9 M
TUBO CED. XS S/COST. A.C. A106 B 1.1/2 Pulgadas 5356033 SCA 1.8 M
Pipecoding/
│
├── src/
│ ├── main.py
│ ├── pipe_funciones.py
│ └── diseño.py
│
├── Dockerfile
├── README.md
└── requirements.txt
git clone https://github.com/luisortga/pipecoding.git
cd pipecodingpip install richpython src/main.pyConstruir la imagen:
docker build -t pipecoding .Ejecutar el contenedor:
docker run -it pipecoding- Python 3.x
- Rich
- Docker
PipeCoding busca facilitar cálculos rápidos de tubería para estudiantes, diseñadores de tuberías, proyectistas, supervisores de obra y profesionales de ingeniería mecánica involucrados en proyectos industriales, petroquímicos y energéticos.


