Dynamic simulations of the cable-driven parallel robots (CDPRs) with cable models closer to reality can predict the motions of moving platforms more accurately than those with idealisations. Hence, the present work proposes an efficient and modular computational framework for this purpose. The primary focus is on the developments required in the context of CDPRs actuated by moving the exit points of cables while the lengths are held constant. Subsequently, the framework is extended to those cases where simultaneous changes in the lengths of cables are employed. Also, the effects due to the inertia, stiffness and damping properties of the cables undergoing 3D motions are included in their dynamic models. The efficient recursive forward dynamics algorithms from the prior works are utilised to minimise the computational effort. Finally, the efficacy of the proposed framework and the need for such an inclusive dynamic model are illustrated by applying it to different application scenarios using the spatial $4$-$4$ CDPR as an example.