Machine dimensions come before any cabinet.
Front-loading and top-loading machines have different door swings, lid heights and service needs. For a Mount Holly, NC laundry room, the machines are measured before the first drawing is made. The manufacturer's installation manual gives the clearance each model requires at the sides, the back and above, so send the exact model numbers. The drawing then uses those figures, not the nominal size printed on a store label.