You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user_docs/appendix/python_scripting.rst
+67-20Lines changed: 67 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,8 +33,30 @@ Some simple python scripts are included with the xSTUDIO source code. These can
33
33
API classes and methods include docstrings - query them using **help()** and **dir()**.
34
34
35
35
36
-
Python Examples
37
-
===============
36
+
Python Plugins
37
+
=================
38
+
39
+
xSTUDIO now provides a Python plugin API. The features of this API are still being expanded (Q2 2023) but it is ready to be used for some purposes. For example, it's possible to create Viewport overlay graphics, add menu items to some of xSTUDIO's menus that execute callback methods in your plugin. You can create attributes on your python plugin class instance that can be exposed in the QML UI layer to, for example, add buttons to the toolbar or launch fully customised QML interfaces.
40
+
41
+
To learn more about the plugin API we reccommend that you look at the examples available in the xSTUDIO source repository. These can be found in the **src/demos/python_plugins** subfolder. Note that the dnSetLoopRange is dependent on metadata that is specific to DNEG's pipeline but it is nevertheless commented for 3rd party users to refer to.
42
+
43
+
To 'install' Python plugins you simply need to copy your plugins to an appropriate location and set the 'XSTUDIO_PYTHON_PLUGIN_PATH' environment variable to point to this location before running the xstudio binary. Typically at a studio sys-admins would advise on this and set-up appropriate wrapper scripts for xSTUDIO that ensure your environment variables are set. However, it's also very straightforward for an individual user. The env var should be a colon separated list of file system paths that include the python-importable module folder of your plugin(s).
44
+
45
+
For example, let's say you have downloaded the xSTUDIO source repo to the a folder here /home/$USER/Dev/:
46
+
47
+
.. code-block:: bash
48
+
:caption: Install the demo plugins and launch xSTUDIO to test them
Aside from python 'plugins', which are essentially scripts that instance a custom plugin class to handle callbacks and manage certain typical communication with the core app, you also can do many things through straightforward scripts.
38
60
39
61
**Here's a really basic example that prints out all the media paths in your session.**
Copy file name to clipboardExpand all lines: docs/user_docs/overview.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ xSTUDIO is a media playback and review application designed for professionals wo
11
11
xSTUDIO is optimised to import and handle very large collections of media sources rapidly, loads specialised image formats and displays images with colour management. Users can quickly import, organise and group media into playlists and 'subsets', playing through and looping on media items and adding review notes and sketched annotations, allowing one to view the media in a highly interactive and collaborative way. This enables workflows that are essential for teams in VFX, animation and other post-production activities who need to see, on demand, the artwork that they and their colleagues are creating. For example one can jump between the viewed media source instantaneously, inspect pixels close-up, do frame-by-frame comparisons across multiple media sources, annotate the media with drawings and captions or add feedback notes to share.
12
12
13
13
14
-
Current Version: v0.9 (alpha) - Overview
14
+
Current Version: v0.10 (alpha) - Overview
15
15
*****************************************
16
16
17
17
This version of the application is a robust and high performance playback and review solution. xSTUDIO has been deployed at DNEG since September 2022 and is in daily use by thousands of VFX and Animation artists, supervisors and producers across our global teams to conduct image reviews.
@@ -46,7 +46,7 @@ Here are some key features for users that are available now:
46
46
5. 'Snapshot' button allows you to save an annotation to disk as a jpeg /tiff etc image.
47
47
- Navigate your media collection through the notes interface by jumping directly to bookmarked frames.
Copy file name to clipboardExpand all lines: docs/user_docs/release_notes/index.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ Release Notes
5
5
=============
6
6
7
7
==============
8
-
v0.9.0 (Alpha)
8
+
v0.10.0 (Alpha)
9
9
==============
10
10
11
11
This intial open source version of xSTUDIO should be considered as a 'preview' release as the development team get to grips with maintaining the code base on a public repo. There are still some major features under development so we expect some parts of the code to change and expand considerably.
0 commit comments