A Cavendish mesher