Origami (paper folding) is an effective tool for transforming two-dimensional materials into threedimensional structures, and has been widely applied to robots, deployable structures, metamaterials, etc. Rigid origami is an important branch of origami where the facets are rigid, focusing on the kinematics of a panel-hinge model. Here we develop a theoretical framework for rigid origami, and show how this framework can be used to connect rigid origami and its cognate areas, such as the rigidity theory, graph theory, linkage folding and computer science. First, we give definitions regarding fundamental aspects of rigid origami, then focus on how to describe the configuration space of a creased paper. The shape and 0-connectedness of the confi...