mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
updated families to have abbreviation attribute
This commit is contained in:
parent
6d7262d26b
commit
c2cb08df83
6 changed files with 22 additions and 10 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import tempfile
|
||||
import pyblish.api
|
||||
import avalon.maya
|
||||
|
||||
|
||||
ValidatePipelineOrder = pyblish.api.ValidatorOrder + 0.05
|
||||
|
|
@ -8,6 +9,11 @@ ValidateSceneOrder = pyblish.api.ValidatorOrder + 0.2
|
|||
ValidateMeshOrder = pyblish.api.ValidatorOrder + 0.3
|
||||
|
||||
|
||||
class Creator(avalon.maya.Creator):
|
||||
|
||||
abbreviation = ""
|
||||
|
||||
|
||||
class Extractor(pyblish.api.InstancePlugin):
|
||||
"""Extractor base class.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,14 +1,16 @@
|
|||
from collections import OrderedDict
|
||||
import avalon.maya
|
||||
|
||||
import colorbleed.plugin
|
||||
from colorbleed.maya import lib
|
||||
|
||||
|
||||
class CreateAnimation(avalon.maya.Creator):
|
||||
class CreateAnimation(colorbleed.plugin.Creator):
|
||||
"""THe animated objects in the scene"""
|
||||
|
||||
name = "animationDefault"
|
||||
label = "Animation"
|
||||
family = "colorbleed.animation"
|
||||
abbreviation = "anim"
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(CreateAnimation, self).__init__(*args, **kwargs)
|
||||
|
|
|
|||
|
|
@ -1,14 +1,15 @@
|
|||
from collections import OrderedDict
|
||||
import avalon.maya
|
||||
import colorbleed.plugin
|
||||
from colorbleed.maya import lib
|
||||
|
||||
|
||||
class CreateCamera(avalon.maya.Creator):
|
||||
class CreateCamera(colorbleed.plugin.Creator):
|
||||
"""Single baked camera extraction"""
|
||||
|
||||
name = "cameraDefault"
|
||||
label = "Camera"
|
||||
family = "colorbleed.camera"
|
||||
abbreviation = "cam"
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(CreateCamera, self).__init__(*args, **kwargs)
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
import avalon.maya
|
||||
import colorbleed.plugin
|
||||
|
||||
|
||||
class CreateGroom(avalon.maya.Creator):
|
||||
class CreateGroom(colorbleed.plugin.Creator):
|
||||
"""Hair / fur definition for an asset"""
|
||||
|
||||
name = "groomDefault"
|
||||
label = "Groom"
|
||||
family = "colorbleed.groom"
|
||||
abbreviation = "groom"
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
import avalon.maya
|
||||
import colorbleed.plugin
|
||||
|
||||
|
||||
class CreateInstance(avalon.maya.Creator):
|
||||
class CreateInstance(colorbleed.plugin.Creator):
|
||||
"""Maya instancer using cached particles"""
|
||||
|
||||
name = "instanceDefault"
|
||||
label = "Instance"
|
||||
family = "colorbleed.instance"
|
||||
abbreviation = "inst"
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
import avalon.maya
|
||||
import colorbleed.plugin
|
||||
|
||||
|
||||
class CreateMayaAscii(avalon.maya.Creator):
|
||||
class CreateMayaAscii(colorbleed.plugin.Creator):
|
||||
"""Raw Maya Ascii file of the item(s)"""
|
||||
|
||||
name = "mayaAscii"
|
||||
label = "Maya Ascii"
|
||||
family = "colorbleed.mayaAscii"
|
||||
abbreviation = "ascii"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue