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

IO module design using oriented object programming #87

Open
alexpron opened this issue Dec 7, 2021 · 1 comment
Open

IO module design using oriented object programming #87

alexpron opened this issue Dec 7, 2021 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@alexpron
Copy link
Collaborator

alexpron commented Dec 7, 2021

Hello it seems the io module could be reimplemented using object oriented programming either deriving a new class from the Trimesh.trimesh or overloading the load_mesh and export methods. It could be cleaner and easier to use. What do you think ?
Alex

@alexpron alexpron added enhancement New feature or request question Further information is requested labels Dec 7, 2021
@gauzias
Copy link
Collaborator

gauzias commented Dec 8, 2021

Yes I fully agree.
Actually I did not do it directly only because I was not sure of how to derive or overload a class from Trimesh, but we should learn to do it because it is a better solution in many cases.
Let us start with IO, which is the simplest one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants