Dividing Vertical Surface into Rectangles

Hi guys,

I have seen the following thread and it doesn’t help my current situation since it involves vertical surfaces (I think). So I created this topic.

I have a set of surfaces that define the surface finish of a structure. I want to divide non-rectangular shapes into rectangles. Any idea how can I achieve that? Any help is welcomed. Rhino and Grasshopper definitions are attached📎.
Rhino 7 Model👇:
Vertical Surface Finish.3dm (454.2 KB)