Thanks a lot for this tutorial !!
However, using the script I keep getting error messages (I already changed the above mentioned modification).
I get an error saying
Python: Traceback (most recent call last):
File "/Users/koendefoort/Desktop/bottom.blend/shrinkwrap loop.txt", line 26, in <module>
File "/Applications/Blender.app/Contents/Resources/3.4/scripts/modules/bpy/ops.py", line 113, in __call__
ret = _op_call(self.idname_py(), None, kw)