add the AYON/OP settings to enable extractor for model family in 3dsmax

This commit is contained in:
Kayla Man 2023-12-07 23:33:56 +08:00
parent e64f030a08
commit b48253739a
4 changed files with 120 additions and 1 deletions

View file

@ -56,6 +56,21 @@
"enabled": false,
"optional": true,
"family_plugins_mapping": []
},
"ExtractModelObj": {
"enabled": false,
"optional": true,
"active": true
},
"ExtractModelFbx": {
"enabled": false,
"optional": true,
"active": true
},
"ExtractModelUSD": {
"enabled": false,
"optional": true,
"active": true
}
}
}

View file

@ -90,6 +90,81 @@
}
}
]
},
{
"type": "dict",
"collapsible": true,
"checkbox_key": "enabled",
"key": "ExtractModelObj",
"label": "Extract Obj",
"is_group": true,
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
},
{
"type": "boolean",
"key": "optional",
"label": "Optional"
},
{
"type": "boolean",
"key": "active",
"label": "Active"
}
]
},
{
"type": "dict",
"collapsible": true,
"checkbox_key": "enabled",
"key": "ExtractModelFbx",
"label": "Extract FBX",
"is_group": true,
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
},
{
"type": "boolean",
"key": "optional",
"label": "Optional"
},
{
"type": "boolean",
"key": "active",
"label": "Active"
}
]
},
{
"type": "dict",
"collapsible": true,
"checkbox_key": "enabled",
"key": "ExtractModelUSD",
"label": "Extract Geometry (USD)",
"is_group": true,
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
},
{
"type": "boolean",
"key": "optional",
"label": "Optional"
},
{
"type": "boolean",
"key": "active",
"label": "Active"
}
]
}
]
}

View file

@ -68,6 +68,20 @@ class PublishersModel(BaseSettingsModel):
default_factory=ValidateLoadedPluginModel,
title="Validate Loaded Plugin"
)
ExtractModelObj: BasicValidateModel = Field(
default_factory=BasicValidateModel,
title="Extract OBJ",
section="Publishers"
)
ExtractModelFbx: BasicValidateModel = Field(
default_factory=BasicValidateModel,
title="Extract FBX"
)
ExtractModelUSD: BasicValidateModel = Field(
default_factory=BasicValidateModel,
title="Extract Geometry (USD)"
)
DEFAULT_PUBLISH_SETTINGS = {
"ValidateFrameRange": {
@ -83,5 +97,20 @@ DEFAULT_PUBLISH_SETTINGS = {
"enabled": False,
"optional": True,
"family_plugins_mapping": []
},
"ExtractModelObj": {
"enabled": False,
"optional": True,
"active": True
},
"ExtractModelFbx": {
"enabled": False,
"optional": True,
"active": True
},
"ExtractModelUSD": {
"enabled": False,
"optional": True,
"active": True
}
}

View file

@ -1 +1 @@
__version__ = "0.1.2"
__version__ = "0.1.3"