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

Consider making multi material dialog optional on 3mf export #91

Open
pks5 opened this issue Dec 25, 2024 · 4 comments
Open

Consider making multi material dialog optional on 3mf export #91

pks5 opened this issue Dec 25, 2024 · 4 comments

Comments

@pks5
Copy link

pks5 commented Dec 25, 2024

I like the multi material dialog feature. But in my case, colors are used to highlight certain model features, and are usually not supposed to be printed.

It would be nice if there would be a setting whether to show the dialog on export 3mf. It still can be accessed via the dropdown if required.

@ochafik
Copy link
Collaborator

ochafik commented Dec 25, 2024

Once you open the dialog and clear the list of materials / leave it empty + export / save the setting, it shouldn’t prompt for it when exporting to 3mf. This should all be persisted in the state / url fragment.

@pks5
Copy link
Author

pks5 commented Dec 25, 2024

True, but if you have multiple playgrounds in iframes like i have, the user is getting prompted each time again.

@ochafik
Copy link
Collaborator

ochafik commented Dec 29, 2024

@pks5 How are you building your iframe URLs?

The list of materials (undefined at first, then empty array if the dialog is closed/saved without adding a color) is encoded in the hash fragment, so it's effectively already a setting.

@pks5
Copy link
Author

pks5 commented Dec 29, 2024

Oh OK, nice to know. I will try that.

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