Lu Ban (魯班 ) (c. 507–444 BC) was a Chinese carpenter, engineer and inventor during the Zhou Dynasty. He is revered as the Chinese god (patron) of builders and contractors in Chinese folk religion. His original name was Gongshu Yizhi. He was also referred to as Gongshu Ban or Pan.
Some people call him the Chinese Leonardo da Vinci, even he lived 900 years earlier than da Vinci.
Lu Ban invented numerous things, one of them was the the Luban carpentry ruler. It was used in ancient times in the construction of residential houses and furniture. A whole structure and each of its parts would have its height, width and length measured in lucky numbers.
Read the details here