Creating primitive mesh objects