Skip to content

load_trackpoints

TrackPointsLoader

Bases: SilhouetteImportLoader

Load track points.

Source code in client/ayon_silhouette/plugins/load/load_trackpoints.py
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
class TrackPointsLoader(plugin.SilhouetteImportLoader):
    """Load track points."""

    color = "orange"
    product_types = {"trackpoints"}
    icon = "code-fork"
    label = "Load Trackers"
    order = -5
    representations = {"*"}
    extensions = {"txt"}

    io_module = "After Effects Corner-Pin"
    # TODO: Support "Nuke"           # .nk
    # TODO: Support "Nuke 5"         # .nk
    # TODO: Support "Shake"          # .txt
    # TODO: Support "Simple Format"  # .txt

    def can_import_to_node(self, node) -> bool:
        if not super().can_import_to_node(node):
            return False

        return node.supportsChildType("Tracker")