The Scissors tool can be used to cut away lines from an existing vector shape. When editing a shape, choose Layer › Paths › Scissors from the menu.
You can then click on a line in your vector shape to cut it out. When you’re finished, click outside the shape or press the Enter or Escape keys to exit the Scissors tool. When there is only a single line left, you’ll exit the Scissors tool automatically.