-
Notifications
You must be signed in to change notification settings - Fork 8
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
Publish component builder LOP usd while maintaining hierarchical structure #163
base: develop
Are you sure you want to change the base?
Conversation
Also, remove duplicate entry of `usdrender` in the list.
…ent-builder-usd-while-maintaining-hierarchical-structure
…d-while-maintaining-hierarchical-structure' of https://github.com/BigRoy/ayon-houdini into enhancement/147-ay-7047_publishing-component-builder-usd-while-maintaining-hierarchical-structure
client/ayon_houdini/plugins/create/create_usd_componentbuilder.py
Outdated
Show resolved
Hide resolved
client/ayon_houdini/plugins/create/create_usd_componentbuilder.py
Outdated
Show resolved
Hide resolved
…ent-builder-usd-while-maintaining-hierarchical-structure
Co-authored-by: Mustafa Jafar <[email protected]>
client/ayon_houdini/plugins/create/create_usd_componentbuilder.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I got an error on integration step because it expected a thumbnail.
The fix to click Generate Thumbnail
DEBUG: Copying file ... \\storage\work\ayon\RnD\features\hou_component_builder\work\Generic\usd\assets\componentoutput1\thumbnail.png -> \\storage\work\ayon\RnD\features\hou_component_builder\publish\usd\usdSimpleCube\v004\thumbnail.png
CRITICAL: Error when registering
Traceback (most recent call last):
File "E:\Ynput\ayon-core\client\ayon_core\plugins\publish\integrate.py", line 158, in process
self.register(instance, file_transactions, filtered_repres)
File "E:\Ynput\ayon-core\client\ayon_core\plugins\publish\integrate.py", line 290, in register
file_transactions.process()
File "E:\Ynput\ayon-core\client\ayon_core\lib\file_transaction.py", line 140, in process
copyfile(src, dst)
File "C:\Users\Mustafa Taher\AppData\Local\Ynput\AYON\dependency_packages\ayon_2411052009_windows.zip\dependencies\speedcopy\__init__.py", line 332, in copyfile
ret = COPYFILE('\\\\?\\' + source_file,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "_ctypes/callproc.c", line 1000, in GetResult
FileNotFoundError: [WinError -2147024894] The system cannot find the file specified
Traceback (most recent call last):
File "C:\Users\Mustafa Taher\AppData\Local\Ynput\AYON\dependency_packages\ayon_2411052009_windows.zip\dependencies\pyblish\plugin.py", line 528, in __explicit_process
runner(*args)
File "E:\Ynput\ayon-core\client\ayon_core\plugins\publish\integrate.py", line 170, in process
raise exc
File "E:\Ynput\ayon-core\client\ayon_core\plugins\publish\integrate.py", line 158, in process
self.register(instance, file_transactions, filtered_repres)
File "E:\Ynput\ayon-core\client\ayon_core\plugins\publish\integrate.py", line 290, in register
file_transactions.process()
File "E:\Ynput\ayon-core\client\ayon_core\lib\file_transaction.py", line 140, in process
copyfile(src, dst)
File "C:\Users\Mustafa Taher\AppData\Local\Ynput\AYON\dependency_packages\ayon_2411052009_windows.zip\dependencies\speedcopy\__init__.py", line 332, in copyfile
ret = COPYFILE('\\\\?\\' + source_file,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "_ctypes/callproc.c", line 1000, in GetResult
FileNotFoundError: [WinError -2147024894] The system cannot find the file specified
I've just broken the contribution workflow. it doesn't respect the publish template. |
I tried publishing the output of component builder as an assembly variant in usd contribution. Side question: What tasks types are most suitable for component builders? since component builders include look and model products. |
…ent-builder-usd-while-maintaining-hierarchical-structure
I'd say component builder makes little sense with the contribution workflow - yet at the same time, there may be an edge case where one may want to do that and instead have it be the full usd asset itself.
Generic task type maybe. But yes, there isn't a clear 'default' task type in AYON that is the combination of those two. |
…ent-builder-usd-while-maintaining-hierarchical-structure
Changelog Description
Implements a prototype creator that can publish the output USD of a Component Builder LOPs network.
Additional review information
Example graph:
Publisher:
The published asset is contained within a single publish with all its relative paths and localized files:
Note that this screenshot does not contain the textures - but that's only because I didn't have them on my disk in this case. That's then logged forgivingly as a warning during publish. For example:
Selecting the Creator in the publisher UI and pressing the question mark on the top right of the publisher UI will try and guide you about what it does and how to use it.
Testing notes: