Molding on a curved wall curve

Hi there any tuts on molding (carniz) on a curved wall?
Thanks.

You could do it with bezier curves for the carniz shape, and a curve following the wall.

Thanks alot!