Generating the test point on the panels

according to the figure i want to generate the testpoints on the panels so that each panel gets a point and they must be flat. on the first try, the error was appeared and on the second try (below algorithm) some panels is generated y tow points.
finally i want to generate number of testpoints matching with number of panels in flat condition not graft.
is there any help? (25.4 KB)

Hi @Aliarch,

For the first one you need to join the meshes.

For the second one, it creates two points for some of the surfaces because the mesh has two faces, while the rest only have one mesh face. (32.1 KB)