A trimming machine (1) comprises a housing (10) and three trimming units (200A, 200B, 200C), arranged in the housing according to a triangular configuration. Each trimming unit comprises a rotatable knife block (20); the different knife blocks have mutually parallel rotation axes (24). The housing has an open bottom face (15) perpendicular to a Zh-direction. The housing has a front side. A direction parallel to the bottom face directed to the front side defines an Xh-direction. A direction perpendicular to the Xh-direction and parallel to the bottom face defines an Yh-direction. Each rotation axes is located in an Xh-Zh-plane and makes a small angle alpha larger than zero with the z-direction,- Two trimming units (200A, 200B) are arranged next to each other in the Yh-direction. The third trimming unit (200C) is displaced in Xh-direction and in Yh-direction with respect to the two first mentioned trimming units but in Zh-direction is located at the same height as the two first mentioned trimming units.