Skip to content

Add .3mf file support - #92

Open
JulienDeveaux wants to merge 1 commit into
chamburr:mainfrom
JulienDeveaux:3mf-support
Open

Add .3mf file support#92
JulienDeveaux wants to merge 1 commit into
chamburr:mainfrom
JulienDeveaux:3mf-support

Conversation

@JulienDeveaux

Copy link
Copy Markdown
Contributor

Hi @chamburr

This PR adds preview support for .3mf files, the format most 3D printing slicers export. The model is rendered with native SceneKit and can be rotated and zoomed.
It renders the same way as the native STL viewer.

3mf is a container opened as a ZIP, and the model parts are XML parsed with XMLParser.
As some models are quite big, I used the File.archiveExtensions to move the file size limit from 10Mb to 200Mb.

Tested with Bambu Studio and FreeCAD exports, and with deliberately broken files.

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

Successfully merging this pull request may close these issues.

1 participant