Print-in-place ruler with pencil holder and mechanism for ejecting the pencil.
NO AMS needed for printing the ruler MM details. Just a color swap. I choose 0.12mm layer height (0.2mm first layer) and change the color at layer 175. Also, I would slow down the print speed for the details, to have a better result.
No hardware needed.
17.5 cm ruler.
Also has grooves from 0-3" (inch) with full and half inch marks.
The max diameter of the pencil to be stored inside the ruler is 7,8mm. I've tested 4 types of hexagonal pencils and all worked fine.
No supports and no assembly is needed. Please print it in the following position: