/en/ case-studies / Zarządzanie produkcją elementów stalowych
// Case study · Construction & manufacturing sector / Production management

Production management for steel components

For Mr Cat — a manufacturer of steel road and bridge columns — we are building a steel cutting optimization system that ties the site's demand, the warehouse, production and accounting into a single tool.

It solves four problems at once:

  • The engineer gets a ready-made bar and plate layout instead of calculating by hand — with a DXF export straight to plasma cutters and CNC machines.
  • The warehouse receives an automatic order specification — with material line items tied to a specific project.
  • Material recovery — usable offcuts return to circulation and cover subsequent orders, instead of ending up as scrap.
  • Accounting computes the final cost from real documents, and the invoice goes to Fakturownia.pl and KSeF in a single click.
Client · Mr Cat · road construction
Product · Cutting optimization system
philosopht role · End-to-end — on-site problem analysis at the client, optimization algorithms, backend, frontend, integrations and maintenance
Technical core · React 19 · NestJS · HiGHS (MILP) · maxrects · DXF
Sector · Manufacturing / Production management
9
Modules — from steel cutting to the e-invoice
96
Profiles in the mass database (EN 10365 / 10279)
DXF
Layout export ready for AutoCAD / CAM
01 · Context

About the project and the client#

Mr Cat manufactures steel road columns and supports — including for the DK59 national road project. A typical plant in the construction and manufacturing sector: the whole chain under one roof, from the site's demand to the invoice.

The bottleneck is the engineer's time. Reading drawings by hand, planning the cutting layout, keeping track of steel grades, computing cost per kilogram — project after project. Sometimes a large amount of waste that can no longer be used on subsequent projects.

Before we start writing code, we spend several days on site — we analyze the work on the shop floor and consult the process with Mateusz Ozga, a specialist in producing columns for road construction sites. We understand the problem from the inside — which is why we are able to create tailor-made software.
Client
Mr Cat
manufacturer of steel road and bridge structures
Product
Cutting optimization system
1D + 2D cutting integrated with warehouse, production and cost accounting
Industry
Production management · steel structures · roads and bridges
columns and supports · national roads (incl. DK59) · HEA/HEB/IPE/UPE/UPN profiles · plates
philosopht role
End-to-end
on-site problem analysis at the client, optimization algorithms, backend, frontend, integrations and maintenance — the whole system
Core
Cutting optimization 1D + 2D
MILP solver with proof of optimality · plate nesting · DXF export
Process scope
Demand → Warehouse → Cutting → Production → Cost
records split per construction site, in kilograms and units, distinguishing steel grades
Product goal

One tool covering the entire column production cycleautomated cutting-layout calculation, steel waste minimization through optimal cutting, faster production and a warehouse kept split per project. The real final cost per kilogram and per unit — computed from real documents.

02 · Challenges

What we're tackling#

The largest cost wasn't steel — it was the risk of human error under a flood of orders and detailed specifications. To change that, we have to take on a complex, multi-stage process where every millimeter counts: how to compute the cutting layout with a guarantee of optimality, how to return usable offcuts to circulation, and how to arrive at the real product cost — per kilogram and per unit.

A cutting layout with a guarantee of optimality

Cutting-layout optimization is a combinatorial problem — the mathematical minimum of total bar length and number of sheets is practically unreachable without the right algorithm. The challenge: compute an optimal plan with a proof that it can't be beaten, while accounting for kerf, commercial-length limits and the "2 elements from one segment" mode.

The hard rule of never mixing steel grades

Steel grades (e.g. S235 and S355) must never end up together in a single order line item. The system tracks them separately at every level — from the individual plate, through the column, to the bill for the plasma cutter and the invoice.

Usable offcuts back into circulation

Cutting remnants above the minimum required length aren't waste — they return to a separate offcut warehouse and can cover future demand. The optimization had to distinguish usable offcuts (feeding the warehouse) from shorter ones (counted as loss), and the warehouse had to work split per construction site.

Module coherence at every stage

Demand, cutting, warehouse, production, costs and invoice — each module pulls data from the previous one without manual retyping. The challenge: carry the result of one stage into the next without losses, so that the whole path from the construction site to the invoice is a single coherent process.

Got a similarly complex project? Let's talk.

Provable optimization, a demanding production domain and real cost accounting — we know how to structure it into one coherent system.

03 · Approach

How we approach the project#

Three principles that guide this project: a deep understanding of the process first, then code — long, detailed consultations on site at the production plant. Well-thought-out algorithms validated on real projects — algorithms designed for a specific production process and tested against the client's real documents. Simplicity of use and integration with the existing production process — one tool covering the whole process, with exports going straight where they're needed.

01

Understanding the process at the production site

We start with days spent at the client — walking the workshop, talking to operators and engineers, observing the process from the site's demand to the invoice. We only start building the data model and the cutting rules once we understand how the product is actually made.

02

Well-thought-out algorithms validated on real projects

We design the 1D and 2D cutting algorithms for a specific production process, and we test each one on real projects and the client's real production documents. A solution only goes into production once we've proven how it performs against manual calculations.

03

Simplicity of use and integration with the existing production process

One tool tying together demand, warehouse, cutting, production and accounting — no switching between systems. The interface walks the operator through every stage, and the result goes straight where it's needed: a DXF export to the plasma cutter, a delivery note to the galvanizing plant, an invoice to Fakturownia.pl, a KSeF e-invoice and a full project documents pack to download (PDF, XML, CSV).

04 · App screens

App views#

The full flow from the dashboard, through demand from workshop drawings and cutting optimization, the warehouse, production and costs, to KSeF invoicing and the completed project archive.

Some app screens

Views from the working system — the full cycle from the dashboard, through demand, material and cutting optimization, to production, costs and e-invoices.

05 · Outcome

What we deliver#

The biggest wins from the deployment — measured in engineer's time, amount of waste, number of errors and coherence of the whole column production process.

Time saved
A full order — from the site's demand to the cutting layout and cost estimate — comes together in a dozen or so minutes instead of hours.
Less waste, lower cost
An automatic 1D/2D layout squeezes more out of bars and sheets than a hand-made plan. Less waste, a higher margin on the project.
Fewer errors
Masses computed automatically, steel grades (S235 / S355) kept apart, data consistent with the workshop drawing.
One coherent process
Warehouse, production, delivery notes (WZ) and transport to the galvanizing plant — in a single tool, from the site's demand to the unit cost.
Ready-to-use CNC files
Cutting layouts exported in a ready DXF format — the file goes straight to plasma cutters and CNC machines, with no manual redrawing or conversion.
A tailor-made algorithm
An algorithm fitted to the realities of the workshop — the profiles, the steel grades and the way the client splits the columns. Not an off-the-shelf optimizer, but a tool built for this process.
From here — technical deep dive
Section 06 is aimed at tech leads, CTOs and developers. If you've already seen the results — feel free to jump straight to the contact section ↓.
06 · Technical approach

Decisions that made the difference#

Four decisions that shaped the quality of the result the most — matching solvers to the problem type, a hard separation of steel grades, splitting long plates into welds and a CAD-compliant export. A web application: React + NestJS, a standard technology stack with no exotic dependencies.

Decision 01 · Solver choice per problem type

A separate algorithm for 1D cutting and for 2D nesting

Bar cutting is a 1D problem — a MILP solver (HiGHS) delivers a plan with a proof of optimality. Plate nesting is a 2D problem — a layout of differently sized plates (maxrects) in thickness×grade groups plus analytical sheet selection for identical plates.

Two fitted algorithms give a better result than one universal heuristic.

Decision 02 · Aggregation without mixing grades

A hard separation of steel grades across the whole process

The steel grade (S235 / S355) is tracked separately at every level — from the individual plate, through the column, to the bill for the plasma cutter and the invoice. Two grades will never end up in a single order line item.

The rule holds throughout the process, because a grade mistake is a real production defect, not a cosmetic one.

Decision 03 · Splitting long plates into welds

Plates longer than a sheet split into segments automatically

Long plates are split into welded segments with an automatic report of the number of welds and welding schematics. Plates with mounting holes are never split.

This makes the optimization result match what can actually be produced, rather than an idealization assuming infinite sheets.

Decision 04 · CAD-compliant export and invoicing integration

DXF ready for CAM and Fakturownia.pl integration

The cutting layout is exported to DXF in a format compatible with plasma cutters and CNC machines — the file goes straight to the machine, with no manual rework or conversion.

We don't build the accounting from scratch. Full Fakturownia.pl integration via the API and KSeF e-invoice support close the process from the site's demand to the invoice.

Technical core#

Tools chosen for this process — proven algorithms and formats, no exotic dependencies.

FRONTEND · NAVIGATION

React 19TanStack RouterViteTypeScriptTailwind CSS 4shadcn/ui

STATE, DATA & CODEGEN

TanStack QueryTanStack FormKubb · OpenAPIZod

BACKEND & DB

NestJS 11PostgreSQLMikroORM

OPTIMIZATION

HiGHS · MILPmaxrects-packer (rozkrój 2D)

EXPORT & CAD

DXF (kontury + otwory)Warstwy per typJednostki mmSchematy cięcia w skaliSchematy spawania

DOMAIN DATA

Baza mas 96 profiliEN 10365 / EN 102797,85 kg/m² · mmGatunki S235 / S355

PROCESS & INTEGRATIONS

Dokumenty WZKalkulacja kosztu (kg / szt)Fakturownia APIe-Faktury
Table of contents
  1. 01 Project context
  2. 02 Challenges
  3. 03 Approach
  4. 04 App screens
  5. 05 Results
  6. 06 Architecture & tech
  7. Contact
Ready when you are

Tell us what you need.

Have an idea for an app or need tech support? Write to us — we'll prepare an initial analysis and estimate within 48h.

Write to us
Office
philosopht Dawid Michota
ul. Świętokrzyska 41A
26-001 Wola Kopcowa, Poland
NIP 6573002241
Free consultation