Related to this, we did a project last year where we algorithmically generated gripper fingers based on the object it needs to lift.
https://fit2form.cs.columbia.edu/
https://www.youtube.com/embed/utKHP3qb1bg
Given we have an appropriate simulation engine, I can imagine the same idea being extended to the pasta shapes.