Take a look at this. See the python code inside the component to see how to generate walls by profile