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

Import 3D Models from .3mf files #60

Open
rubenwe opened this issue Jul 11, 2020 · 2 comments
Open

Import 3D Models from .3mf files #60

rubenwe opened this issue Jul 11, 2020 · 2 comments
Labels
feature request New feature request

Comments

@rubenwe
Copy link
Owner

rubenwe commented Jul 11, 2020

Based on @mcenal's suggestion in #5

3mf import is not as trivial as other formats. It can include multiple models and stores transformations for those models (i.e. how they are scaled, rotated etc.).

This needs some design work to decide how those multi part models should be picked up:

@rubenwe rubenwe added the feature request New feature request label Jul 11, 2020
@thetrebor
Copy link

There's a possible easier solution. The 3mf spec also says there's a thumbnail and preview that can be packaged with it. Rather than having the render the model (which may be nontrivial) you can support importing the pre-rended packaged thumbnails in the bundle.

@rubenwe
Copy link
Owner Author

rubenwe commented Jul 12, 2020

@thetrebor - that is indeed one way of getting it into the library faster. The graphics for the library need to be (2^n x 2^n) - but that could, of course, be faked by either scaling the longer side to the nearest possible resolution and centering on a blank texture - or by stamping out based on the shorter side.

The 3D viewer part needs the models non the less. So sooner or later support for the models would need to be there.

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

No branches or pull requests

2 participants