Looks cool! Would it be possible to make a video, demonstrating the workflow?
Any thoughts to making QML and/or Lite also filtering plug-ins per selected instance? Seems reasonable, I can’t recall whether either of them already do this?
It’d be great to port this eventually to QML & lite.
For now I did my own spin to iterate fast.
(I’m planning some more new features i’ve been working on, ex. explicit plugin registration)
both qml and lite show all validation checks.
You can see this in the screenshot above. (The pyblish lite window is on the left.)
It shows that the MESH:cube instance failed. but it’s unclear why.
The only way to figure out is scroll through the log (screenshot below) and hope it tells you.
collect runs and shows you the instances. just like in lite.
check all : runs validation.
shows you validation results (green success red fail)
user can now select the instance they are interested in, and see what is wrong with them. “Aha! Mesh:Cube failed because the mesh triangle count validation failed.”
autofix all: attempt to run a fix action on failed validations that have a fix action
then rerun validation and show results. in the sample vid both backface culling & material diffuse get auto fixed.
the end goal of this tool is a 1 click tool that fixes everything that can automatically be fixed.
then flag remaining issues in a very minimalist way to the user.
(which then can batch run on 100 files)
Cool. In my opinion, this seems like a great standalone tool. What if the user could spin up this UI at any point, and hit the Fix All button to correct things as they go? Like a workflow thing, not necessarily related to publishing. Something they’d do every now and then to keep a clean house, like Maya’s “Optimize Scene”. And then, once they’re happy they’d publish it, with or without Pyblish.
i also remember reading a few of your posts somewhere mentioning pyblish isnt’t meant to be a sanitise file tool, or fix / repair tool, but validation only.
So for now it makes sense to do a separate UI.