Add integration test for triangle mesh quality #54
Labels
topic: core
Issues relating to core geometry, operations, algorithms
type: development
Work to ease development or maintenance, without direct effect on features or bugs
Milestone
To prevent any regressions to the quality of the generated triangle meshes, it would be great to have some kind of test suite that builds a triangle mesh for each of the models in this repository, and checks that mesh for quality. Either by using parts of Fornjot as a library and checking internal data structures directly, or by exporting a 3MF/STL/... file and checking that.
This test suite wouldn't check if the generated mesh was correct for the specific model, but would just check the mesh itself for correctness:
And whatever other ways a mesh can be wrong (please comment, if you can think of another one).
Maybe there are libraries in the Rust ecosystem we could use for this, or maybe there's some suitable command-line tool. (I do know that slicers routinely do this kind of check, so maybe it's possible to use one from the command-line for this purpose. But a Rust library would be nicer, all else being equal.)
The text was updated successfully, but these errors were encountered: