@ozanunsal if you’re interested in a non-Python solution, there are nodes for Corridor surfaces in the Camber package.