How to delete obsolete vertices / facets? How to get only the "real" ones?

after using CSG the new mesh got many obsolete vertices and therefore obsolete facets. Here is an example of the vertices of a normal box vs a CSG-resulting-box

https://www.babylonjs-playground.com/#T6NP3F#17

grafik

The normal one got 24 vertices while the CSG one got 28.

I need to get only the “real” vertices, because my project depends very much on them as I highlight the faces, the edges and vertices of my boxes. (see here: https://playground.babylonjs.com/#RMZC85#13)
This only works if a box got 24 vertices and not more

Unfortunately, I do not think this is possible at the moment, ping @Deltakosh for info.

I confirm :slight_smile:
You can still try to optimize the mesh afterwards but CSG will not optimize the boolean operations