Thanks for your reply! The first solution didn't work for me because the slope also starts at a different height. So connect them would result in skewed lines.
We just found a solution in the script we already made. We aligned the bottom of both slopes so it starts at the same point.
The script was already set up to manually change the distance of the rooftiles on the right slope, so once the alignment was in place we could fix the problem.
Thanks for your thoughts anyway!
Greetings, Jakob de Vries