2,5-axis machining of wood panels