Creating an analytical model of a slab with points lying on the same line

Hello Guys

please tell me how can I create an overlap in a grasshopper with additional points and a perimeter in the form of a polyline? or maybe somehow change the existing analytical model?

use the host shape component and for the “Points” input, you can plug in the required points.