Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 22 12:02
  • Jan 18 00:06
    youndoldman starred pyblish/pyblish-qml
  • Jan 09 16:50
    MESSISH starred pyblish/pyblish-qml
  • Jan 09 16:50
    MESSISH starred pyblish/pyblish-houdini
  • Jan 04 20:05
    raspberrykg opened #62
  • Dec 29 2020 17:06
  • Dec 29 2020 14:05
    mottosso closed #2
  • Dec 29 2020 14:05
    mottosso commented #2
  • Dec 29 2020 14:05

    mottosso on master

    Update Travis for automatic dep… (compare)

  • Dec 29 2020 14:03
    mottosso commented #1
  • Dec 29 2020 14:03

    mottosso on master

    Update Travis for automatic dep… (compare)

  • Dec 29 2020 13:48
    loonghao assigned #2
  • Dec 29 2020 13:47
    loonghao opened #2
  • Dec 29 2020 13:46
    loonghao commented #1
  • Dec 29 2020 13:39

    loonghao on 0.1.0

    (compare)

  • Dec 29 2020 13:39

    loonghao on master

    First commit Improve readme Improve readme and 4 more (compare)

  • Dec 29 2020 13:39
    loonghao closed #1
  • Dec 29 2020 12:44
  • Dec 29 2020 10:54
    loonghao added as member
  • Dec 29 2020 06:52
    mottosso commented #1
Jasper van Nieuwenhuizen
@jasperges
@boberfly cool! I hope hope you will get there. It would be really nice if we can run Qt apps inside of Blender in a non-blocking way, cross platform, without issues.
Alex Fuller
@boberfly
@jasperges your 4 variants script is what I've been trying here, that's been a huge help cheers!
the timers solution was the easy way, just needed to make a custom Blender one here: https://github.com/GafferHQ/gaffer/blob/master/python/GafferUI/EventLoop.py#L55
Jasper van Nieuwenhuizen
@jasperges
@boberfly nice! I wish I would have some time to fiddle around with Gaffer, but unfortunately I don't.
Chad Vernon
@chadmv
Hi all, new to Pyblish here. Looking at the example templates, should I be looking at pyblish-starter? pyblish-mindbender? They seem really similar.
Marcus Ottosson
@mottosso
Hey @chadmv, welcome aboard. :) pyblish-starter is a generalised pyblish-mindbender which was made for a specific company (called Mindbender), so starter is your best bet. Plus, it's got an associated website.
I'd like to improve the onboarding experience for the next beginner, can I ask how you discovered starter and mindbender? Could you take me through the steps? And did you already discover the pyblish-starter website?
Chad Vernon
@chadmv
I found starter through the official docs. I forgot how I found mindbender. It was probably a forum post link I think
Marcus Ottosson
@mottosso
Great, sounds about right. Thanks :)
Roy Nieterau
@BigRoy
Hi Chad, thanks for your C++ tutorials. :) Good to have you here! Looking forward to seeing what you'll be doing with Pyblish. :D

@chadmv Regarding Pyblish examples maybe this link could be worthwhile. They are not focused on Pyblish per se but on Avalon, but they all run publishing with Pyblish... so they might have some extra "pipeline things" but the publishing all runs through Pyblish.

I believe most of those avalon configs have the code laid out so that the Pyblish plug-ins are somewhere in {config}/plugins/{host}/publish - for example like this (maya). or this (maya) or this (houdini).

Roy Nieterau
@BigRoy
So they won't be "drag and drop" example plug-ins for your first time in Pyblish, but a lot of host-specific validations you can probably pick and customize for your own use.
Roy Nieterau
@BigRoy
Noticed Pyblish being mentioned here: https://www.gfx.dev/python-for-feature-film :)
Marcus Ottosson
@mottosso
Neat, this post was trending on Hacker News a few days ago too :) We're famous!
Andre Anjos
@andre.anjos_gitlab
Hi all!
Is there anyone that successfully ran Pyblish QML with 3D Studio Max? Would it be possible with the current version, please?
I understand that Max uses Pyside2 instead of PyQt5, so not sure how to redirect the Qt modules, if possible?
Thanks in advance! :)
Marcus Ottosson
@mottosso
Should work just fine, Pyblsh QML doesn't use Qt from within 3ds, it uses its own exernal version
The only thing you might run into is issues with QML calling 3ds from a thread, have a look at how the other integration dealt with this.
Typically it's a function provided by Maya/Houdini/etc to move another function to the main thread, I bet 3ds has something like it
Or, it's happy being called from a thread in which case you don't need it
Andre Anjos
@andre.anjos_gitlab
Hi @mottosso ! Thanks for that :)
I'm probably overthinking the process and will look into the setup more attentively :)
That makes sense I will have another look into it
Thanks again!
Marcus Ottosson
@mottosso
Yep, just run it like you would from Maya and it should be fine :)
Pyblish QML would run from any host so long as it can run Python, the host doesn't need Qt or bindings
Andre Anjos
@andre.anjos_gitlab
Thank you Marcus! That totally makes sense :)
Andre Anjos
@andre.anjos_gitlab
image.png
Morning all! @mottosso I've managed to run Pyblish inside 3ds Max, but it hangs on the Pyblish startup screen as above.
I'm using Python 3.7, PyQt5.15.1 and latest Pyblish QML 1.11.4.
Thank you in advance! :)
Marcus Ottosson
@mottosso
Morning! That's interesting
Are you able to see why?
What are you calling to get to there?
I would try and break down the show function, call each line yourself until you hit the point whereby it hangs
It likely doesn't crash, it likely is just waiting for input from somewhere
Andre Anjos
@andre.anjos_gitlab
It hasn't shown any problems at the minute but will use the show function to see if something weird happens
Marcus Ottosson
@mottosso
Actually, the fact that you are seeing a splash screen is telling me something. It means Pyblish is calling on the Qt bindings from 3ds max
See if you can remove the call to the splash screen from within show
Andre Anjos
@andre.anjos_gitlab
It was interesting that when using my previous version of Pyblish QML 1.10.2, by just switching the order of the binding in the QT.py file it works without problems
def _install():
    # Default order (customise order and content via QT_PREFERRED_BINDING)
    default_order = ("PyQt5", "PySide2", "PySide", "PyQt4")
    preferred_order = list(
        b for b in QT_PREFERRED_BINDING.split(os.pathsep) if b
Ah cool will do that :)
thank you!
Marcus Ottosson
@mottosso
No worries. Also take care about those later versions of Qt
QML was made with 5.12 or earlier I think
Andre Anjos
@andre.anjos_gitlab
Right! No worries will downgrade it if needed to 5.12 :)
cheers for the heads up
Johannes Hezer
@nebukadhezer
How does max communicate with the qml version? We run pyblish lite in max... and it behaves most of the time
Marcus Ottosson
@mottosso
Should be the same as for Maya/Houdini/etc, it'll run as a separate process, sending/receiving commands via stdin/stdout.
Good to know Lite works in 3ds, I haven't had a chance to test that yet!
Johannes Hezer
@nebukadhezer
Ok I had problems in max with qts event loop and needed to create a separate one as it wasn’t processing the event loop , but that was in another tool ...
David Lai
@davidlatwe

Hmmm, here's an old branch in our fork which was created by my colleague for working with 3dsMax. :point_down:
https://github.com/MoonShineVFX/pyblish-qml/tree/3dsmax

Not sure how it works now though, but I remember he did pull it off.

Andre Anjos
@andre.anjos_gitlab
image.png
That's really interesting! Thanks @davidlatwe ! :)
I'm currently stuck with the latest version of Pyblish QML and Python 3.7.
But I manage to run it with production versions, above
Also by changing the QT Binding order of PySide2 and PyQt5
David Lai
@davidlatwe
Nice :+1: