Citation: XU N X. Identifying rock blocks based on hierarchical rock-mass structure model. Rock-masses are divided into many closed blocks by deterministic and stochastic discontinuities and engineering interfaces in complex rock-mass engineering. Determining the sizes, shapes, and adjacent relations of blocks is important for stability analysis of fractured rock masses. Here we propose an algorithm for identifying spatial blocks based on a hierarchical 3D Rock-mass Structure Model (RSM). First, a model is built composed of deterministic discontinuities, engineering interfaces, and the earth's surface, and the deterministic blocks surrounded by these interfaces are traced. Then, in each deterministic block, a network model of stochastic discontinuities is built and the stochastic blocks are traced. Building a unitary wire frame that connects all interfaces seamlessly is the key for our algorithm to identify the above two kinds of blocks. Using this algorithm, geometric models can be built for block theory, discrete element method, and discontinuous deformation analysis.rock-mass engineering, discontinuity, block identification, 3D Rock-mass Structure Model, network model of stochastic discontinuitiesIn a rock-mass, there are many discontinuities, including faults, weak interbeds, joints, and schistosities; these are different in scale, orientation, and properties. The mechanical characteristics and stability of a rock-mass are controlled by these discontinuities [1,2] . There are two classes of discontinuities: deterministic and stochastic. Generally, in rock-mass engineering, some discontinuities, such as faults, weak interbeds, and large joints, which are large in size and small in number and can be determined by outdoor survey and exploration, are classified into deterministic discontinuities. Other discontinuities, however, such as joints and schistosities, which are small in size and large in number and can rarely be determined by actual measurement, are classified as stochastic discontinuities. For convenience, in this paper, we refer to deterministic discontinuities, engineering interfaces, and the earth's surface as deterministic interfaces. Blocks surrounded by deterministic interfaces are called deterministic blocks, and blocks surrounded by stochastic discontinuities are called stochastic blocks.The rock mass is divided into blocks of different shapes and sizes by deterministic interfaces and stochastic discontinuities. Block instability may cause local instability of a rock-mass and even overall instability of rock-mass engineering. Block theory, discrete element method, and discontinuous deformation analysis are effective tools for stability analysis of fractured rock-mass engineering, and have already been widely used. Block identification is one way to determine the positions, sizes and shapes of rock blocks according to the spatial distribution of discontinuities. Goodman and Shi [3,4] and Warburton [5] developed block identification algorithms by assuming all discontinuities to be infinite planes...