Here a script
It takes as input an image (greyscale), scale it to the good height
Then you have to draw a curve representing the outside of the sole
Choose the min/max radius and number of points
Choose how to divide the outline (here with max radius)
Then click on damn when you are OK
packing shoes.gh (927.9 KB) packing shoes.gh (927.9 KB)
it is also possible to use dual mesh (there many plugins)
This is done with mine

