Thanks ahoeben, I can write a python script like a woodman can create a toothpick 😄 after a look around I found a working plugin for cura that do the job for me https://github.com/bigtreetech/Bigtree3DPluginSuit
Thanks for the reply, I'm quiet new with cura 😉