Want loft?

i want to loft the rectangles (somehow a few lines appearing ,dnt know from where,if possible remove them?)

wb.gh (20.1 KB)

Lofting those boxes is never going to go well but you can loft those rectangular surfaces, which Loft will treat as curves.

P.S. Or this using SubSrf (Isotrim)?

that works