A unified framework for kinematic simulation of rigid-foldable structures (Journal of Computational Design and Engineering, 2026)