collect_shapes
Collect layers for shape export.
CollectShapes
Bases: InstancePlugin
Collect trackpoint data.
Source code in client/ayon_mocha/plugins/publish/collect_shapes.py
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
new_product_name(create_context, layer_name, product_type, product_base_type, variant) staticmethod
Return the new product name.
Source code in client/ayon_mocha/plugins/publish/collect_shapes.py
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | |
process(instance)
Process the instance.
Raises:
| Type | Description |
|---|---|
KnownPublishError | If layer mode is invalid. |
Source code in client/ayon_mocha/plugins/publish/collect_shapes.py
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
set_layer_data_on_instance(instance, layer) staticmethod
Set data on instance.
Source code in client/ayon_mocha/plugins/publish/collect_shapes.py
116 117 118 119 120 121 122 | |