Let's now see how to fix polyhedrons with badly oriented polygons. When you select 'Thrown together' from the view menu and compile the design (not
compile and render!) you will see a preview with the mis-oriented
polygons highlighted. Unfortunately this highlighting is not possible in
the OpenCSG preview mode because it would interfere with the way the
OpenCSG preview mode is implemented.)
Below you can see such a problematic polyhedron, bad triangles are in pink.
However I can't understand why this have to be this way. I do not imagine me spending a lot of time making a complex polyhedron from points and having to care about the order of points for each face.
I think that the language should infer the correct order and rearrange the points order internally if necessary to avoid crashing or the type of issues above.
As a minimum, an error message should be echoed reporting the faces with problems.