A small Python tool for planning chassis tube cuts from standard stock lengths.
pip install -r requirements.txt python pipe_splitter.py examples/pipe_lengths.xlsx
The tool expects an Excel file (.xlsx) containing two columns:
| Pipe Code | Pipe Length (mm) |
|---|---|
| F01C | 368.69 |
| F02C | 368.69 |
| F03C | 378.52 |
The script groups the required pipe sections into standard stock lengths and prints a cut plan:
- the pipe sections to cut from that stock length
- the total used length, including cut tolerance
- the remaining waste
- the total number of stock pipes required