Computer methods for the generation of membrane cutting patterns