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

exported file empty #57

Open
T0biasCZe opened this issue Oct 16, 2023 · 4 comments
Open

exported file empty #57

T0biasCZe opened this issue Oct 16, 2023 · 4 comments
Labels
3MF Export About writing 3MF files. Bug Something doesn't work as intended.

Comments

@T0biasCZe
Copy link

When exporting to 3mf, the exported file is completely empty, and to console it just print
INFO:io_mesh_3mf.export_3mf:Exported 0 objects to 3MF archive Z:\Blender\3dprint\mii print.3mf.
i tried both the version in release tab and downloading the repository as zip
mii print.zip

@T0biasCZe
Copy link
Author

(and no, i dont have selected only enabled, its off)

@Ghostkeeper
Copy link
Owner

Looks like it's because the figure is built through armatures. In the export it iterates over all Blender objects it received through the export operator, and only writes objects that are MESH or EMPTY types.

So that's a bug then. It should apply the pose before exporting.

@Ghostkeeper Ghostkeeper added Bug Something doesn't work as intended. 3MF Export About writing 3MF files. labels Nov 24, 2023
@nikhil-convrseai
Copy link

I'm also facing the same issue, I imported a 3MF file applied decimation modifier and then exported in 3MF, it exports an empty file although there is no armature in the file.

@douarvil-yamaichi
Copy link

I am experiencing the same issue.

I noticed that this issue occurs especially on the meshes (and curves) using "Generate" types of modifiers, including the geometry node. I haven't tested all types of modifier though.

When I manually apply the modifiers to the objects (and transform the curves into meshes) before exporting the exporter works "fine".

However, the export fails if an empty material slot is created upon applying a specific modifier. Suppressing the material slot solves the issue.

My temporary workaround is to export all the desired objects in OBJ, import them in a new instance of blender and finally export them as 3MF files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3MF Export About writing 3MF files. Bug Something doesn't work as intended.
Projects
None yet
Development

No branches or pull requests

4 participants