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

ModelExporter Does not generate Output #371

Open
JackHaehl opened this issue Jan 27, 2025 · 0 comments
Open

ModelExporter Does not generate Output #371

JackHaehl opened this issue Jan 27, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@JackHaehl
Copy link

Using this guide in the documentation:
https://minorua.github.io/Qgis2threejs/docs/ExportUsingPython.html
I used the exact code shown in the link, but instead of ThreeJSExporter() I used ModelExporter()

Exporting the Web Scene and images worked just fine, but when using ModelExporter() I was faced with this error:

Traceback (most recent call last):
File "C:\Users/Jonk/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Qgis2threejs\q3dinterface.py", line 27, in sendJSONObject
self.webPage.sendData(obj)
File "C:\Users/Jonk/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Qgis2threejs\q3dwebkitview.py", line 82, in sendData
self.runScript(string, data, message=None)
File "C:\Users/Jonk/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Qgis2threejs\q3dwebkitview.py", line 69, in runScript
self.bridge.setData(data)
^^^^^^^^^^^
AttributeError: 'Q3DWebKitPage' object has no attribute 'bridge'

@minorua minorua added the bug Something isn't working label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants