Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Ability to view 3mf files #8

Open
kbekus opened this issue Sep 20, 2022 · 4 comments
Open

Ability to view 3mf files #8

kbekus opened this issue Sep 20, 2022 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@kbekus
Copy link

kbekus commented Sep 20, 2022

hey there, great app, I really like it. Is there any way to add .3mf model viewing to it?

@EduardoOliveira
Copy link
Owner

Hello,
3mf is not currently supported, but, it will go on the roadmap.
There are 2 possible challenges with this feature.
The current backend imagine generation library doesn't support 3mf, there is a specific library that handles 3mf, but at first glance it doesn't support rendering ( probably out of scope), how common is it for the 3mf files to actually have the thumbnail defined in it's package? Maybe I could use that instead of rendering it....
On the 3d viewer, I'll need to do some research as well...

@EduardoOliveira EduardoOliveira self-assigned this Sep 20, 2022
@EduardoOliveira EduardoOliveira added the enhancement New feature or request label Sep 20, 2022
@EduardoOliveira
Copy link
Owner

Hello @kbekus
I'm having some trouble finding 3mf files with the thumbnail information set.
Can you provide some samples?

Thank you

@kbekus
Copy link
Author

kbekus commented Sep 21, 2022

hey there, thanks for considering adding 3mf support. I've attached a couple of example files that have the thumbnail as part of their meta, please yell out if you need more. I've had to change the file extension from .3mf to .zip so I can upload them. Please just rename them back from .zip to .3mf

cheers,
Kristan
Dirty Bird - BOB Duct Left V1 v1.1.zip

DB Dragon-Rapido Core V1.1.zip

@EduardoOliveira EduardoOliveira linked a pull request Sep 21, 2022 that will close this issue
@EduardoOliveira
Copy link
Owner

Hi there,
I've released v0.12, it handles 3mf as model.
The preview image comes from the thumbnail if present, otherwise a generic item is shown.
The in browser 3d viewer works the same as for stls

Please feel free to reach out if you find any bugs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants