Mechanics and rock plans