Perhaps one of the rulers you have, already have the 45° markings on it?
Many of us have had glass shops cut templates for us out of the same acrylic aka plexiglass as the rulers that we buy. Of course, those will not have any of the normal ruler markings.