section-properties icon indicating copy to clipboard operation
section-properties copied to clipboard

Export options to existing mesh file types (.obj, .ply, .stl etc)

Open arjundharma opened this issue 3 years ago • 2 comments

Hello, was wondering if you have any plans on adding export options for mesh files such as .obj, .ply, and .stl formats (used by other libraries like trimesh and pymesh). I know you currently export as a python dict and I've been looking into ways to parse them into those formats.

Thanks for putting together this library!

arjundharma avatar Sep 22 '22 17:09 arjundharma

Thanks for opening your first issue in sectionproperties :raised_hands: Pull requests are always welcome :wink:

github-actions[bot] avatar Sep 22 '22 17:09 github-actions[bot]

Hi @arjundharma, this isn't really the scope of sectionproperties. We use the library triangle to generate a mesh (this is what produces the dictionary) and sectionproperties steps in and uses this mesh for its cross-section analysis.

So in short there aren't any plans to export mesh in different formats, however I would consider a PR if you are interested in adding this feature 🙌

robbievanleeuwen avatar Sep 23 '22 02:09 robbievanleeuwen