I tried chatGPT to generate blender python scripts and after multiple attempts, MOST of them didn't really work but this worked out pretty well with a tiny edit in code ofc. Still, very impressive. Thanks to for the idea.