Polygons from curves problem

Hello
somebody probably knows but it more simple to help if you provide more usable informations.
You could provide a script containing curves internalized, and if possible without plugin.
A little drawing of what you really want will also be helpful. No :crystal_ball: there but some :mage:

See