Automated around-the-clock machining of prismatic medical parts