Thank you very much for your help, but the method you gave doesn't seem to work for my case, I can make the window the same size at the start and end position, but that's not the best solution either, because that would be shorter than the spline, but" Corner" I have no way to make the windows the same size, and the "Corner" position of your solution is not the result I want. Thank you again for your help.