This villa was erected from six modules in just three hours, and is claimed to be able to withstand earthquakes

A 3D-printed house has been built in just three hours in one of China's capital cities.

The individual modules of a dining room, kitchen, bathroom and bedrooms were assembled by Chinese developer Zhuoda Group on a site in Xi'an earlier this month.

Sina English reports most of the building, comprising six modules, was produced in a factory ahead of time and then put together with several workers and a crane.

The modules were produced in a factory and then assembled on site. Photo: cnwest via Sina English

Each module weighs more than 100 kilograms and the cost of the materials ranged from 2500 yuan to 3500 yuan (NZ$605 to $847) a square metre.

According to An Yongliang, a developing engineer of Zhuoda Group, their method significantly reduced the typical timeframe to build a traditional villa; from half-a-year to a mere 10 days from production to installation.

Despite its speedy construction, the engineer claims the building can withstand earthquakes because each module bears its own weight.

The public were invited to inspect the interior of the newly built 3D-printed house. Photo: 3ders.org

The steel-framed structure could also be filled with heat-insulating materials to keep the home warm in winter.

After completion, the public were welcomed into the house to tour the modern interior, complete with furnishings and utilities.

Though the villa has taken 3D printing to yet another level, it's one among many impressive buildings that have been constructed with the technology in recent years.

In January, the WinSun Decoration Design Engineering Co built a five-storey apartment block in China's Suzhou Industrial Park.

Head to our Facebook page for more from Stuff Life & Style