The Stock Manager tracks and stores the current status of the rest material. It enables users to obtain the rest material stock for consecutive toolpath calculations or an intermediate stock model for the simulation. The stock manager can handle multiple workpieces and complex multi-stock simulations.