Computer-aided process planning