Fronts between hexagons and squares in a generalized