mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 13:24:54 +01:00
24 lines
672 B
Python
24 lines
672 B
Python
import avalon.maya
|
|
|
|
|
|
class CreateModel(avalon.maya.Creator):
|
|
"""Polygonal static geometry"""
|
|
|
|
name = "modelMain"
|
|
label = "Model"
|
|
family = "model"
|
|
icon = "cube"
|
|
defaults = ["Main", "Proxy", "_MD", "_HD", "_LD"]
|
|
|
|
def __init__(self, *args, **kwargs):
|
|
super(CreateModel, self).__init__(*args, **kwargs)
|
|
|
|
# Vertex colors with the geometry
|
|
self.data["writeColorSets"] = False
|
|
|
|
# Include attributes by attribute name or prefix
|
|
self.data["attr"] = ""
|
|
self.data["attrPrefix"] = ""
|
|
|
|
# Whether to include parent hierarchy of nodes in the instance
|
|
self.data["includeParentHierarchy"] = False
|