Machining complex geometries with deep cavities, high steep walls and undercuts requires precisely defined milling areas and many different tool angles, which can be achieved without collisions using 5-axis machining. Depending on the geometry and machine kinematics, the user can choose between 5-axis machining with a fixed tool angle, automatic indexing or true simultaneous motion.