Win 11 Blender 4.5.3 LTS Python: TypeError: Import3MF
Fresh install of latest blender version from Steam. Blender 4.5.3 LTS
Downloaded Blender3mfFormat 1.0.2 and installed in addon menu.
File->import -> 3mf
"Python: TypeError: Import3MF.init() takes 1 positional argument but 2 were given"
This worked for me (for 4.5.3 LTS): https://github.com/Ghostkeeper/Blender3mfFormat/issues/77#issuecomment-2759895303
A designer friend of mine reported this issue to me (he knows I'm a developer and I used to work on blender plugins, I've never contributed to this plugin though). So I went to check here and saw this issue open. Just wanted to chime in and say it happened to my friend so this is certainly real. I might take a look later and see if I can fix it
Hello! I would like to help. I am on blender 4.5.3 LTS, and also get a similar error. I cannot export a 3MF file. "Error: Python: TypeError: Export3MF.init() takes 1 positional argument but 2 were given"
This seems like it should be an easy fix ?
Please forgive, I am completely new to using Github, but am reasonably experienced in Python. I would like to help fix this, if you (honored Ghostkeeper or others) don't have the time. Perhaps someone here could give me a few instructions on how to properly fix. I can make a 'fork' and do it that way, but that seems like not the right way to address this problem.
Again, I am a total newb to Github, but I think I can help, if I just can get a few pointers on how to best/properly do it. Some details: I am running a recent Blender build using VSCode. I'm in the process of creating a Blender addon to generate hyper-structures, just FYI (abemis.com). Of course, I can easily output the fully manifold hyper-structure objects that I generate as STL, but I really feel that 3MF input/output is critical-essential. Any ideas/help is greatly appreciated. Thanks.
i have this same issue .. i am going to fork the code to see if i can find a fix .. not that i know much about python
Definitely having the same issue, unfortunately I'm somewhere around licking windows level of proficiency with coding, so tagging for follow-up.
Same issue here
As mentioned earlier, a workaround is to delete _init_ methods in these files (as def in #78): ...\AppData\Roaming\Blender Foundation\Blender\4.5\scripts\addons\io_mesh_3mf\import_3mf.py ...\AppData\Roaming\Blender Foundation\Blender\4.5\scripts\addons\io_mesh_3mf\export_3mf.py
I restarted Blender and the import works now