Puzzle 2D from closed crv

Hi! I’m new here and I’m not very good in Gh. I found a very nice tutorial explaining how to make a rectangular puzzle. I would like to improve it to make puzzles from a closed crv. Is there anyone that can help me, please? I attach .gh file.
Thank you in advance.
puzzle_help.gh (12.4 KB)

Something like this?

puzzle_help_re.gh (20.6 KB)

1 Like

Yes! It’s exactly what I meant. It’s perfect, thank you!
I have a new question, if it’s possible. I would like to lasercut this file and I need to erase all duplicated lines. how can I do that? Thank you in advance