diff --git a/pype/hosts/nukestudio/__init__.py b/pype/hosts/hiero/__init__.py similarity index 79% rename from pype/hosts/nukestudio/__init__.py rename to pype/hosts/hiero/__init__.py index c84b288f4a..50fd39440b 100644 --- a/pype/hosts/nukestudio/__init__.py +++ b/pype/hosts/hiero/__init__.py @@ -31,17 +31,17 @@ __all__ = [ ] # get logger -log = Logger().get_logger(__name__, "nukestudio") +log = Logger().get_logger(__name__, "hiero") ''' Creating all important host related variables ''' AVALON_CONFIG = os.getenv("AVALON_CONFIG", "pype") # plugin root path -PUBLISH_PATH = os.path.join(PLUGINS_DIR, "nukestudio", "publish") -LOAD_PATH = os.path.join(PLUGINS_DIR, "nukestudio", "load") -CREATE_PATH = os.path.join(PLUGINS_DIR, "nukestudio", "create") -INVENTORY_PATH = os.path.join(PLUGINS_DIR, "nukestudio", "inventory") +PUBLISH_PATH = os.path.join(PLUGINS_DIR, "hiero", "publish") +LOAD_PATH = os.path.join(PLUGINS_DIR, "hiero", "load") +CREATE_PATH = os.path.join(PLUGINS_DIR, "hiero", "create") +INVENTORY_PATH = os.path.join(PLUGINS_DIR, "hiero", "inventory") # registering particular pyblish gui but `lite` is recomended!! if os.getenv("PYBLISH_GUI", None): @@ -50,7 +50,7 @@ if os.getenv("PYBLISH_GUI", None): def install(): """ - Installing Nukestudio integration for avalon + Installing Hiero integration for avalon Args: config (obj): avalon config module `pype` in our case, it is not @@ -61,8 +61,8 @@ def install(): # adding all events _register_events() - log.info("Registering NukeStudio plug-ins..") - pyblish.register_host("nukestudio") + log.info("Registering Hiero plug-ins..") + pyblish.register_host("hiero") pyblish.register_plugin_path(PUBLISH_PATH) avalon.register_plugin_path(avalon.Loader, LOAD_PATH) avalon.register_plugin_path(avalon.Creator, CREATE_PATH) @@ -87,11 +87,11 @@ def install(): def uninstall(): """ - Uninstalling Nukestudio integration for avalon + Uninstalling Hiero integration for avalon """ - log.info("Deregistering NukeStudio plug-ins..") - pyblish.deregister_host("nukestudio") + log.info("Deregistering Hiero plug-ins..") + pyblish.deregister_host("hiero") pyblish.deregister_plugin_path(PUBLISH_PATH) avalon.deregister_plugin_path(avalon.Loader, LOAD_PATH) avalon.deregister_plugin_path(avalon.Creator, CREATE_PATH) @@ -102,7 +102,7 @@ def _register_events(): Adding all callbacks. """ - # if task changed then change notext of nukestudio + # if task changed then change notext of hiero avalon.on("taskChanged", _update_menu_task_label) log.info("Installed event callback for 'taskChanged'..") diff --git a/pype/hosts/nukestudio/events.py b/pype/hosts/hiero/events.py similarity index 98% rename from pype/hosts/nukestudio/events.py rename to pype/hosts/hiero/events.py index 509319f717..d78f8d54d4 100644 --- a/pype/hosts/nukestudio/events.py +++ b/pype/hosts/hiero/events.py @@ -4,7 +4,7 @@ from pype.api import Logger from .lib import sync_avalon_data_to_workfile, launch_workfiles_app from .tags import add_tags_from_presets -log = Logger().get_logger(__name__, "nukestudio") +log = Logger().get_logger(__name__, "hiero") def startupCompleted(event): diff --git a/pype/hosts/nukestudio/lib.py b/pype/hosts/hiero/lib.py similarity index 98% rename from pype/hosts/nukestudio/lib.py rename to pype/hosts/hiero/lib.py index 6f2d9ad357..db7199a190 100644 --- a/pype/hosts/nukestudio/lib.py +++ b/pype/hosts/hiero/lib.py @@ -8,7 +8,7 @@ from avalon.vendor.Qt import (QtWidgets, QtGui) import pype.api as pype from pype.api import Logger, Anatomy -log = Logger().get_logger(__name__, "nukestudio") +log = Logger().get_logger(__name__, "hiero") cached_process = None @@ -82,7 +82,7 @@ def sync_avalon_data_to_workfile(): def launch_workfiles_app(event): """ - Event for launching workfiles after nukestudio start + Event for launching workfiles after hiero start Args: event (obj): required but unused @@ -109,9 +109,9 @@ def reload_config(): "pypeapp", "{}.api".format(AVALON_CONFIG), "{}.templates".format(AVALON_CONFIG), - "{}.hosts.nukestudio.lib".format(AVALON_CONFIG), - "{}.hosts.nukestudio.menu".format(AVALON_CONFIG), - "{}.hosts.nukestudio.tags".format(AVALON_CONFIG) + "{}.hosts.hiero.lib".format(AVALON_CONFIG), + "{}.hosts.hiero.menu".format(AVALON_CONFIG), + "{}.hosts.hiero.tags".format(AVALON_CONFIG) ): log.info("Reloading module: {}...".format(module)) try: diff --git a/pype/hosts/nukestudio/menu.py b/pype/hosts/hiero/menu.py similarity index 97% rename from pype/hosts/nukestudio/menu.py rename to pype/hosts/hiero/menu.py index 35adcfc16c..697381f3cb 100644 --- a/pype/hosts/nukestudio/menu.py +++ b/pype/hosts/hiero/menu.py @@ -12,7 +12,7 @@ from .lib import ( set_workfiles ) -log = Logger().get_logger(__name__, "nukestudio") +log = Logger().get_logger(__name__, "hiero") self = sys.modules[__name__] self._change_context_menu = None @@ -38,7 +38,7 @@ def _update_menu_task_label(*args): def install(): """ - Installing menu into Nukestudio + Installing menu into Hiero """ diff --git a/pype/hosts/nukestudio/tags.json b/pype/hosts/hiero/tags.json similarity index 100% rename from pype/hosts/nukestudio/tags.json rename to pype/hosts/hiero/tags.json diff --git a/pype/hosts/nukestudio/tags.py b/pype/hosts/hiero/tags.py similarity index 98% rename from pype/hosts/nukestudio/tags.py rename to pype/hosts/hiero/tags.py index c8af0cabc1..152d054a8a 100644 --- a/pype/hosts/nukestudio/tags.py +++ b/pype/hosts/hiero/tags.py @@ -6,7 +6,7 @@ import hiero from pype.api import Logger from avalon import io -log = Logger().get_logger(__name__, "nukestudio") +log = Logger().get_logger(__name__, "hiero") def tag_data(): @@ -65,7 +65,7 @@ def add_tags_from_presets(): log.debug("Setting default tags on project: {}".format(project.name())) - # get nukestudio tags.json + # get hiero tags.json nks_pres_tags = tag_data() # Get project task types. diff --git a/pype/hosts/nukestudio/workio.py b/pype/hosts/hiero/workio.py similarity index 95% rename from pype/hosts/nukestudio/workio.py rename to pype/hosts/hiero/workio.py index 2cf898aa33..f11a34c9a8 100644 --- a/pype/hosts/nukestudio/workio.py +++ b/pype/hosts/hiero/workio.py @@ -4,11 +4,11 @@ from avalon import api from pype.api import Logger -log = Logger().get_logger(__name__, "nukestudio") +log = Logger().get_logger(__name__, "hiero") def file_extensions(): - return api.HOST_WORKFILE_EXTENSIONS["nukestudio"] + return api.HOST_WORKFILE_EXTENSIONS["hiero"] def has_unsaved_changes(): diff --git a/pype/plugins/nukestudio/_unused/collect_metadata.py b/pype/plugins/hiero/_unused/collect_metadata.py similarity index 97% rename from pype/plugins/nukestudio/_unused/collect_metadata.py rename to pype/plugins/hiero/_unused/collect_metadata.py index 23d36ba4a2..c85cb4e898 100644 --- a/pype/plugins/nukestudio/_unused/collect_metadata.py +++ b/pype/plugins/hiero/_unused/collect_metadata.py @@ -6,7 +6,7 @@ class CollectClipMetadata(api.InstancePlugin): order = api.CollectorOrder + 0.01 label = "Collect Metadata" - hosts = ["nukestudio"] + hosts = ["hiero"] def process(self, instance): item = instance.data["item"] diff --git a/pype/plugins/nukestudio/_unused/collect_submission.py b/pype/plugins/hiero/_unused/collect_submission.py similarity index 100% rename from pype/plugins/nukestudio/_unused/collect_submission.py rename to pype/plugins/hiero/_unused/collect_submission.py diff --git a/pype/plugins/nukestudio/_unused/collect_timecodes.py b/pype/plugins/hiero/_unused/collect_timecodes.py similarity index 99% rename from pype/plugins/nukestudio/_unused/collect_timecodes.py rename to pype/plugins/hiero/_unused/collect_timecodes.py index 5ac07314a4..e79ee27a15 100644 --- a/pype/plugins/nukestudio/_unused/collect_timecodes.py +++ b/pype/plugins/hiero/_unused/collect_timecodes.py @@ -10,7 +10,7 @@ class CollectClipTimecodes(pyblish.api.InstancePlugin): order = pyblish.api.CollectorOrder + 0.101 label = "Collect Timecodes" - hosts = ["nukestudio"] + hosts = ["hiero"] def process(self, instance): diff --git a/pype/plugins/nukestudio/_unused/collect_workfile_version.py b/pype/plugins/hiero/_unused/collect_workfile_version.py similarity index 100% rename from pype/plugins/nukestudio/_unused/collect_workfile_version.py rename to pype/plugins/hiero/_unused/collect_workfile_version.py diff --git a/pype/plugins/nukestudio/_unused/extract_plates_waiting.py b/pype/plugins/hiero/_unused/extract_plates_waiting.py similarity index 96% rename from pype/plugins/nukestudio/_unused/extract_plates_waiting.py rename to pype/plugins/hiero/_unused/extract_plates_waiting.py index 9a4d883917..f385f74a3e 100644 --- a/pype/plugins/nukestudio/_unused/extract_plates_waiting.py +++ b/pype/plugins/hiero/_unused/extract_plates_waiting.py @@ -8,7 +8,7 @@ class ExtractPlateCheck(api.ContextPlugin): order = api.ExtractorOrder + 0.01 label = "Plates Export Waiting" - hosts = ["nukestudio"] + hosts = ["hiero"] families = ["encode"] def process(self, context): diff --git a/pype/plugins/nukestudio/_unused/extract_tasks.py b/pype/plugins/hiero/_unused/extract_tasks.py similarity index 99% rename from pype/plugins/nukestudio/_unused/extract_tasks.py rename to pype/plugins/hiero/_unused/extract_tasks.py index 3e6ef9b71c..4f75728468 100644 --- a/pype/plugins/nukestudio/_unused/extract_tasks.py +++ b/pype/plugins/hiero/_unused/extract_tasks.py @@ -6,7 +6,7 @@ class ExtractTasks(api.InstancePlugin): order = api.ExtractorOrder label = "Tasks" - hosts = ["nukestudio"] + hosts = ["hiero"] families = ["clip"] optional = True diff --git a/pype/plugins/nukestudio/_unused/subset-representations_logic.txt b/pype/plugins/hiero/_unused/subset-representations_logic.txt similarity index 100% rename from pype/plugins/nukestudio/_unused/subset-representations_logic.txt rename to pype/plugins/hiero/_unused/subset-representations_logic.txt diff --git a/pype/plugins/nukestudio/_unused/validate_projectroot.py b/pype/plugins/hiero/_unused/validate_projectroot.py similarity index 97% rename from pype/plugins/nukestudio/_unused/validate_projectroot.py rename to pype/plugins/hiero/_unused/validate_projectroot.py index 94315014c6..51e5082250 100644 --- a/pype/plugins/nukestudio/_unused/validate_projectroot.py +++ b/pype/plugins/hiero/_unused/validate_projectroot.py @@ -22,7 +22,7 @@ class ValidateProjectRoot(api.ContextPlugin): order = api.ValidatorOrder label = "Project Root" - hosts = ["nukestudio"] + hosts = ["hiero"] actions = [RepairProjectRoot] def process(self, context): diff --git a/pype/plugins/nukestudio/_unused/validate_resolved_paths.py b/pype/plugins/hiero/_unused/validate_resolved_paths.py similarity index 96% rename from pype/plugins/nukestudio/_unused/validate_resolved_paths.py rename to pype/plugins/hiero/_unused/validate_resolved_paths.py index f1f0b7bbc8..21883aa1d3 100644 --- a/pype/plugins/nukestudio/_unused/validate_resolved_paths.py +++ b/pype/plugins/hiero/_unused/validate_resolved_paths.py @@ -5,7 +5,7 @@ class ValidateResolvedPaths(api.ContextPlugin): order = api.ValidatorOrder label = "Resolved Paths" - hosts = ["nukestudio"] + hosts = ["hiero"] def process(self, context): import os diff --git a/pype/plugins/nukestudio/_unused/validate_task.py b/pype/plugins/hiero/_unused/validate_task.py similarity index 97% rename from pype/plugins/nukestudio/_unused/validate_task.py rename to pype/plugins/hiero/_unused/validate_task.py index ff8fa6b6e1..3af94273bb 100644 --- a/pype/plugins/nukestudio/_unused/validate_task.py +++ b/pype/plugins/hiero/_unused/validate_task.py @@ -13,7 +13,7 @@ class ValidateOutputRange(api.InstancePlugin): order = api.ValidatorOrder families = ["trackItem.task"] label = "Output Range" - hosts = ["nukestudio"] + hosts = ["hiero"] optional = True def process(self, instance): @@ -43,7 +43,7 @@ class ValidateImageSequence(api.InstancePlugin): families = ["trackItem.task", "img"] match = api.Subset label = "Image Sequence" - hosts = ["nukestudio"] + hosts = ["hiero"] optional = True def process(self, instance): diff --git a/pype/plugins/nukestudio/_unused/validate_track_item.py b/pype/plugins/hiero/_unused/validate_track_item.py similarity index 98% rename from pype/plugins/nukestudio/_unused/validate_track_item.py rename to pype/plugins/hiero/_unused/validate_track_item.py index 48f63b5608..f29e1d5d75 100644 --- a/pype/plugins/nukestudio/_unused/validate_track_item.py +++ b/pype/plugins/hiero/_unused/validate_track_item.py @@ -10,7 +10,7 @@ class ValidateClip(api.InstancePlugin): families = ["clip"] # match = api.Exact label = "Validate Track Item" - hosts = ["nukestudio"] + hosts = ["hiero"] optional = True def process(self, instance): diff --git a/pype/plugins/nukestudio/_unused/validate_viewer_lut.py b/pype/plugins/hiero/_unused/validate_viewer_lut.py similarity index 53% rename from pype/plugins/nukestudio/_unused/validate_viewer_lut.py rename to pype/plugins/hiero/_unused/validate_viewer_lut.py index 08c084880d..4d307b5a71 100644 --- a/pype/plugins/nukestudio/_unused/validate_viewer_lut.py +++ b/pype/plugins/hiero/_unused/validate_viewer_lut.py @@ -2,11 +2,11 @@ from pyblish import api class ValidateViewerLut(api.ContextPlugin): - """Validate viewer lut in NukeStudio is the same as in Nuke.""" + """Validate viewer lut in Hiero is the same as in Nuke.""" order = api.ValidatorOrder label = "Viewer LUT" - hosts = ["nukestudio"] + hosts = ["hiero"] optional = True def process(self, context): @@ -14,8 +14,8 @@ class ValidateViewerLut(api.ContextPlugin): import hiero # nuke_lut = nuke.ViewerProcess.node()["current"].value() - nukestudio_lut = context.data["activeProject"].lutSettingViewer() - self.log.info("__ nukestudio_lut: {}".format(nukestudio_lut)) + hiero_lut = context.data["activeProject"].lutSettingViewer() + self.log.info("__ hiero_lut: {}".format(hiero_lut)) msg = "Viewer LUT can only be RGB" - assert "RGB" in nukestudio_lut, msg + assert "RGB" in hiero_lut, msg diff --git a/pype/plugins/nukestudio/load/load_sequences_to_timeline_asset_origin.py b/pype/plugins/hiero/load/load_sequences_to_timeline_asset_origin.py similarity index 97% rename from pype/plugins/nukestudio/load/load_sequences_to_timeline_asset_origin.py rename to pype/plugins/hiero/load/load_sequences_to_timeline_asset_origin.py index c56dcbcaaa..3c58a0a90d 100644 --- a/pype/plugins/nukestudio/load/load_sequences_to_timeline_asset_origin.py +++ b/pype/plugins/hiero/load/load_sequences_to_timeline_asset_origin.py @@ -1,6 +1,6 @@ from avalon import api import hiero -from pype.hosts.nukestudio import lib +from pype.hosts.hiero import lib reload(lib) diff --git a/pype/plugins/nukestudio/publish/collect_active_project.py b/pype/plugins/hiero/publish/collect_active_project.py similarity index 100% rename from pype/plugins/nukestudio/publish/collect_active_project.py rename to pype/plugins/hiero/publish/collect_active_project.py diff --git a/pype/plugins/nukestudio/publish/collect_assetbuilds.py b/pype/plugins/hiero/publish/collect_assetbuilds.py similarity index 98% rename from pype/plugins/nukestudio/publish/collect_assetbuilds.py rename to pype/plugins/hiero/publish/collect_assetbuilds.py index 76326c320b..f20acaf3da 100644 --- a/pype/plugins/nukestudio/publish/collect_assetbuilds.py +++ b/pype/plugins/hiero/publish/collect_assetbuilds.py @@ -14,7 +14,7 @@ class CollectAssetBuilds(api.ContextPlugin): # Run just after CollectClip order = api.CollectorOrder + 0.02 label = "Collect AssetBuilds" - hosts = ["nukestudio"] + hosts = ["hiero"] def process(self, context): asset_builds = {} diff --git a/pype/plugins/nukestudio/publish/collect_audio.py b/pype/plugins/hiero/publish/collect_audio.py similarity index 98% rename from pype/plugins/nukestudio/publish/collect_audio.py rename to pype/plugins/hiero/publish/collect_audio.py index 727d7da795..a63a18be05 100644 --- a/pype/plugins/nukestudio/publish/collect_audio.py +++ b/pype/plugins/hiero/publish/collect_audio.py @@ -14,7 +14,7 @@ class CollectAudio(api.InstancePlugin): # Run just before CollectSubsets order = api.CollectorOrder + 0.1021 label = "Collect Audio" - hosts = ["nukestudio"] + hosts = ["hiero"] families = ["clip"] def process(self, instance): diff --git a/pype/plugins/nukestudio/publish/collect_calculate_retime.py b/pype/plugins/hiero/publish/collect_calculate_retime.py similarity index 99% rename from pype/plugins/nukestudio/publish/collect_calculate_retime.py rename to pype/plugins/hiero/publish/collect_calculate_retime.py index a97b43a4ce..1b2f047da2 100644 --- a/pype/plugins/nukestudio/publish/collect_calculate_retime.py +++ b/pype/plugins/hiero/publish/collect_calculate_retime.py @@ -8,7 +8,7 @@ class CollectCalculateRetime(api.InstancePlugin): order = api.CollectorOrder + 0.02 label = "Collect Calculate Retiming" - hosts = ["nukestudio"] + hosts = ["hiero"] families = ['retime'] def process(self, instance): diff --git a/pype/plugins/nukestudio/publish/collect_clip_resolution.py b/pype/plugins/hiero/publish/collect_clip_resolution.py similarity index 96% rename from pype/plugins/nukestudio/publish/collect_clip_resolution.py rename to pype/plugins/hiero/publish/collect_clip_resolution.py index b70f8f2f95..8d441959ba 100644 --- a/pype/plugins/nukestudio/publish/collect_clip_resolution.py +++ b/pype/plugins/hiero/publish/collect_clip_resolution.py @@ -6,7 +6,7 @@ class CollectClipResolution(pyblish.api.InstancePlugin): order = pyblish.api.CollectorOrder + 0.101 label = "Collect Clip Resoluton" - hosts = ["nukestudio"] + hosts = ["hiero"] def process(self, instance): sequence = instance.context.data['activeSequence'] diff --git a/pype/plugins/nukestudio/publish/collect_clips.py b/pype/plugins/hiero/publish/collect_clips.py similarity index 99% rename from pype/plugins/nukestudio/publish/collect_clips.py rename to pype/plugins/hiero/publish/collect_clips.py index d39e25bfc6..e11ad93883 100644 --- a/pype/plugins/nukestudio/publish/collect_clips.py +++ b/pype/plugins/hiero/publish/collect_clips.py @@ -9,7 +9,7 @@ class CollectClips(api.ContextPlugin): order = api.CollectorOrder + 0.01 label = "Collect Clips" - hosts = ["nukestudio"] + hosts = ["hiero"] def process(self, context): # create asset_names conversion table diff --git a/pype/plugins/nukestudio/publish/collect_colorspace.py b/pype/plugins/hiero/publish/collect_colorspace.py similarity index 100% rename from pype/plugins/nukestudio/publish/collect_colorspace.py rename to pype/plugins/hiero/publish/collect_colorspace.py diff --git a/pype/plugins/nukestudio/publish/collect_current_file.py b/pype/plugins/hiero/publish/collect_current_file.py similarity index 100% rename from pype/plugins/nukestudio/publish/collect_current_file.py rename to pype/plugins/hiero/publish/collect_current_file.py diff --git a/pype/plugins/nukestudio/publish/collect_effects.py b/pype/plugins/hiero/publish/collect_effects.py similarity index 100% rename from pype/plugins/nukestudio/publish/collect_effects.py rename to pype/plugins/hiero/publish/collect_effects.py diff --git a/pype/plugins/nukestudio/publish/collect_frame_ranges.py b/pype/plugins/hiero/publish/collect_frame_ranges.py similarity index 98% rename from pype/plugins/nukestudio/publish/collect_frame_ranges.py rename to pype/plugins/hiero/publish/collect_frame_ranges.py index 1cb5e5dd1e..19a46d80b1 100644 --- a/pype/plugins/nukestudio/publish/collect_frame_ranges.py +++ b/pype/plugins/hiero/publish/collect_frame_ranges.py @@ -6,7 +6,7 @@ class CollectClipFrameRanges(pyblish.api.InstancePlugin): order = pyblish.api.CollectorOrder + 0.101 label = "Collect Frame Ranges" - hosts = ["nukestudio"] + hosts = ["hiero"] def process(self, instance): diff --git a/pype/plugins/nukestudio/publish/collect_framerate.py b/pype/plugins/hiero/publish/collect_framerate.py similarity index 95% rename from pype/plugins/nukestudio/publish/collect_framerate.py rename to pype/plugins/hiero/publish/collect_framerate.py index 694052f802..6d2d2eef2b 100644 --- a/pype/plugins/nukestudio/publish/collect_framerate.py +++ b/pype/plugins/hiero/publish/collect_framerate.py @@ -6,7 +6,7 @@ class CollectFramerate(api.ContextPlugin): order = api.CollectorOrder + 0.01 label = "Collect Framerate" - hosts = ["nukestudio"] + hosts = ["hiero"] def process(self, context): sequence = context.data["activeSequence"] diff --git a/pype/plugins/nukestudio/publish/collect_handles.py b/pype/plugins/hiero/publish/collect_handles.py similarity index 98% rename from pype/plugins/nukestudio/publish/collect_handles.py rename to pype/plugins/hiero/publish/collect_handles.py index c16f1a5803..1f278a6b4c 100644 --- a/pype/plugins/nukestudio/publish/collect_handles.py +++ b/pype/plugins/hiero/publish/collect_handles.py @@ -6,7 +6,7 @@ class CollectClipHandles(api.ContextPlugin): order = api.CollectorOrder + 0.0121 label = "Collect Handles" - hosts = ["nukestudio"] + hosts = ["hiero"] def process(self, context): assets_shared = context.data.get("assetsShared") diff --git a/pype/plugins/nukestudio/publish/collect_hierarchy_context.py b/pype/plugins/hiero/publish/collect_hierarchy_context.py similarity index 99% rename from pype/plugins/nukestudio/publish/collect_hierarchy_context.py rename to pype/plugins/hiero/publish/collect_hierarchy_context.py index 930efd618e..249194003b 100644 --- a/pype/plugins/nukestudio/publish/collect_hierarchy_context.py +++ b/pype/plugins/hiero/publish/collect_hierarchy_context.py @@ -46,7 +46,7 @@ class CollectHierarchyInstance(pyblish.api.ContextPlugin): clip_out = instance.data["clipOut"] fps = context.data["fps"] - # build data for inner nukestudio project property + # build data for inner hiero project property data = { "sequence": ( context.data['activeSequence'].name().replace(' ', '_') diff --git a/pype/plugins/nukestudio/publish/collect_host.py b/pype/plugins/hiero/publish/collect_host.py similarity index 100% rename from pype/plugins/nukestudio/publish/collect_host.py rename to pype/plugins/hiero/publish/collect_host.py diff --git a/pype/plugins/nukestudio/publish/collect_host_version.py b/pype/plugins/hiero/publish/collect_host_version.py similarity index 100% rename from pype/plugins/nukestudio/publish/collect_host_version.py rename to pype/plugins/hiero/publish/collect_host_version.py diff --git a/pype/plugins/nukestudio/publish/collect_instance_version.py b/pype/plugins/hiero/publish/collect_instance_version.py similarity index 100% rename from pype/plugins/nukestudio/publish/collect_instance_version.py rename to pype/plugins/hiero/publish/collect_instance_version.py diff --git a/pype/plugins/nukestudio/publish/collect_leader_clip.py b/pype/plugins/hiero/publish/collect_leader_clip.py similarity index 97% rename from pype/plugins/nukestudio/publish/collect_leader_clip.py rename to pype/plugins/hiero/publish/collect_leader_clip.py index 62ef420316..bba85cf411 100644 --- a/pype/plugins/nukestudio/publish/collect_leader_clip.py +++ b/pype/plugins/hiero/publish/collect_leader_clip.py @@ -6,7 +6,7 @@ class CollectLeaderClip(api.InstancePlugin): order = api.CollectorOrder + 0.0111 label = "Collect Leader Clip" - hosts = ["nukestudio"] + hosts = ["hiero"] families = ['clip'] def process(self, instance): diff --git a/pype/plugins/nukestudio/publish/collect_plates.py b/pype/plugins/hiero/publish/collect_plates.py similarity index 99% rename from pype/plugins/nukestudio/publish/collect_plates.py rename to pype/plugins/hiero/publish/collect_plates.py index 770cef7e3f..0c08b94148 100644 --- a/pype/plugins/nukestudio/publish/collect_plates.py +++ b/pype/plugins/hiero/publish/collect_plates.py @@ -16,7 +16,7 @@ class CollectPlates(api.InstancePlugin): # Run just before CollectSubsets order = api.CollectorOrder + 0.1021 label = "Collect Plates" - hosts = ["nukestudio"] + hosts = ["hiero"] families = ["clip"] def process(self, instance): @@ -85,7 +85,7 @@ class CollectPlatesData(api.InstancePlugin): order = api.CollectorOrder + 0.48 label = "Collect Plates Data" - hosts = ["nukestudio"] + hosts = ["hiero"] families = ["plate"] def process(self, instance): diff --git a/pype/plugins/nukestudio/publish/collect_remove_clip_instances.py b/pype/plugins/hiero/publish/collect_remove_clip_instances.py similarity index 94% rename from pype/plugins/nukestudio/publish/collect_remove_clip_instances.py rename to pype/plugins/hiero/publish/collect_remove_clip_instances.py index d41dc50ab1..c42bd1345b 100644 --- a/pype/plugins/nukestudio/publish/collect_remove_clip_instances.py +++ b/pype/plugins/hiero/publish/collect_remove_clip_instances.py @@ -5,7 +5,7 @@ class CollectClipSubsets(api.InstancePlugin): order = api.CollectorOrder + 0.103 label = "Collect Remove Clip Instaces" - hosts = ["nukestudio"] + hosts = ["hiero"] families = ['clip'] def process(self, instance): diff --git a/pype/plugins/nukestudio/publish/collect_reviews.py b/pype/plugins/hiero/publish/collect_reviews.py similarity index 99% rename from pype/plugins/nukestudio/publish/collect_reviews.py rename to pype/plugins/hiero/publish/collect_reviews.py index 3167c66170..0ef0842e82 100644 --- a/pype/plugins/nukestudio/publish/collect_reviews.py +++ b/pype/plugins/hiero/publish/collect_reviews.py @@ -15,7 +15,7 @@ class CollectReviews(api.InstancePlugin): # Run just before CollectSubsets order = api.CollectorOrder + 0.1022 label = "Collect Reviews" - hosts = ["nukestudio"] + hosts = ["hiero"] families = ["plate"] def process(self, instance): diff --git a/pype/plugins/nukestudio/publish/collect_selection.py b/pype/plugins/hiero/publish/collect_selection.py similarity index 100% rename from pype/plugins/nukestudio/publish/collect_selection.py rename to pype/plugins/hiero/publish/collect_selection.py diff --git a/pype/plugins/nukestudio/publish/collect_sequence.py b/pype/plugins/hiero/publish/collect_sequence.py similarity index 91% rename from pype/plugins/nukestudio/publish/collect_sequence.py rename to pype/plugins/hiero/publish/collect_sequence.py index 162d1ebdfe..4247c7c4cb 100644 --- a/pype/plugins/nukestudio/publish/collect_sequence.py +++ b/pype/plugins/hiero/publish/collect_sequence.py @@ -7,7 +7,7 @@ class CollectSequence(api.ContextPlugin): order = api.CollectorOrder - 0.01 label = "Collect Sequence" - hosts = ["nukestudio"] + hosts = ["hiero"] def process(self, context): context.data['activeSequence'] = hiero.ui.activeSequence() diff --git a/pype/plugins/nukestudio/publish/collect_shots.py b/pype/plugins/hiero/publish/collect_shots.py similarity index 98% rename from pype/plugins/nukestudio/publish/collect_shots.py rename to pype/plugins/hiero/publish/collect_shots.py index 03fc7ab282..22f23e5742 100644 --- a/pype/plugins/nukestudio/publish/collect_shots.py +++ b/pype/plugins/hiero/publish/collect_shots.py @@ -7,7 +7,7 @@ class CollectShots(api.InstancePlugin): # Run just before CollectClipSubsets order = api.CollectorOrder + 0.1021 label = "Collect Shots" - hosts = ["nukestudio"] + hosts = ["hiero"] families = ["clip"] def process(self, instance): diff --git a/pype/plugins/nukestudio/publish/collect_tag_comments.py b/pype/plugins/hiero/publish/collect_tag_comments.py similarity index 97% rename from pype/plugins/nukestudio/publish/collect_tag_comments.py rename to pype/plugins/hiero/publish/collect_tag_comments.py index e14e53d439..76d7b6a67c 100644 --- a/pype/plugins/nukestudio/publish/collect_tag_comments.py +++ b/pype/plugins/hiero/publish/collect_tag_comments.py @@ -6,7 +6,7 @@ class CollectClipTagComments(api.InstancePlugin): order = api.CollectorOrder + 0.013 label = "Collect Comments" - hosts = ["nukestudio"] + hosts = ["hiero"] families = ["clip"] def process(self, instance): diff --git a/pype/plugins/nukestudio/publish/collect_tag_framestart.py b/pype/plugins/hiero/publish/collect_tag_framestart.py similarity index 98% rename from pype/plugins/nukestudio/publish/collect_tag_framestart.py rename to pype/plugins/hiero/publish/collect_tag_framestart.py index 993aa99a3e..0d14271aa5 100644 --- a/pype/plugins/nukestudio/publish/collect_tag_framestart.py +++ b/pype/plugins/hiero/publish/collect_tag_framestart.py @@ -6,7 +6,7 @@ class CollectClipTagFrameStart(api.InstancePlugin): order = api.CollectorOrder + 0.013 label = "Collect Frame Start" - hosts = ["nukestudio"] + hosts = ["hiero"] families = ['clip'] def process(self, instance): diff --git a/pype/plugins/nukestudio/publish/collect_tag_handles.py b/pype/plugins/hiero/publish/collect_tag_handles.py similarity index 98% rename from pype/plugins/nukestudio/publish/collect_tag_handles.py rename to pype/plugins/hiero/publish/collect_tag_handles.py index a6a63faea9..7e51efd8e1 100644 --- a/pype/plugins/nukestudio/publish/collect_tag_handles.py +++ b/pype/plugins/hiero/publish/collect_tag_handles.py @@ -7,7 +7,7 @@ class CollectClipTagHandles(api.ContextPlugin): order = api.CollectorOrder + 0.012 label = "Collect Tag Handles" - hosts = ["nukestudio"] + hosts = ["hiero"] families = ['clip'] def process(self, context): diff --git a/pype/plugins/nukestudio/publish/collect_tag_resolution.py b/pype/plugins/hiero/publish/collect_tag_resolution.py similarity index 95% rename from pype/plugins/nukestudio/publish/collect_tag_resolution.py rename to pype/plugins/hiero/publish/collect_tag_resolution.py index 24c13d2b4a..ef46d9d594 100644 --- a/pype/plugins/nukestudio/publish/collect_tag_resolution.py +++ b/pype/plugins/hiero/publish/collect_tag_resolution.py @@ -6,7 +6,7 @@ class CollectClipTagResolution(api.InstancePlugin): order = api.CollectorOrder + 0.013 label = "Collect Source Resolution" - hosts = ["nukestudio"] + hosts = ["hiero"] families = ['clip'] def process(self, instance): diff --git a/pype/plugins/nukestudio/publish/collect_tag_retime.py b/pype/plugins/hiero/publish/collect_tag_retime.py similarity index 97% rename from pype/plugins/nukestudio/publish/collect_tag_retime.py rename to pype/plugins/hiero/publish/collect_tag_retime.py index 32e49e1b2a..0634130976 100644 --- a/pype/plugins/nukestudio/publish/collect_tag_retime.py +++ b/pype/plugins/hiero/publish/collect_tag_retime.py @@ -6,7 +6,7 @@ class CollectTagRetime(api.InstancePlugin): order = api.CollectorOrder + 0.014 label = "Collect Retiming Tag" - hosts = ["nukestudio"] + hosts = ["hiero"] families = ['clip'] def process(self, instance): diff --git a/pype/plugins/nukestudio/publish/collect_tag_subsets.py b/pype/plugins/hiero/publish/collect_tag_subsets.py similarity index 97% rename from pype/plugins/nukestudio/publish/collect_tag_subsets.py rename to pype/plugins/hiero/publish/collect_tag_subsets.py index 0d42000896..d3d247727b 100644 --- a/pype/plugins/nukestudio/publish/collect_tag_subsets.py +++ b/pype/plugins/hiero/publish/collect_tag_subsets.py @@ -6,7 +6,7 @@ class CollectClipSubsetsTags(api.InstancePlugin): order = api.CollectorOrder + 0.012 label = "Collect Tags Subsets" - hosts = ["nukestudio"] + hosts = ["hiero"] families = ['clip'] def process(self, instance): diff --git a/pype/plugins/nukestudio/publish/collect_tag_tasks.py b/pype/plugins/hiero/publish/collect_tag_tasks.py similarity index 96% rename from pype/plugins/nukestudio/publish/collect_tag_tasks.py rename to pype/plugins/hiero/publish/collect_tag_tasks.py index ed2f3009d3..b83e208b58 100644 --- a/pype/plugins/nukestudio/publish/collect_tag_tasks.py +++ b/pype/plugins/hiero/publish/collect_tag_tasks.py @@ -6,7 +6,7 @@ class CollectClipTagTasks(api.InstancePlugin): order = api.CollectorOrder + 0.012 label = "Collect Tag Tasks" - hosts = ["nukestudio"] + hosts = ["hiero"] families = ['clip'] def process(self, instance): diff --git a/pype/plugins/nukestudio/publish/collect_tags.py b/pype/plugins/hiero/publish/collect_tags.py similarity index 96% rename from pype/plugins/nukestudio/publish/collect_tags.py rename to pype/plugins/hiero/publish/collect_tags.py index 49005f4b22..fde6f7a26b 100644 --- a/pype/plugins/nukestudio/publish/collect_tags.py +++ b/pype/plugins/hiero/publish/collect_tags.py @@ -6,7 +6,7 @@ class CollectClipTags(api.InstancePlugin): order = api.CollectorOrder + 0.011 label = "Collect Tags" - hosts = ["nukestudio"] + hosts = ["hiero"] families = ['clip'] def process(self, instance): diff --git a/pype/plugins/nukestudio/publish/extract_audio.py b/pype/plugins/hiero/publish/extract_audio.py similarity index 98% rename from pype/plugins/nukestudio/publish/extract_audio.py rename to pype/plugins/hiero/publish/extract_audio.py index 2c4afc8412..34fdcdfe9d 100644 --- a/pype/plugins/nukestudio/publish/extract_audio.py +++ b/pype/plugins/hiero/publish/extract_audio.py @@ -7,7 +7,7 @@ class ExtractAudioFile(pype.api.Extractor): order = api.ExtractorOrder label = "Extract Subset Audio" - hosts = ["nukestudio"] + hosts = ["hiero"] families = ["clip", "audio"] match = api.Intersection diff --git a/pype/plugins/nukestudio/publish/extract_effects.py b/pype/plugins/hiero/publish/extract_effects.py similarity index 100% rename from pype/plugins/nukestudio/publish/extract_effects.py rename to pype/plugins/hiero/publish/extract_effects.py diff --git a/pype/plugins/nukestudio/publish/extract_review_cutup_video.py b/pype/plugins/hiero/publish/extract_review_cutup_video.py similarity index 99% rename from pype/plugins/nukestudio/publish/extract_review_cutup_video.py rename to pype/plugins/hiero/publish/extract_review_cutup_video.py index d1ce3675b1..d1953b5aa2 100644 --- a/pype/plugins/nukestudio/publish/extract_review_cutup_video.py +++ b/pype/plugins/hiero/publish/extract_review_cutup_video.py @@ -9,7 +9,7 @@ class ExtractReviewCutUpVideo(pype.api.Extractor): order = api.ExtractorOrder # order = api.CollectorOrder + 0.1023 label = "Extract Review CutUp Video" - hosts = ["nukestudio"] + hosts = ["hiero"] families = ["review"] # presets diff --git a/pype/plugins/nukestudio/publish/validate_hierarchy.py b/pype/plugins/hiero/publish/validate_hierarchy.py similarity index 96% rename from pype/plugins/nukestudio/publish/validate_hierarchy.py rename to pype/plugins/hiero/publish/validate_hierarchy.py index 8013a98efd..d43f7fd562 100644 --- a/pype/plugins/nukestudio/publish/validate_hierarchy.py +++ b/pype/plugins/hiero/publish/validate_hierarchy.py @@ -9,7 +9,7 @@ class ValidateHierarchy(api.InstancePlugin): order = api.ValidatorOrder families = ["clip", "shot"] label = "Validate Hierarchy" - hosts = ["nukestudio"] + hosts = ["hiero"] def process(self, instance): asset_name = instance.data.get("asset", None) diff --git a/pype/plugins/nukestudio/publish/validate_names.py b/pype/plugins/hiero/publish/validate_names.py similarity index 97% rename from pype/plugins/nukestudio/publish/validate_names.py rename to pype/plugins/hiero/publish/validate_names.py index 8f7436cca0..52e4bf8ecc 100644 --- a/pype/plugins/nukestudio/publish/validate_names.py +++ b/pype/plugins/hiero/publish/validate_names.py @@ -13,7 +13,7 @@ class ValidateNames(api.InstancePlugin): families = ["clip"] match = api.Exact label = "Names" - hosts = ["nukestudio"] + hosts = ["hiero"] def process(self, instance): diff --git a/pype/plugins/nukestudio/publish/version_up_workfile.py b/pype/plugins/hiero/publish/version_up_workfile.py similarity index 95% rename from pype/plugins/nukestudio/publish/version_up_workfile.py rename to pype/plugins/hiero/publish/version_up_workfile.py index 195099dd09..893d3789eb 100644 --- a/pype/plugins/nukestudio/publish/version_up_workfile.py +++ b/pype/plugins/hiero/publish/version_up_workfile.py @@ -7,7 +7,7 @@ class VersionUpWorkfile(api.ContextPlugin): order = api.IntegratorOrder + 10.1 label = "Version-up Workfile" - hosts = ["nukestudio"] + hosts = ["hiero"] optional = True active = True diff --git a/setup/nukestudio/hiero_plugin_path/HieroPlayer/PlayerPresets.hrox b/setup/hiero/hiero_plugin_path/HieroPlayer/PlayerPresets.hrox similarity index 100% rename from setup/nukestudio/hiero_plugin_path/HieroPlayer/PlayerPresets.hrox rename to setup/hiero/hiero_plugin_path/HieroPlayer/PlayerPresets.hrox diff --git a/setup/nukestudio/hiero_plugin_path/Icons/1_add_handles_end.png b/setup/hiero/hiero_plugin_path/Icons/1_add_handles_end.png similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Icons/1_add_handles_end.png rename to setup/hiero/hiero_plugin_path/Icons/1_add_handles_end.png diff --git a/setup/nukestudio/hiero_plugin_path/Icons/2_add_handles.png b/setup/hiero/hiero_plugin_path/Icons/2_add_handles.png similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Icons/2_add_handles.png rename to setup/hiero/hiero_plugin_path/Icons/2_add_handles.png diff --git a/setup/nukestudio/hiero_plugin_path/Icons/3D.png b/setup/hiero/hiero_plugin_path/Icons/3D.png similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Icons/3D.png rename to setup/hiero/hiero_plugin_path/Icons/3D.png diff --git a/setup/nukestudio/hiero_plugin_path/Icons/3_add_handles_start.png b/setup/hiero/hiero_plugin_path/Icons/3_add_handles_start.png similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Icons/3_add_handles_start.png rename to setup/hiero/hiero_plugin_path/Icons/3_add_handles_start.png diff --git a/setup/nukestudio/hiero_plugin_path/Icons/4_2D.png b/setup/hiero/hiero_plugin_path/Icons/4_2D.png similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Icons/4_2D.png rename to setup/hiero/hiero_plugin_path/Icons/4_2D.png diff --git a/setup/nukestudio/hiero_plugin_path/Icons/edit.png b/setup/hiero/hiero_plugin_path/Icons/edit.png similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Icons/edit.png rename to setup/hiero/hiero_plugin_path/Icons/edit.png diff --git a/setup/nukestudio/hiero_plugin_path/Icons/fusion.png b/setup/hiero/hiero_plugin_path/Icons/fusion.png similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Icons/fusion.png rename to setup/hiero/hiero_plugin_path/Icons/fusion.png diff --git a/setup/nukestudio/hiero_plugin_path/Icons/hierarchy.png b/setup/hiero/hiero_plugin_path/Icons/hierarchy.png similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Icons/hierarchy.png rename to setup/hiero/hiero_plugin_path/Icons/hierarchy.png diff --git a/setup/nukestudio/hiero_plugin_path/Icons/houdini.png b/setup/hiero/hiero_plugin_path/Icons/houdini.png similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Icons/houdini.png rename to setup/hiero/hiero_plugin_path/Icons/houdini.png diff --git a/setup/nukestudio/hiero_plugin_path/Icons/layers.psd b/setup/hiero/hiero_plugin_path/Icons/layers.psd similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Icons/layers.psd rename to setup/hiero/hiero_plugin_path/Icons/layers.psd diff --git a/setup/nukestudio/hiero_plugin_path/Icons/lense.png b/setup/hiero/hiero_plugin_path/Icons/lense.png similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Icons/lense.png rename to setup/hiero/hiero_plugin_path/Icons/lense.png diff --git a/setup/nukestudio/hiero_plugin_path/Icons/lense1.png b/setup/hiero/hiero_plugin_path/Icons/lense1.png similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Icons/lense1.png rename to setup/hiero/hiero_plugin_path/Icons/lense1.png diff --git a/setup/nukestudio/hiero_plugin_path/Icons/maya.png b/setup/hiero/hiero_plugin_path/Icons/maya.png similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Icons/maya.png rename to setup/hiero/hiero_plugin_path/Icons/maya.png diff --git a/setup/nukestudio/hiero_plugin_path/Icons/nuke.png b/setup/hiero/hiero_plugin_path/Icons/nuke.png similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Icons/nuke.png rename to setup/hiero/hiero_plugin_path/Icons/nuke.png diff --git a/setup/nukestudio/hiero_plugin_path/Icons/resolution.png b/setup/hiero/hiero_plugin_path/Icons/resolution.png similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Icons/resolution.png rename to setup/hiero/hiero_plugin_path/Icons/resolution.png diff --git a/setup/nukestudio/hiero_plugin_path/Icons/resolution.psd b/setup/hiero/hiero_plugin_path/Icons/resolution.psd similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Icons/resolution.psd rename to setup/hiero/hiero_plugin_path/Icons/resolution.psd diff --git a/setup/nukestudio/hiero_plugin_path/Icons/retiming.png b/setup/hiero/hiero_plugin_path/Icons/retiming.png similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Icons/retiming.png rename to setup/hiero/hiero_plugin_path/Icons/retiming.png diff --git a/setup/nukestudio/hiero_plugin_path/Icons/retiming.psd b/setup/hiero/hiero_plugin_path/Icons/retiming.psd similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Icons/retiming.psd rename to setup/hiero/hiero_plugin_path/Icons/retiming.psd diff --git a/setup/nukestudio/hiero_plugin_path/Icons/review.png b/setup/hiero/hiero_plugin_path/Icons/review.png similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Icons/review.png rename to setup/hiero/hiero_plugin_path/Icons/review.png diff --git a/setup/nukestudio/hiero_plugin_path/Icons/review.psd b/setup/hiero/hiero_plugin_path/Icons/review.psd similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Icons/review.psd rename to setup/hiero/hiero_plugin_path/Icons/review.psd diff --git a/setup/nukestudio/hiero_plugin_path/Icons/volume.png b/setup/hiero/hiero_plugin_path/Icons/volume.png similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Icons/volume.png rename to setup/hiero/hiero_plugin_path/Icons/volume.png diff --git a/setup/nukestudio/hiero_plugin_path/Icons/z_layer_bg.png b/setup/hiero/hiero_plugin_path/Icons/z_layer_bg.png similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Icons/z_layer_bg.png rename to setup/hiero/hiero_plugin_path/Icons/z_layer_bg.png diff --git a/setup/nukestudio/hiero_plugin_path/Icons/z_layer_fg.png b/setup/hiero/hiero_plugin_path/Icons/z_layer_fg.png similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Icons/z_layer_fg.png rename to setup/hiero/hiero_plugin_path/Icons/z_layer_fg.png diff --git a/setup/nukestudio/hiero_plugin_path/Icons/z_layer_main.png b/setup/hiero/hiero_plugin_path/Icons/z_layer_main.png similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Icons/z_layer_main.png rename to setup/hiero/hiero_plugin_path/Icons/z_layer_main.png diff --git a/setup/nukestudio/hiero_plugin_path/Python/Startup/SpreadsheetExport.py b/setup/hiero/hiero_plugin_path/Python/Startup/SpreadsheetExport.py similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Python/Startup/SpreadsheetExport.py rename to setup/hiero/hiero_plugin_path/Python/Startup/SpreadsheetExport.py diff --git a/setup/hiero/hiero_plugin_path/Python/Startup/Startup.py b/setup/hiero/hiero_plugin_path/Python/Startup/Startup.py new file mode 100644 index 0000000000..003d7959c5 --- /dev/null +++ b/setup/hiero/hiero_plugin_path/Python/Startup/Startup.py @@ -0,0 +1,19 @@ +import traceback + +# activate hiero from pype +import avalon.api +import pype.hosts.hiero +avalon.api.install(pype.hosts.hiero) + +try: + __import__("pype.hosts.hiero") + __import__("pyblish") + +except ImportError as e: + print traceback.format_exc() + print("pyblish: Could not load integration: %s " % e) + +else: + # Setup integration + import pype.hosts.hiero.lib + pype.hosts.hiero.lib.setup() diff --git a/setup/nukestudio/hiero_plugin_path/Python/Startup/otioexporter/OTIOExportTask.py b/setup/hiero/hiero_plugin_path/Python/Startup/otioexporter/OTIOExportTask.py similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Python/Startup/otioexporter/OTIOExportTask.py rename to setup/hiero/hiero_plugin_path/Python/Startup/otioexporter/OTIOExportTask.py diff --git a/setup/nukestudio/hiero_plugin_path/Python/Startup/otioexporter/OTIOExportUI.py b/setup/hiero/hiero_plugin_path/Python/Startup/otioexporter/OTIOExportUI.py similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Python/Startup/otioexporter/OTIOExportUI.py rename to setup/hiero/hiero_plugin_path/Python/Startup/otioexporter/OTIOExportUI.py diff --git a/setup/nukestudio/hiero_plugin_path/Python/Startup/otioexporter/__init__.py b/setup/hiero/hiero_plugin_path/Python/Startup/otioexporter/__init__.py similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Python/Startup/otioexporter/__init__.py rename to setup/hiero/hiero_plugin_path/Python/Startup/otioexporter/__init__.py diff --git a/setup/nukestudio/hiero_plugin_path/Python/Startup/project_helpers.py b/setup/hiero/hiero_plugin_path/Python/Startup/project_helpers.py similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Python/Startup/project_helpers.py rename to setup/hiero/hiero_plugin_path/Python/Startup/project_helpers.py diff --git a/setup/nukestudio/hiero_plugin_path/Python/Startup/selection_tracker.py b/setup/hiero/hiero_plugin_path/Python/Startup/selection_tracker.py similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Python/Startup/selection_tracker.py rename to setup/hiero/hiero_plugin_path/Python/Startup/selection_tracker.py diff --git a/setup/nukestudio/hiero_plugin_path/Python/Startup/setFrameRate.py b/setup/hiero/hiero_plugin_path/Python/Startup/setFrameRate.py similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Python/Startup/setFrameRate.py rename to setup/hiero/hiero_plugin_path/Python/Startup/setFrameRate.py diff --git a/setup/nukestudio/hiero_plugin_path/Python/Startup/version_everywhere.py b/setup/hiero/hiero_plugin_path/Python/Startup/version_everywhere.py similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Python/Startup/version_everywhere.py rename to setup/hiero/hiero_plugin_path/Python/Startup/version_everywhere.py diff --git a/setup/nukestudio/hiero_plugin_path/Python/StartupUI/PimpMySpreadsheet.py b/setup/hiero/hiero_plugin_path/Python/StartupUI/PimpMySpreadsheet.py similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Python/StartupUI/PimpMySpreadsheet.py rename to setup/hiero/hiero_plugin_path/Python/StartupUI/PimpMySpreadsheet.py diff --git a/setup/nukestudio/hiero_plugin_path/Python/StartupUI/Purge.py b/setup/hiero/hiero_plugin_path/Python/StartupUI/Purge.py similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Python/StartupUI/Purge.py rename to setup/hiero/hiero_plugin_path/Python/StartupUI/Purge.py diff --git a/setup/nukestudio/hiero_plugin_path/Python/StartupUI/nukeStyleKeyboardShortcuts.py b/setup/hiero/hiero_plugin_path/Python/StartupUI/nukeStyleKeyboardShortcuts.py similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Python/StartupUI/nukeStyleKeyboardShortcuts.py rename to setup/hiero/hiero_plugin_path/Python/StartupUI/nukeStyleKeyboardShortcuts.py diff --git a/setup/nukestudio/hiero_plugin_path/Python/StartupUI/otioimporter/OTIOImport.py b/setup/hiero/hiero_plugin_path/Python/StartupUI/otioimporter/OTIOImport.py similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Python/StartupUI/otioimporter/OTIOImport.py rename to setup/hiero/hiero_plugin_path/Python/StartupUI/otioimporter/OTIOImport.py diff --git a/setup/nukestudio/hiero_plugin_path/Python/StartupUI/otioimporter/__init__.py b/setup/hiero/hiero_plugin_path/Python/StartupUI/otioimporter/__init__.py similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Python/StartupUI/otioimporter/__init__.py rename to setup/hiero/hiero_plugin_path/Python/StartupUI/otioimporter/__init__.py diff --git a/setup/nukestudio/hiero_plugin_path/Python/StartupUI/setPosterFrame.py b/setup/hiero/hiero_plugin_path/Python/StartupUI/setPosterFrame.py similarity index 100% rename from setup/nukestudio/hiero_plugin_path/Python/StartupUI/setPosterFrame.py rename to setup/hiero/hiero_plugin_path/Python/StartupUI/setPosterFrame.py diff --git a/setup/nukestudio/hiero_plugin_path/TaskPresets/11.2/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml b/setup/hiero/hiero_plugin_path/TaskPresets/10.5/Processors/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml similarity index 99% rename from setup/nukestudio/hiero_plugin_path/TaskPresets/11.2/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml rename to setup/hiero/hiero_plugin_path/TaskPresets/10.5/Processors/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml index e24a4dbe4e..690820c788 100644 --- a/setup/nukestudio/hiero_plugin_path/TaskPresets/11.2/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml +++ b/setup/hiero/hiero_plugin_path/TaskPresets/10.5/Processors/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml @@ -1,6 +1,6 @@ 991 - //10.11.0.184/171001_ftrack/tgbvfx/editorial/nukestudio/workspace/ + //10.11.0.184/171001_ftrack/tgbvfx/editorial/hiero/workspace/ 1 True 3 diff --git a/setup/nukestudio/hiero_plugin_path/TaskPresets/10.5/Processors/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml b/setup/hiero/hiero_plugin_path/TaskPresets/11.1/Processors/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml similarity index 99% rename from setup/nukestudio/hiero_plugin_path/TaskPresets/10.5/Processors/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml rename to setup/hiero/hiero_plugin_path/TaskPresets/11.1/Processors/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml index e24a4dbe4e..690820c788 100644 --- a/setup/nukestudio/hiero_plugin_path/TaskPresets/10.5/Processors/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml +++ b/setup/hiero/hiero_plugin_path/TaskPresets/11.1/Processors/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml @@ -1,6 +1,6 @@ 991 - //10.11.0.184/171001_ftrack/tgbvfx/editorial/nukestudio/workspace/ + //10.11.0.184/171001_ftrack/tgbvfx/editorial/hiero/workspace/ 1 True 3 diff --git a/setup/nukestudio/hiero_plugin_path/TaskPresets/11.1/Processors/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml b/setup/hiero/hiero_plugin_path/TaskPresets/11.2/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml similarity index 99% rename from setup/nukestudio/hiero_plugin_path/TaskPresets/11.1/Processors/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml rename to setup/hiero/hiero_plugin_path/TaskPresets/11.2/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml index e24a4dbe4e..690820c788 100644 --- a/setup/nukestudio/hiero_plugin_path/TaskPresets/11.1/Processors/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml +++ b/setup/hiero/hiero_plugin_path/TaskPresets/11.2/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml @@ -1,6 +1,6 @@ 991 - //10.11.0.184/171001_ftrack/tgbvfx/editorial/nukestudio/workspace/ + //10.11.0.184/171001_ftrack/tgbvfx/editorial/hiero/workspace/ 1 True 3 diff --git a/setup/nukestudio/hiero_plugin_path/Python/Startup/Startup.py b/setup/nukestudio/hiero_plugin_path/Python/Startup/Startup.py deleted file mode 100644 index e5c5729e2c..0000000000 --- a/setup/nukestudio/hiero_plugin_path/Python/Startup/Startup.py +++ /dev/null @@ -1,19 +0,0 @@ -import traceback - -# activate nukestudio from pype -import avalon.api -import pype.hosts.nukestudio -avalon.api.install(pype.hosts.nukestudio) - -try: - __import__("pype.hosts.nukestudio") - __import__("pyblish") - -except ImportError as e: - print traceback.format_exc() - print("pyblish: Could not load integration: %s " % e) - -else: - # Setup integration - import pype.hosts.nukestudio.lib - pype.hosts.nukestudio.lib.setup()