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

python traceback trying to import file #60

Open
americanjeff opened this issue Dec 27, 2023 · 4 comments
Open

python traceback trying to import file #60

americanjeff opened this issue Dec 27, 2023 · 4 comments

Comments

@americanjeff
Copy link

Got this on my first attempt to import a 3mf file:

bpy.context.space_data.system_bookmarks_active = 3
Modules Installed (io_mesh_3mf) from 'C:\\Users\\pnoid\\Downloads\\Blender3mfFormat-1.0.2.zip' into 'C:\\Users\\pnoid\\AppData\\Roaming\\Blender Foundation\\Blender\\4.0\\scripts\\addons'
bpy.context.space_data.system_bookmarks_active = 11
bpy.context.space_data.system_bookmarks_active = 3
Python: Traceback (most recent call last):
  File "C:\Users\pnoid\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\io_mesh_3mf\import_3mf.py", line 144, in execute
    scene_metadata.store(bpy.context.scene)
  File "C:\Users\pnoid\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\io_mesh_3mf\metadata.py", line 151, in store
    blender_object.name = value
TypeError: bpy_struct: item.attr = val: Scene.name doesn't support None from string types
@CptJackieSparrow
Copy link

I also face this exact issue, trying to import 3mf file created by bambu slicer.
Did you find a way to overcome this?

@sampanes
Copy link

sampanes commented May 20, 2024

same issue, no fix found yet
*edit: Blender 3.2 which I guess 3.0 and 3.3 are tested...

@QuentiumYT
Copy link

Same issue here with this model https://makerworld.com/en/models/413656#profileId-315652

@QuentiumYT
Copy link

I tried to change metadata.py's store method with different things, I ended up removing the if name == "Title" case to make it work. Seems like a small issue @Ghostkeeper

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

No branches or pull requests

4 participants