Bar Cutting & Optimization Tool for Civil Engineers
Reinforcement steel typically accounts for 15–25% of total RCC construction cost, which can be ₹7–12 lakh for a mid-sized building. Industry studies and site audits consistently show that 3–7% of reinforcement steel is lost as cutting waste, translating to ₹30,000–70,000 due to poor planning, manual estimation, or ad-hoc bar cutting on site. On a mid-sized project, that wastage alone can mean:
- several tonnes of steel lost
- cost overruns running into lakhs
- re-order delays and site inefficiencies
Most sites still rely on Excel sheets and manual judgment to decide how bars are cut from standard lengths. Excel is excellent for quantities, but terrible at combinatorial optimization.
BarPlanCE solves exactly this gap.
It takes raw cut requirements and produces an optimized bar cutting plan that:
- minimizes wastage
- shows exactly how each bar is cut
- gives visual clarity suitable for site execution
This is not academic optimization. This is construction-grade practicality.
BarPlanCE is a desktop application for:
- reinforcement bar cutting optimization
- BBS-support planning
- fabrication and site execution clarity
It converts cut requirements into:
- optimized bar usage
- per-bar cut breakdown
- per-bar wasted length
- visual bar diagrams for quick understanding
-
📐 Bar Cut Optimization Uses exact combinations for small datasets and fast heuristics for large datasets.
-
📊 Visual Bar Representation Color-coded graphical bars showing individual cuts.
-
📉 Automatic Wastage Calculation Unused length per bar is calculated and displayed.
-
📂Flexible Input
-
Also the size of sourced BAR can be change, usually which is 6000/1200 depending on type od REBAR
-
📤 Export Ready
- CSV
- Excel (.xlsx)
-
⏳ Progress Feedback Clear progress indication during optimization.
-
🧠 Fail-Safe Logic Large inputs automatically switch to efficient heuristic mode to avoid freezes.
Also, equipped with real-time feedback through dialog boxes, confirming successful data loads or alerting users to errors. This ensures engineers always know the status of their input, optimization, and exports.
- Reinforcement planning on site
- Bar Bending Schedule (BBS) preparation
- Steel wastage reduction
- Fabrication yard cutting plans
- Cross-checking contractor cutting logic
Designed specifically for civil engineers, site engineers, and planning engineers.
- Python 3
- PySide6 – Desktop GUI
- pandas – Data handling
- openpyxl – Excel file support
All dependencies are free and open-source.
This project uses uv, a fast modern Python package manager.
pip install uvgit clone https://github.com/your-username/BarPlanCE.git
cd BarPlanCEuv init
uv add pyside6 pandas openpyxluv run gui.py1200, 3
800
450, 2
| Length | Quantity |
|---|---|
| 1200 | 3 |
| 800 | 1 |
| 450 | 2 |
Notes:
- Lengths are automatically rounded up
- Quantity defaults to 1 if omitted
For each standard bar:
- list of cut lengths
- graphical bar visualization
- wasted (unused) length
Exports are Excel-friendly and suitable for:
- site sharing
- contractor instructions
- records and audits
- Large datasets use heuristic optimization for speed
- Cutting loss (kerf) not yet included
- Metric units assumed
- Cutting loss allowance
- Steel weight calculations
- BBS summary tables
- PDF export
- IS / ASTM bar presets
MIT License Free for personal, academic, and commercial use.
BarPlanCE is built on a simple belief:
Steel is expensive. Wastage is preventable. Planning should be visual and precise.
If this tool saves even 1% steel on one project, it has already paid for itself many times over.
