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

Export modified OBJ files #157

Open
caixiaoniweimar opened this issue Nov 6, 2022 · 2 comments
Open

Export modified OBJ files #157

caixiaoniweimar opened this issue Nov 6, 2022 · 2 comments

Comments

@caixiaoniweimar
Copy link

caixiaoniweimar commented Nov 6, 2022

Hi, thanks for the amazing work!

I used NVISII to first import a OBJ file as a scene, and then added another object(mesh as well) to the existing scene, and then I can save the generated scene as PNG images, I am wondering whether is it possible to save the modified scene as a new OBJ file? Thank you in advance!

Regards,
Cai

@TontonTremblay
Copy link
Collaborator

@natevm worked on a .blend extension to export scenes I think. But I think it was never released. For now I would say you would have to write that exported yourself sadly.

@caixiaoniweimar
Copy link
Author

@TontonTremblay Thanks for your hints!

I am currently trying to use Trimesh to export the OBJ. After adding the mesh to the scene, I need to transform the mesh as I did in nvisii. Do you happen to know the corresponding method of nvisii.transform.set_position() in trimesh? To my best knowledge, it's not the same as the method of trimesh.transformations.apply_translate(point)

I am wondering if I used the method nvisii.transform.set_position(), how can I get the transformation matrix for this specific step? Please correct me if I misunderstood.

Thanks!

Best Regards,
Cai

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants