Creating the 'net' of a shape for printing

Like this?

or