How to create Quadmesh from trimmed surface

I want to make a grasshopper model that creates quadmesh from trimmed polysurface.

So I will make a surface with holes, through PlanarSrf, and I want to convert it to quadmesh that reacts to the holes and the perimeter. (Image below). Any suggestion will be greatly appreciated!

(images from blockresearchgroup)

Quad Remesh (Mesh–>Triangulation–>Quad Remesh)


You just saved my life. Infinite appreciation. Thanks