Replacement of curvilinear surfaces of a solid body with several flat ones

Hello, Guys

made the definition of replacing in a solid body all curvilinear faces with a set of flat
but the definition does not work well if there is a large number of curved faces of different curvature

I can not build a definition that accurately selects all curved faces?

maybe someone had this experience? Tell me please

brep (8.6 KB)
brep solid.3dm (128.9 KB)

brep (13.5 KB)

Like this?.

1 Like

thank you very much!!!
completely forgot about the possibilities of this node)))