wolph / numpy-stl

Simple library to make working with STL files (and 3D objects in general) fast and easy.
http://numpy-stl.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
605 stars 103 forks source link

Mesh optimisation when combined #126

Closed Fliens closed 4 years ago

Fliens commented 4 years ago

When combining multiple meshes from stl files there are inner faces remaining. So for example when placing 10 stl cupes next to eachother the combined mesh has 10 times the faces the original cube has rather than just the same amount of faces but stretched over an cuboid. Is there an option to optimise the mesh after combining, so that inner faces get removed?

wolph commented 4 years ago

There are certainly algorithms that can do that, but none that are integrated in this library.

A quick google gave me the PyMesh project which seems to have a bunch of methods of taking care of this: https://pymesh.readthedocs.io/en/latest/api_local_mesh_cleanup.html

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.