cut something into a shape