Skip to content

Commit 121ec3e

Browse files
Integrate the Automotive tools to Basic Config (#80)
* use a forked version of the Publisher because this version as Alias and VRED file types * add Alias integrations to basic config * use the latest version of Alias engine * rename translation published file type to use the default name * rename translation published file type to use the default name * add Alias engine to the site context; add VRED engine to site and project context * use the latest version of tk-multi-publish2 * fix app name * use the latest version of tk-vred * fix catpart default value * [SHOT-3056] Add start_version_control publish plugin to VRED engine (#1) * use the right version of VRED engine * add the new publish plugin * use the latest version of tk-multi-publish2 * use the latest version of VRED engine * update Alias and VRED engines to the latest version * add plugin to publish renderings * update Alias and VRED to the latest version * import VRED scene instead of loading them * update Alias and VRED engines to their latest version * fix bug: bad engine name * fix typo * update Alias engine to the latest version
1 parent d5fbfcc commit 121ec3e

File tree

10 files changed

+424
-0
lines changed

10 files changed

+424
-0
lines changed

env/includes/alias/apps.yml

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
# Copyright (c) 2017 Shotgun Software Inc.
2+
#
3+
# CONFIDENTIAL AND PROPRIETARY
4+
#
5+
# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit
6+
# Source Code License included in this distribution package. See LICENSE.
7+
# By accessing, using, copying or modifying this work you indicate your
8+
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
9+
# not expressly granted therein are reserved by Shotgun Software Inc.
10+
#
11+
12+
# this include configuration defines the common apps of the Alias Integration when it
13+
# is running in either its project or asset level configuration
14+
15+
includes:
16+
- ../common/apps.yml
17+
- ../common/settings/tk-multi-publish2.yml
18+
19+
alias.apps.tk-multi-publish2:
20+
help_url: "@common.apps.tk-multi-publish2.help_url"
21+
collector: "{self}/collector.py:{engine}/tk-multi-publish2/basic/collector.py"
22+
publish_plugins:
23+
- '@common.settings.tk-multi-publish2.publish_file'
24+
- '@common.settings.tk-multi-publish2.upload_version'
25+
- name: Begin file versioning
26+
hook: "{engine}/tk-multi-publish2/basic/start_version_control.py"
27+
settings: {}
28+
- name: Publish to Shotgun
29+
hook: "{self}/publish_file.py:{engine}/tk-multi-publish2/basic/publish_session.py"
30+
settings: {}
31+
location: "@common.apps.tk-multi-publish2.location"
32+
33+
alias.apps.tk-multi-loader2:
34+
action_mappings:
35+
Alias File: [import]
36+
Wref File: [reference]
37+
Igs File: [import]
38+
Stp File: [import]
39+
Stl File: [import]
40+
Jt File: [import]
41+
Catpart File: [import]
42+
Fbx File: [import]
43+
Image: [texture_node]
44+
Photoshop Image: [texture_node]
45+
actions_hook: "{engine}/tk-multi-loader2/basic/scene_actions.py"
46+
entities:
47+
- caption: Current Project
48+
type: Hierarchy
49+
root: "{context.project}"
50+
publish_filters: []
51+
- caption: My Tasks
52+
type: Query
53+
entity_type: Task
54+
filters:
55+
- [project, is, '{context.project}']
56+
- [task_assignees, is, '{context.user}']
57+
hierarchy: [entity, content]
58+
# ignore publishes without a status. with zero config, it is very easy
59+
# to publish the same path multiple times. the default zero config publish
60+
# plugins will clear the status of previous publishes of the same path.
61+
# this filter means only the latest publish will be displayed.
62+
publish_filters: [["sg_status_list", "is_not", null]]
63+
location: "@common.apps.tk-multi-loader2.location"
64+
65+
alias.apps.tk-multi-shotgunpanel:
66+
actions_hook: "{engine}/tk-multi-shotgunpanel/basic/scene_actions.py"
67+
action_mappings:
68+
PublishedFile:
69+
- actions: [import]
70+
filters: {published_file_type: Alias File}
71+
- actions: [reference]
72+
filters: {published_file_type: Wref File}
73+
- actions: [import]
74+
filters: {published_file_type: Igs File}
75+
- actions: [import]
76+
filters: {published_file_type: Stp File}
77+
- actions: [import]
78+
filters: {published_file_type: Stl File}
79+
- actions: [import]
80+
filters: {published_file_type: Jt File}
81+
- actions: [import]
82+
filters: {published_file_type: Catpart File}
83+
- actions: [import]
84+
filters: {published_file_type: Fbx File}
85+
- actions: [texture_node]
86+
filters: {published_file_type: Image}
87+
- actions: [texture_node]
88+
filters: {published_file_type: Photoshop Image}
89+
- actions: [publish_clipboard]
90+
filters: {}
91+
Task:
92+
- actions: [assign_task, task_to_ip]
93+
filters: {}
94+
Version:
95+
- actions: [quicktime_clipboard, sequence_clipboard, add_to_playlist]
96+
filters: {}
97+
enable_context_switch: true
98+
location: "@common.apps.tk-multi-shotgunpanel.location"
99+

env/includes/alias/project.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Copyright (c) 2016 Shotgun Software Inc.
2+
#
3+
# CONFIDENTIAL AND PROPRIETARY
4+
#
5+
# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit
6+
# Source Code License included in this distribution package. See LICENSE.
7+
# By accessing, using, copying or modifying this work you indicate your
8+
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
9+
# not expressly granted therein are reserved by Shotgun Software Inc.
10+
#
11+
12+
# this configuration defines the behavior of the Alias Integration when it
13+
# is running in its project level configuration
14+
15+
includes:
16+
- ../common/engines.yml
17+
- ../common/apps.yml
18+
- apps.yml
19+
20+
21+
alias.project:
22+
apps:
23+
tk-multi-about: '@common.apps.tk-multi-about'
24+
25+
tk-multi-publish2: '@alias.apps.tk-multi-publish2'
26+
27+
tk-multi-loader2: '@alias.apps.tk-multi-loader2'
28+
29+
tk-multi-shotgunpanel: '@alias.apps.tk-multi-shotgunpanel'
30+
31+
location: "@common.engines.tk-alias.location"
32+
menu_favourites: []
33+
run_at_startup:
34+
- {app_instance: tk-multi-shotgunpanel, name: ''}
35+
launch_builtin_plugins: [basic]
36+
automatic_context_switch: false

env/includes/alias/site.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Copyright (c) 2016 Shotgun Software Inc.
2+
#
3+
# CONFIDENTIAL AND PROPRIETARY
4+
#
5+
# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit
6+
# Source Code License included in this distribution package. See LICENSE.
7+
# By accessing, using, copying or modifying this work you indicate your
8+
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
9+
# not expressly granted therein are reserved by Shotgun Software Inc.
10+
#
11+
12+
# this configuration defines the behavior of the Alias Integration when it
13+
# is running in its site level configuration
14+
15+
includes:
16+
- ../common/engines.yml
17+
- ../common/apps.yml
18+
- apps.yml
19+
20+
alias.site:
21+
apps:
22+
23+
tk-multi-about: '@common.apps.tk-multi-about'
24+
25+
tk-multi-loader2:
26+
action_mappings:
27+
Alias File: [import]
28+
Wref File: [reference]
29+
Igs File: [import]
30+
Stp File: [import]
31+
Stl File: [import]
32+
Jt File: [import]
33+
Catpart File: [import]
34+
Fbx File: [import]
35+
Image: [texture_node]
36+
Photoshop Image: [texture_node]
37+
actions_hook: "{engine}/tk-multi-loader2/basic/scene_actions.py"
38+
entities:
39+
- caption: Project
40+
type: Hierarchy
41+
root:
42+
publish_filters: []
43+
- caption: My Tasks
44+
type: Query
45+
entity_type: Task
46+
filters:
47+
- [task_assignees, is, '{context.user}']
48+
hierarchy: [project, entity, content]
49+
# ignore publishes without a status. with zero config, it is very easy
50+
# to publish the same path multiple times. the default zero config publish
51+
# plugins will clear the status of previous publishes of the same path.
52+
# this filter means only the latest publish will be displayed.
53+
publish_filters: [["sg_status_list", "is_not", null]]
54+
location: "@common.apps.tk-multi-loader2.location"
55+
56+
tk-multi-shotgunpanel: '@alias.apps.tk-multi-shotgunpanel'
57+
58+
location: "@common.engines.tk-alias.location"
59+
menu_favourites: []
60+
run_at_startup:
61+
- {app_instance: tk-multi-shotgunpanel, name: ''}
62+
launch_builtin_plugins: [basic]
63+
automatic_context_switch: false
64+
65+

env/includes/common/engines.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,18 @@ common.engines.tk-flame.location:
5353
name: tk-flame
5454
version: v1.15.5
5555

56+
# Alias
57+
common.engines.tk-alias.location:
58+
type: app_store
59+
name: tk-alias
60+
version: v2.0.4
61+
62+
# VRED
63+
common.engines.tk-vred.location:
64+
type: app_store
65+
name: tk-vred
66+
version: v2.0.2
67+
5668
# Desktop
5769
common.engines.tk-desktop.location:
5870
type: app_store

env/includes/desktop/project.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,8 @@ desktop.project:
5757
- matches:
5858
- '*Hiero*'
5959
name: Editorial Tools
60+
- matches:
61+
- '*Alias*'
62+
- '*VRED*'
63+
name: Automotive Tools
6064
location: "@common.engines.tk-desktop.location"

env/includes/vred/apps.yml

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
# Copyright (c) 2017 Shotgun Software Inc.
2+
#
3+
# CONFIDENTIAL AND PROPRIETARY
4+
#
5+
# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit
6+
# Source Code License included in this distribution package. See LICENSE.
7+
# By accessing, using, copying or modifying this work you indicate your
8+
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
9+
# not expressly granted therein are reserved by Shotgun Software Inc.
10+
#
11+
12+
# this include configuration defines the common apps of the VRED Integration when it
13+
# is running in either its project or asset level configuration
14+
15+
includes:
16+
- ../common/apps.yml
17+
- ../common/settings/tk-multi-publish2.yml
18+
19+
vred.apps.tk-multi-publish2:
20+
help_url: "@common.apps.tk-multi-publish2.help_url"
21+
collector: "{self}/collector.py:{engine}/tk-multi-publish2/basic/collector.py"
22+
publish_plugins:
23+
- '@common.settings.tk-multi-publish2.publish_file'
24+
- '@common.settings.tk-multi-publish2.upload_version'
25+
- name: Begin file versioning
26+
hook: "{engine}/tk-multi-publish2/basic/start_version_control.py"
27+
settings: {}
28+
- name: Publish to Shotgun
29+
hook: "{self}/publish_file.py:{engine}/tk-multi-publish2/basic/publish_session.py"
30+
settings: {}
31+
- name: Publish Rendering to Shotgun
32+
hook: "{self}/publish_file.py:{engine}/tk-multi-publish2/basic/publish_rendering.py"
33+
settings: {}
34+
- name: Upload for review
35+
hook: "{self}/upload_version.py:{engine}/tk-multi-publish2/basic/upload_version.py"
36+
settings: {}
37+
location: "@common.apps.tk-multi-publish2.location"
38+
39+
vred.apps.tk-multi-loader2:
40+
action_mappings:
41+
Alias File: [import]
42+
Igs File: [import]
43+
Stp File: [import]
44+
Stl File: [import]
45+
Jt File: [import]
46+
Catpart File: [import]
47+
Fbx File: [import]
48+
VRED Scene: [import]
49+
Osb File: [import]
50+
actions_hook: "{engine}/tk-multi-loader2/basic/scene_actions.py"
51+
entities:
52+
- caption: Current Project
53+
type: Hierarchy
54+
root: "{context.project}"
55+
publish_filters: []
56+
- caption: My Tasks
57+
type: Query
58+
entity_type: Task
59+
filters:
60+
- [project, is, '{context.project}']
61+
- [task_assignees, is, '{context.user}']
62+
hierarchy: [entity, content]
63+
# ignore publishes without a status. with zero config, it is very easy
64+
# to publish the same path multiple times. the default zero config publish
65+
# plugins will clear the status of previous publishes of the same path.
66+
# this filter means only the latest publish will be displayed.
67+
publish_filters: [["sg_status_list", "is_not", null]]
68+
location: "@common.apps.tk-multi-loader2.location"
69+
70+
vred.apps.tk-multi-shotgunpanel:
71+
actions_hook: "{engine}/tk-multi-shotgunpanel/basic/scene_actions.py"
72+
action_mappings:
73+
PublishedFile:
74+
- actions: [import]
75+
filters: {published_file_type: Alias File}
76+
- actions: [import]
77+
filters: {published_file_type: Igs File}
78+
- actions: [import]
79+
filters: {published_file_type: Stp File}
80+
- actions: [import]
81+
filters: {published_file_type: Stl File}
82+
- actions: [import]
83+
filters: {published_file_type: Jt File}
84+
- actions: [import]
85+
filters: {published_file_type: Catpart File}
86+
- actions: [import]
87+
filters: {published_file_type: Fbx File}
88+
- actions: [load]
89+
filters: {published_file_type: VRED Scene}
90+
- actions: [import]
91+
filters: {published_file_type: Osb File}
92+
- actions: [publish_clipboard]
93+
filters: {}
94+
Task:
95+
- actions: [assign_task, task_to_ip]
96+
filters: {}
97+
Version:
98+
- actions: [quicktime_clipboard, sequence_clipboard, add_to_playlist]
99+
filters: {}
100+
location: "@common.apps.tk-multi-shotgunpanel.location"

env/includes/vred/project.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Copyright (c) 2016 Shotgun Software Inc.
2+
#
3+
# CONFIDENTIAL AND PROPRIETARY
4+
#
5+
# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit
6+
# Source Code License included in this distribution package. See LICENSE.
7+
# By accessing, using, copying or modifying this work you indicate your
8+
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
9+
# not expressly granted therein are reserved by Shotgun Software Inc.
10+
#
11+
12+
# this configuration defines the behavior of the VRED Integration when it
13+
# is running in its project level configuration
14+
15+
includes:
16+
- ../common/engines.yml
17+
- ../common/apps.yml
18+
- apps.yml
19+
20+
21+
vred.project:
22+
apps:
23+
tk-multi-about: '@common.apps.tk-multi-about'
24+
25+
tk-multi-publish2: '@vred.apps.tk-multi-publish2'
26+
27+
tk-multi-loader2: '@vred.apps.tk-multi-loader2'
28+
29+
tk-multi-shotgunpanel: '@vred.apps.tk-multi-shotgunpanel'
30+
31+
location: "@common.engines.tk-vred.location"
32+
menu_favourites: []
33+
run_at_startup:
34+
- {app_instance: tk-multi-shotgunpanel, name: ''}
35+
launch_builtin_plugins: [basic]
36+
automatic_context_switch: false

0 commit comments

Comments
 (0)