Principles of process planning