Creating a curved/slanted slab

Hello everyone,

I am trying to create a slab (Structural Foundation) with Dynamo that is curved/slanted.
I thought about doing it with cross sections but now I’m thinking that this probably isn’t the best approach to it.
You can see in the image bellow my attempt at creating this shape with cross sections. The slab should be mostly planar but it should touch a lower point at one corner, as you can see in the image.
Later the slab will have to be subtracted to these voids too.
Any suggestions on what approach should I follow to create this shape?

you can use clocwork’s nod “Floor.SlabShapeByPoints”

Thank you @Akli.baliche
Do you know of any tutorial on how to use this node?

it’s not complicated
you have two entries, the points to modify and the slab