To print this in one piece I paused the print at layer 13 and inserted the ruler with a piece of paper taped on, so the filament could stick to it.