Blender and Fusion missing on Linux
Zitat von varomix am 12. Juli 2019, 4:15 UhrHi
seems like Blender and Fusion Plugin Integrations are missing from the Linux version
is this something that needs to be done?
thank you
Hi
seems like Blender and Fusion Plugin Integrations are missing from the Linux version
is this something that needs to be done?
thank you
Zitat von RichardF am 12. Juli 2019, 13:15 UhrYes that still needs to be done. I haven't received much requests for Blender or Fusion on Linux so I focused on other features. If the interest in that becomes big enough I could look at that.
Yes that still needs to be done. I haven't received much requests for Blender or Fusion on Linux so I focused on other features. If the interest in that becomes big enough I could look at that.
Zitat von varomix am 12. Juli 2019, 18:23 UhrWhat's the main difference here? executable paths?
cause I could take a look into this and if I can solve it I can share the changes
thanks
What's the main difference here? executable paths?
cause I could take a look into this and if I can solve it I can share the changes
thanks
Zitat von RichardF am 13. Juli 2019, 15:12 UhrIf I remember correctly the main problem was that I had problems to import PySide2 in Blender. If you could provide a PySide2 module, which works with Blender on Linux, it should be straight forward to adjust the Prism scripts to add the Linux support.
If I remember correctly the main problem was that I had problems to import PySide2 in Blender. If you could provide a PySide2 module, which works with Blender on Linux, it should be straight forward to adjust the Prism scripts to add the Linux support.
Zitat von varomix am 14. Juli 2019, 5:15 UhrHey @richardf
I'm on linux so I just downloaded this 2 packages
PySide2-5.13.0-5.13.0-cp35.cp36.cp37-abi3-manylinux1_x86_64
shiboken2-5.13.0-5.13.0-cp35.cp36.cp37-abi3-manylinux1_x86_64
append them to the the python path like this
import sys
sys.path.append('/somepath/PySide2-5.13.0-5.13.0-cp35.cp36.cp37-abi3-manylinux1_x86_64')
sys.path.append('/somepath/shiboken2-5.13.0-5.13.0-cp35.cp36.cp37-abi3-manylinux1_x86_64')
then it works on Blender, I suppose is the same in Windows
and you don't want to run it that way, in it's on process I guess.
hope that helps
Hey @richardf
I'm on linux so I just downloaded this 2 packages
PySide2-5.13.0-5.13.0-cp35.cp36.cp37-abi3-manylinux1_x86_64
shiboken2-5.13.0-5.13.0-cp35.cp36.cp37-abi3-manylinux1_x86_64
append them to the the python path like this
import sys
sys.path.append('/somepath/PySide2-5.13.0-5.13.0-cp35.cp36.cp37-abi3-manylinux1_x86_64')
sys.path.append('/somepath/shiboken2-5.13.0-5.13.0-cp35.cp36.cp37-abi3-manylinux1_x86_64')
then it works on Blender, I suppose is the same in Windows
and you don't want to run it that way, in it's on process I guess.
hope that helps
Zitat von RichardF am 14. Juli 2019, 19:15 UhrQuote from varomix on 14. July 2019, 5:15and you don't want to run it that way, in it's on process I guess.
That's the point where I'm stuck. On Windows that's no problem. I can execute this code in Blender:
import sys pysidePath = "C:/Prism/PythonLibs/Python37" sys.path.insert(0, pysidePath) from PySide2.QtWidgets import * qapp = QApplication.instance() if qapp == None: qapp = QApplication(sys.argv) class core(): def __init__(self): self.w = QWidget() self.w.show() x = core()And this opens a PySide window, which I can interact with and at the same time I can interact with the Blender UI. On Linux this doesn't work (at least in my CentOS virtual machine). There I have to add:
qapp.exec_()But this blocks the complete Blender UI until the QApplication closes.
I tried to run it in a separate process with subprocess.Popen, but then the process cannot import the bpy module and cannot interact with the Blender scene. If I try to execute it in a different thread in the same process with the threading module I get this warning and no window opens:
QApplication::exec: Must be called from the main thread
Hopefully someone has an idea how to run the PySide UI and the Blender UI at the same time without blocking each other.
Quote from varomix on 14. July 2019, 5:15and you don't want to run it that way, in it's on process I guess.
That's the point where I'm stuck. On Windows that's no problem. I can execute this code in Blender:
import sys pysidePath = "C:/Prism/PythonLibs/Python37" sys.path.insert(0, pysidePath) from PySide2.QtWidgets import * qapp = QApplication.instance() if qapp == None: qapp = QApplication(sys.argv) class core(): def __init__(self): self.w = QWidget() self.w.show() x = core()
And this opens a PySide window, which I can interact with and at the same time I can interact with the Blender UI. On Linux this doesn't work (at least in my CentOS virtual machine). There I have to add:
qapp.exec_()
But this blocks the complete Blender UI until the QApplication closes.
I tried to run it in a separate process with subprocess.Popen, but then the process cannot import the bpy module and cannot interact with the Blender scene. If I try to execute it in a different thread in the same process with the threading module I get this warning and no window opens:
QApplication::exec: Must be called from the main thread
Hopefully someone has an idea how to run the PySide UI and the Blender UI at the same time without blocking each other.
Zitat von D_crt am 11. August 2019, 22:51 Uhr+1 for Blender and Fusion support for Linux, also 3dCoat and Substance would be nice too, but blender and fusion/davinci are a must
+1 for Blender and Fusion support for Linux, also 3dCoat and Substance would be nice too, but blender and fusion/davinci are a must