Considering the space environment and its critical issues and consequent risks, the challenge is to define the way and tools with which future astronauts will be able to act, live and work in space and, in particular on the Moon and Mars, exploiting, at the state of art, knowledge of innovative science, engineering and technology. On the Moon and Mars, the most obvious environmental factors are extreme temperature fluctuations, low gravity and the virtual absence of atmosphere and magnetosphere. The health of a human body can be damaged by reduced values of gravity. Due to the reduced gravity on the Moon and Mars, human bones and muscles are unloaded and begin to weaken. It increases the risk of bone fractures and atrophied muscles for astronauts returning to Earth from prolonged missions. The magnetosphere and atmosphere on Earth shield from much of the dangerous solar and cosmic radiation. Radiation with extremely high energies can damage even living tissue. The surface of the Moon and Mars has been crushed by millions of impacts of celestial bodies such as asteroids, leaving a layer of regolith that could be very deep depending on the areas of the planets. The habitation module, described in this paper, is carried by a vehicle equipped with two pairs of compass shaped legs that act as supports for the habitation module capable of maintaining a certain controlled height with respect to the ground as well as a horizontal attitude, during the movement of the compass. A system of ropes wound on pulleys allows to control the height of the habitat with respect to the ground, control the structure in movement, descent and ascent. The habitat can also be lowered to the ground. The geometry of the shape of the pulleys, around which the ropes are wound, is determined in such a way that the habitation module remains at a certain height during the movement defined by the two compass-shaped advancement supports. The paper describes and analyzes the movement of the pulleys during the entire phase of the movement of the habitation module and their geometric shape is discussed.