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

3MF Production Extension support #30174

Open
Floppy opened this issue Dec 20, 2024 · 5 comments
Open

3MF Production Extension support #30174

Floppy opened this issue Dec 20, 2024 · 5 comments
Labels

Comments

@Floppy
Copy link

Floppy commented Dec 20, 2024

Description

The 3MF loader does not currently load models that use the 3MF production extension.

Solution

When a 3MF file using the extension is loaded, It would be great to be able to successfully load and display them, even if all the production features were ignored. Currently nothing is loaded.

Alternatives

No alternatives that I can think of, other than asking users to save files without the extension, but that's not ideal in my application, which is based around 3d print models.

Additional context

I need to look into it a bit to see exactly how it fails, and I might be able to spend some time on this soon, but I'm opening this in case anyone has already done it, is planning to, or already knows how to.

@Mugen87
Copy link
Collaborator

Mugen87 commented Dec 20, 2024

Related: https://discourse.threejs.org/t/why-my-3mf-model-can-not-load-and-render-by-threemfloader-and-report-a-error-pls-help/73336

At the discourse topic, there is a 3MF asset attached which can be used for testing.

@Floppy
Copy link
Author

Floppy commented Dec 20, 2024

Ah, nice. I've got some at manyfold3d/manyfold#2438 as well.

@Floppy
Copy link
Author

Floppy commented Dec 20, 2024

Also, pinging @kf0302 for reference!

@TechJeeper
Copy link

Following. Having the same issue Thank you!

@Jack-J-Young
Copy link

Jack-J-Young commented Feb 8, 2025

I had the same issue so I had a look into it, the issue is the order that the objects are built inside the loader, it builds them in the order it finds them in the 3mf archive which means dependencies might be referenced before they are loaded
A fork with a simple fix

There's definitely better methods, entirely changing how the build is ordered or at the very least having a custom error for unloaded resources, might look further into it

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

No branches or pull requests

4 participants