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

Reloading a 3mf file that has additional models in it #899

Open
pietchaki opened this issue Aug 29, 2023 · 0 comments
Open

Reloading a 3mf file that has additional models in it #899

pietchaki opened this issue Aug 29, 2023 · 0 comments

Comments

@pietchaki
Copy link
Contributor

tl;dr : want to add a new object node from UM.Scene._reloadJobFinished().

Recently I've been using 3mf files for my projects for its ability to hold multiple models into a single file.
I had some issues with how Cura handles the objects and made some improvements to fix them, namely #898 and Ultimaker/Cura#16610
With those improvements I can easily identify multiple models inside the file, and if I change one of the models I can easily reload the file to update their mesh.

Current problem is when I add a new model to a file that is already loaded into Cura, it will update the existing ones but not load the new one.
The "File has been modified" message is handled by Uranium, and I want this method to add a new object node to the scene. My problem is that most of the methods needed for that are only available in the "Cura" portion of the project, and I couldn't find how to call functions there, and copying all that into Uranium seems wrong.
I'd like help to find the better way to make it work.

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

1 participant