Create solids from curves

Hello,
It is hard to help without more information or some data or script

You can look at that to have an automatic roof generation