Hi guys, I am looking for methods to implement quad subdivision in grasshopper C#.

I am working on a mesh growth model, but with very strict limitations to faces size, number of edges, planarity etc. because every face will be a unit in fabrication model. I need methods to split chosen quad faces - to split them in half (in other words, to create two rectangles from one square) or to split a quad in its center to form four quads.

i know MeshTopologyEdgeList.CollapseEdge and SplitEdge methods, but as far as I know they split every quad to triangles. I tried to split two symetrical edges of a chosen face at one ireration time but after every splitting all the topology changes for vertices (meaning: they change indexes) and i dont know how to do that.

anyone knows the way?