Good Morning People, I would to model a Parametric Design Ceiling on a building with Rail Clone

, I tried with both Linear 1S and Array2S but cannot find the good way :'(, I'm gonna share some picture of the idea and my model, if someone can have the answer and help please. thank you so much

I actually tried Linear1S cause I would like the model to follow the perimeter of my object
really thank you so much.