cgg-bern / AlgoHex

GNU Affero General Public License v3.0
21 stars 7 forks source link

Support other output file formats #13

Open mheistermann opened 9 months ago

mheistermann commented 9 months ago

As discussed in #9 and #11 as a side topic, we have multiple users who would prefer a different output format for hex meshes.

Currently, one can use the meshio fork linked in the readme to do a conversion (but losing feature tag information). I also stumbled upon https://github.com/LIHPC-Computational-Geometry/ovm.io - but i didn't test it myself.

Adding a basic .vtk, .msh or .mesh writer to OpenVolumeMesh shouldn't be too hard (and I'd be happy to merge it), then AlgoHex could save in those formats as well.

otaolafranc commented 9 months ago

could it be possible to support other formats? such as .mesh vr 2.1 or polyMesh (link best regards

mheistermann commented 9 months ago

Sounds good for better interoperability! I don't have time for this myself at the moment (writing my thesis on an unrelated topic), but that'd be a very welcome contribution to OVM/AlgoHex.