Creating rulers
The Ruler LPE is a simple effect that applies ruler markers to paths. As the path is edited the ruler markers adjust automatically as we'll see in this recipe.
How to do it...
The following steps show how to create a ruler:
1. Select the Rectangle tool (F4 or R) and create a rectangle.
2. Open the Path Effect Editor by using Shift + Ctrl + 7 or by going to Path | Path Effect Editor....
3. Under Apply new effect, choose Ruler and press the Add button. Notice ruler marks that appear outside of the rectangle.
4. Set Mark distance and Major length to 30, and Minor length to 15 to change the ruler scale and make it more readable.
5. Change the Mark direction to Both to center the ruler marks on the path stroke.
6. Select the Node tool (F2 or N) and make all nodes smooth by selecting them all (Ctrl + A) and using the appropriate button on the toolbar or Shift + S. Notice how the ruler marks adjust to the path shape.
7. Edit the path by dragging it or its nodes and handles. Notice how...