If you get this error message: X3GWriter.write() got an unexpected keyword argument 'mime_type'
Here is the work around: Edit the X3GWriter.py file in the plugins directory.
Windows: C:\Users[YourUsername]\AppData\Roaming\cura[version]\plugins\X3GWriter\X3GWriter.py
macOS: ~/Library/Application Support/cura/[version]/plugins/X3GWriter/X3GWriter.py
Linux: ~/.local/share/cura/[version]/plugins/X3GWriter/X3GWriter.py
On line 30 change from:
def write(self, stream, nodes, mode = MeshWriter.OutputMode.TextMode):
To:
def write(self, stream, nodes, mode = MeshWriter.OutputMode.TextMode, mime_type=None):
Save and restart Cura, should be able to save files again.
It seems like in newer Cura versions there is now a Mime type parameter, thats what this change does it just add the required parameter. Solved the issue for me
If you get this error message: X3GWriter.write() got an unexpected keyword argument 'mime_type'
Here is the work around: Edit the X3GWriter.py file in the plugins directory.
Windows: C:\Users[YourUsername]\AppData\Roaming\cura[version]\plugins\X3GWriter\X3GWriter.py
macOS: ~/Library/Application Support/cura/[version]/plugins/X3GWriter/X3GWriter.py
Linux: ~/.local/share/cura/[version]/plugins/X3GWriter/X3GWriter.py
On line 30 change from:
def write(self, stream, nodes, mode = MeshWriter.OutputMode.TextMode):
To:
def write(self, stream, nodes, mode = MeshWriter.OutputMode.TextMode, mime_type=None):
Save and restart Cura, should be able to save files again.
It seems like in newer Cura versions there is now a Mime type parameter, thats what this change does it just add the required parameter. Solved the issue for me