how accurate does it need to be ???
use some marking out blue
dirty way put in a vice holding the ends, the holding a spirit level, and looking at the bubble drag it along the top edge
will be fairly close, but maybe not close enough for what you want ?