Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reuse mesh data that is the same #21

Open
Ghostkeeper opened this issue Jun 1, 2020 · 0 comments
Open

Reuse mesh data that is the same #21

Ghostkeeper opened this issue Jun 1, 2020 · 0 comments
Labels
3MF Export About writing 3MF files. Enhancement New functionality or improvement to existing functionality.

Comments

@Ghostkeeper
Copy link
Owner

3MF contains several ways to re-use meshes in order to reduce the file size. When exporting, we are not using any of these. The problem with implementing this is that we need to somehow figure out that two meshes are the same but under a different transformation. Blender doesn't provide any information on whether the mesh data is the same (but transformed) and has no easy way to compute that either.

To implement that, we'd need to perform a least squares fit to find the transformation matrix that best matches one mesh on another. This would need to be performed for every pair of meshes, which could become very costly in performance.

That's why this feature would also need to include a check mark in the export menu to decide whether to try and optimise the file size or not. The check mark needs to be disabled by default, because people don't normally care about file size much.

@Ghostkeeper Ghostkeeper added Enhancement New functionality or improvement to existing functionality. 3MF Export About writing 3MF files. labels Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3MF Export About writing 3MF files. Enhancement New functionality or improvement to existing functionality.
Projects
None yet
Development

No branches or pull requests

1 participant