Move an object to a coherent coordinate system

Even if the measure does not need to be placed in a reference coordinate system, you may have to change the current coordinate system in order to make it coherent with the object. For example, on a facade, you may want to have the Z axis orthogonal to the wall.