Recently I asked this question and got a very nice answer:
What is the easiest way to smooth the intersection of two planes?
However, now I would like to use a different material for each face. Could anybody help me on how to do this? Written in python script would be best.
Thanks, Mojmir.