Skip to content

Commit ec41d8b

Browse files
After Effects and Photoshop (#70)
- Adds After Effects Integration - Adds new Adobe Framework - Upgrades to a new Photoshop engine which uses the Adobe Framework.
1 parent 2f0ce7c commit ec41d8b

File tree

10 files changed

+244
-1
lines changed

10 files changed

+244
-1
lines changed

env/includes/aftereffects/apps.yml

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
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 app behavior of the Photoshop Integration
13+
# when it is running at various levels of configuration
14+
15+
includes:
16+
- ../common/apps.yml
17+
- ../common/settings/tk-multi-publish2.yml
18+
19+
20+
aftereffects.apps.tk-multi-publish2:
21+
help_url: "@common.apps.tk-multi-publish2.help_url"
22+
collector: "{self}/collector.py:{engine}/tk-multi-publish2/basic/collector.py"
23+
publish_plugins:
24+
- "@common.settings.tk-multi-publish2.publish_file"
25+
- "@common.settings.tk-multi-publish2.upload_version"
26+
- name: Begin file versioning
27+
hook: "{engine}/tk-multi-publish2/basic/start_version_control.py"
28+
settings: {}
29+
- name: Publish Renderings to Shotgun
30+
hook: "{self}/publish_file.py:{engine}/tk-multi-publish2/basic/publish_rendering.py"
31+
settings: {}
32+
- name: Publish to Shotgun
33+
hook: "{self}/publish_file.py:{engine}/tk-multi-publish2/basic/publish_document.py"
34+
settings: {}
35+
- name: Upload for review
36+
hook: "{self}/upload_version.py:{engine}/tk-multi-publish2/basic/upload_version.py"
37+
settings:
38+
Movie Output Module: Lossless with Alpha
39+
location: "@common.apps.tk-multi-publish2.location"
40+
41+
aftereffects.apps.tk-multi-loader2:
42+
action_mappings:
43+
After Effects Project: [add_to_project, add_to_comp]
44+
Maya Scene: [add_to_project, add_to_comp]
45+
Photoshop Image: [add_to_project, add_to_comp]
46+
Rendered Image: [add_to_project, add_to_comp]
47+
Image: [add_to_project, add_to_comp]
48+
Texture: [add_to_project, add_to_comp]
49+
actions_hook: "{engine}/tk-multi-loader2/basic/scene_actions.py"
50+
entities:
51+
- caption: Current Project
52+
type: Hierarchy
53+
root: "{context.project}"
54+
publish_filters: []
55+
- caption: My Tasks
56+
type: Query
57+
entity_type: Task
58+
filters:
59+
- [project, is, "{context.project}"]
60+
- [task_assignees, is, "{context.user}"]
61+
hierarchy: [entity, content]
62+
# ignore publishes without a status. with zero config, it is very easy
63+
# to publish the same path multiple times. the default zero config publish
64+
# plugins will clear the status of previous publishes of the same path.
65+
# this filter means only the latest publish will be displayed.
66+
publish_filters: [["sg_status_list", "is_not", null]]
67+
location: "@common.apps.tk-multi-loader2.location"
68+
69+
aftereffects.apps.tk-multi-shotgunpanel:
70+
shotgun_fields_hook: "{self}/shotgun_fields.py"
71+
actions_hook: "{engine}/tk-multi-shotgunpanel/basic/scene_actions.py"
72+
action_mappings:
73+
PublishedFile:
74+
- actions: [add_to_project, add_to_comp]
75+
filters: {published_file_type: After Effects Project}
76+
- actions: [add_to_project, add_to_comp]
77+
filters: {published_file_type: Maya Scene}
78+
- actions: [add_to_project, add_to_comp]
79+
filters: {published_file_type: Photoshop Image}
80+
- actions: [add_to_project, add_to_comp]
81+
filters: {published_file_type: Rendered Image}
82+
- actions: [add_to_project, add_to_comp]
83+
filters: {published_file_type: Image}
84+
- actions: [add_to_project, add_to_comp]
85+
filters: {published_file_type: Texture}
86+
Task:
87+
- actions: [assign_task, task_to_ip]
88+
filters: {}
89+
Version:
90+
- actions: [quicktime_clipboard, sequence_clipboard, add_to_playlist]
91+
filters: {}
92+
enable_context_switch: true
93+
location: "@common.apps.tk-multi-shotgunpanel.location"
94+
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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 After Effects 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+
aftereffects.project:
22+
apps:
23+
tk-multi-about: "@common.apps.tk-multi-about"
24+
25+
tk-multi-pythonconsole: "@common.apps.tk-multi-pythonconsole"
26+
27+
tk-multi-publish2: "@aftereffects.apps.tk-multi-publish2"
28+
29+
tk-multi-loader2: "@aftereffects.apps.tk-multi-loader2"
30+
31+
tk-multi-shotgunpanel: "@aftereffects.apps.tk-multi-shotgunpanel"
32+
33+
shelf_favorites: []
34+
debug_logging: true
35+
location: "@common.engines.tk-aftereffects.location"
36+
automatic_context_switch: false
37+

env/includes/aftereffects/shot.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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 configuration defines the behavior of the After Effects Integration when it
13+
# is running in its shot level configuration
14+
15+
includes:
16+
- ../common/engines.yml
17+
- ../common/apps.yml
18+
- apps.yml
19+
20+
21+
aftereffects.shot:
22+
apps:
23+
tk-multi-about: "@common.apps.tk-multi-about"
24+
25+
tk-multi-pythonconsole: "@common.apps.tk-multi-pythonconsole"
26+
27+
tk-multi-publish2: "@aftereffects.apps.tk-multi-publish2"
28+
29+
tk-multi-loader2: "@aftereffects.apps.tk-multi-loader2"
30+
31+
tk-multi-shotgunpanel: "@aftereffects.apps.tk-multi-shotgunpanel"
32+
33+
shelf_favorites: []
34+
debug_logging: true
35+
location: "@common.engines.tk-aftereffects.location"
36+
automatic_context_switch: false
37+

env/includes/aftereffects/site.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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 After Effects 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+
aftereffects.site:
21+
apps:
22+
tk-multi-about: '@common.apps.tk-multi-about'
23+
24+
tk-multi-pythonconsole: '@common.apps.tk-multi-pythonconsole'
25+
26+
tk-multi-loader2:
27+
action_mappings:
28+
Photoshop Image: [add_as_a_layer, open_file]
29+
Rendered Image: [add_as_a_layer, open_file]
30+
Image: [add_as_a_layer, open_file]
31+
Texture: [add_as_a_layer, open_file]
32+
actions_hook: '{self}/tk-aftereffects_actions.py'
33+
entities:
34+
- caption: Project
35+
type: Hierarchy
36+
root:
37+
publish_filters: []
38+
- caption: My Tasks
39+
type: Query
40+
entity_type: Task
41+
filters:
42+
- [task_assignees, is, '{context.user}']
43+
hierarchy: [project, entity, content]
44+
# ignore publishes without a status. with zero config, it is very easy
45+
# to publish the same path multiple times. the default zero config publish
46+
# plugins will clear the status of previous publishes of the same path.
47+
# this filter means only the latest publish will be displayed.
48+
publish_filters: [["sg_status_list", "is_not", null]]
49+
location: "@common.apps.tk-multi-loader2.location"
50+
51+
tk-multi-shotgunpanel: '@aftereffects.apps.tk-multi-shotgunpanel'
52+
53+
shelf_favorites: []
54+
debug_logging: true
55+
location: "@common.engines.tk-aftereffects.location"
56+
automatic_context_switch: false

env/includes/common/engines.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,13 @@ common.engines.tk-nuke.location:
3939
common.engines.tk-photoshopcc.location:
4040
type: app_store
4141
name: tk-photoshopcc
42-
version: v1.6.3
42+
version: v1.7.1
43+
44+
# After Effects
45+
common.engines.tk-aftereffects.location:
46+
type: app_store
47+
name: tk-aftereffects
48+
version: v0.1.2
4349

4450
# Flame
4551
common.engines.tk-flame.location:

env/includes/common/frameworks.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
# all the frameworks required by the config are defined here.
1313

1414
frameworks:
15+
tk-framework-adobe_v1.x.x:
16+
location:
17+
type: app_store
18+
name: tk-framework-adobe
19+
version: v1.0.2
1520
tk-framework-qtwidgets_v2.x.x:
1621
location:
1722
version: v2.8.3

env/includes/desktop/project.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ desktop.project:
4949
- '*Motion*'
5050
- '*Nuke*'
5151
- '*Photoshop*'
52+
- '*After*'
53+
- '*Effects*'
5254
- 'CC*'
5355
- '*Softimage*'
5456
name: Creative Tools

env/project.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ includes:
2121
- includes/desktop2/all.yml
2222
- includes/shell/project.yml
2323
- includes/photoshopcc/project.yml
24+
- includes/aftereffects/project.yml
2425
- includes/3dsmax/project.yml
2526
- includes/shotgun/all.yml
2627

@@ -33,6 +34,7 @@ engines:
3334
tk-desktop2: '@desktop2.all'
3435
tk-shell: '@shell.project'
3536
tk-photoshopcc: '@photoshopcc.project'
37+
tk-aftereffects: '@aftereffects.project'
3638
tk-3dsmaxplus: '@3dsmax.project'
3739
tk-shotgun: '@shotgun.all'
3840
tk-flame: '@flame.project'

env/shot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ includes:
2020
- includes/flame/shot.yml
2121
- includes/shell/shot.yml
2222
- includes/photoshopcc/shot.yml
23+
- includes/aftereffects/shot.yml
2324
- includes/3dsmax/shot.yml
2425
- includes/shotgun/all.yml
2526

@@ -32,5 +33,6 @@ engines:
3233
tk-flame: '@flame.shot'
3334
tk-shell: '@shell.shot'
3435
tk-photoshopcc: '@photoshopcc.shot'
36+
tk-aftereffects: '@aftereffects.shot'
3537
tk-3dsmaxplus: '@3dsmax.shot'
3638
tk-shotgun: '@shotgun.all'

env/site.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ includes:
2121
- includes/desktop2/site.yml
2222
- includes/shell/site.yml
2323
- includes/photoshopcc/site.yml
24+
- includes/aftereffects/site.yml
2425
- includes/3dsmax/site.yml
2526
- includes/shotgun/all.yml
2627

@@ -33,6 +34,7 @@ engines:
3334
tk-desktop2: '@desktop2.site'
3435
tk-shell: '@shell.site'
3536
tk-photoshopcc: '@photoshopcc.site'
37+
tk-aftereffects: '@aftereffects.site'
3638
tk-3dsmaxplus: '@3dsmax.site'
3739
tk-shotgun: '@shotgun.all'
3840

0 commit comments

Comments
 (0)