Presented in the paper is a C-space based computer automated process planning (CAPP) algorithm for freeform die-cavity machining, which is an extension of the hierarchical CAPP model proposed earlier by the authors. In order to demonstrate its validity, the proposed CAPP algorithm has been implemented and applied to actual die-cavity machining examples. (C) 2002 Elsevier Science Ltd. All rights reserved.