add extract model and extract max scene

This commit is contained in:
Kayla Man 2023-12-08 00:47:09 +08:00
parent b48253739a
commit d9b18cc0f9
3 changed files with 78 additions and 0 deletions

View file

@ -71,6 +71,16 @@
"enabled": false,
"optional": true,
"active": true
},
"ExtractModel": {
"enabled": true,
"optional": true,
"active": true
},
"ExtractMaxSceneRaw": {
"enabled": true,
"optional": true,
"active": true
}
}
}

View file

@ -165,6 +165,56 @@
"label": "Active"
}
]
},
{
"type": "dict",
"collapsible": true,
"checkbox_key": "enabled",
"key": "ExtractModel",
"label": "Extract Geometry (Alembic)",
"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": "ExtractMaxSceneRaw",
"label": "Extract Max Scene (Raw)",
"is_group": true,
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
},
{
"type": "boolean",
"key": "optional",
"label": "Optional"
},
{
"type": "boolean",
"key": "active",
"label": "Active"
}
]
}
]
}

View file

@ -81,6 +81,14 @@ class PublishersModel(BaseSettingsModel):
default_factory=BasicValidateModel,
title="Extract Geometry (USD)"
)
ExtractModel: BasicValidateModel = Field(
default_factory=BasicValidateModel,
title="Extract Geometry (Alembic)"
)
ExtractMaxSceneRaw: BasicValidateModel = Field(
default_factory=BasicValidateModel,
title="Extract Max Scene (Raw)"
)
DEFAULT_PUBLISH_SETTINGS = {
@ -112,5 +120,15 @@ DEFAULT_PUBLISH_SETTINGS = {
"enabled": False,
"optional": True,
"active": True
},
"ExtractModel": {
"enabled": False,
"optional": True,
"active": True
},
"ExtractMaxSceneRaw": {
"enabled": True,
"optional": True,
"active": True
}
}