omni.flux.validator.plugin.check.usd#
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- class omni.flux.validator.plugin.check.usd.extension.FluxValidatorPluginCheckUSDExtension#
Create Final Configuration
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- class omni.flux.validator.plugin.check.usd.ai.generate_pbr_material.GeneratePBRMaterial#
- pydantic model Data#
Show JSON schema
{ "title": "Data", "type": "object", "properties": { "on_progress_callback": { "default": null, "title": "On Progress Callback" }, "on_global_progress_callback": { "default": null, "title": "On Global Progress Callback" }, "data_flows": { "anyOf": [ { "items": { "$ref": "#/$defs/InOutDataFlow" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Data Flows" }, "channel": { "default": "Default", "title": "Channel", "type": "string" }, "expose_mass_ui": { "default": false, "title": "Expose Mass Ui", "type": "boolean" }, "expose_mass_queue_action_ui": { "default": false, "title": "Expose Mass Queue Action Ui", "type": "boolean" }, "cook_mass_template": { "default": false, "description": "Set this to true if you want the mass validator to use the plugin to cook the template", "title": "Cook Mass Template", "type": "boolean" }, "display_name_mass_template": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Name to show when we process a cooked template from mass processing", "title": "Display Name Mass Template" }, "display_name_mass_template_tooltip": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Tooltip to show when we process a cooked template from mass processing", "title": "Display Name Mass Template Tooltip" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "UUID of the plugin", "title": "Uuid" }, "progress": { "anyOf": [ { "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "number" }, { "type": "string" }, { "type": "boolean" } ], "type": "array" }, { "type": "null" } ], "default": [ 0.0, "Initializing", true ], "description": "Progress of the plugin", "title": "Progress" }, "global_progress_value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": 0.0, "description": "Global progress value of the plugin", "title": "Global Progress Value" }, "on_check_callback": { "default": null, "title": "On Check Callback" }, "on_fix_callback": { "default": null, "title": "On Fix Callback" }, "last_check_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Check Message" }, "last_check_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Check Data" }, "last_check_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Check Timing" }, "last_check_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Check Result" }, "last_fix_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Fix Message" }, "last_fix_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Fix Data" }, "last_fix_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Fix Timing" }, "last_fix_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Fix Result" }, "save_on_fix_failure": { "default": true, "title": "Save On Fix Failure", "type": "boolean" }, "context_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Context Name" }, "ai_model_artifact_path": { "format": "path", "title": "Ai Model Artifact Path", "type": "string" }, "config_artifact_path": { "format": "path", "title": "Config Artifact Path", "type": "string" }, "subdirectory_per_input": { "default": true, "title": "Subdirectory Per Input", "type": "boolean" }, "min_inference_resolution": { "default": 64, "title": "Min Inference Resolution", "type": "integer" }, "max_inference_resolution": { "default": 512, "title": "Max Inference Resolution", "type": "integer" }, "noise_level": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Noise Level" }, "denoising_steps": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Denoising Steps" }, "inference_mode": { "$ref": "#/$defs/InferenceMode", "default": "Quality" } }, "$defs": { "InOutDataFlow": { "additionalProperties": false, "properties": { "name": { "default": "InOutData", "title": "Name", "type": "string" }, "channel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "Default", "title": "Channel" }, "input_data": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Input Data" }, "push_input_data": { "default": false, "title": "Push Input Data", "type": "boolean" }, "output_data": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Output Data" }, "push_output_data": { "default": false, "title": "Push Output Data", "type": "boolean" } }, "title": "InOutDataFlow", "type": "object" }, "InferenceMode": { "enum": [ "Speed", "Quality" ], "title": "InferenceMode", "type": "string" } }, "additionalProperties": false, "required": [ "ai_model_artifact_path", "config_artifact_path" ] }
- Config:
extra: str = forbid
validate_assignment: bool = True
arbitrary_types_allowed: bool = True
- Fields:
ai_model_artifact_path (pathlib.Path)config_artifact_path (pathlib.Path)data_flows (list[omni.flux.validator.factory.data_flow.in_out_data.InOutDataFlow] | None)denoising_steps (int | None)inference_mode (omni.flux.validator.plugin.check.usd.ai.generate_pbr_material.InferenceMode)max_inference_resolution (int)min_inference_resolution (int)noise_level (float | None)subdirectory_per_input (bool)
- Validators:
_fire_global_progress_value_callback»global_progress_value_fire_last_check_result_callback»last_check_result_fire_last_fix_result_callback»last_fix_result_fire_progress_callback»progressfile_exists»ai_model_artifact_pathfile_exists»config_artifact_pathsanitize_uuid»uuid
- field ai_model_artifact_path: Path [Required]#
- Validated by:
- field config_artifact_path: Path [Required]#
- Validated by:
- field data_flows: list[InOutDataFlow] | None = None#
- field denoising_steps: int | None = None#
- field inference_mode: InferenceMode = InferenceMode.QUALITY#
- field max_inference_resolution: int = 512#
- field min_inference_resolution: int = 64#
- field noise_level: float | None = None#
- field subdirectory_per_input: bool = True#
- validator file_exists » ai_model_artifact_path, config_artifact_path#
- model_post_init(context: Any, /) None#
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Parameters:
self – The BaseModel instance.
context – The context.
- class omni.flux.validator.plugin.check.usd.ai.generate_pbr_material.InferenceMode(value)#
An enumeration.
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- class omni.flux.validator.plugin.check.usd.base.check_base_usd.CheckBaseUSD#
- pydantic model Data#
Show JSON schema
{ "title": "Data", "type": "object", "properties": { "on_progress_callback": { "default": null, "title": "On Progress Callback" }, "on_global_progress_callback": { "default": null, "title": "On Global Progress Callback" }, "data_flows": { "anyOf": [ { "items": { "$ref": "#/$defs/DataFlow" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Data Flows" }, "channel": { "default": "Default", "title": "Channel", "type": "string" }, "expose_mass_ui": { "default": false, "title": "Expose Mass Ui", "type": "boolean" }, "expose_mass_queue_action_ui": { "default": false, "title": "Expose Mass Queue Action Ui", "type": "boolean" }, "cook_mass_template": { "default": false, "description": "Set this to true if you want the mass validator to use the plugin to cook the template", "title": "Cook Mass Template", "type": "boolean" }, "display_name_mass_template": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Name to show when we process a cooked template from mass processing", "title": "Display Name Mass Template" }, "display_name_mass_template_tooltip": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Tooltip to show when we process a cooked template from mass processing", "title": "Display Name Mass Template Tooltip" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "UUID of the plugin", "title": "Uuid" }, "progress": { "anyOf": [ { "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "number" }, { "type": "string" }, { "type": "boolean" } ], "type": "array" }, { "type": "null" } ], "default": [ 0.0, "Initializing", true ], "description": "Progress of the plugin", "title": "Progress" }, "global_progress_value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": 0.0, "description": "Global progress value of the plugin", "title": "Global Progress Value" }, "on_check_callback": { "default": null, "title": "On Check Callback" }, "on_fix_callback": { "default": null, "title": "On Fix Callback" }, "last_check_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Check Message" }, "last_check_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Check Data" }, "last_check_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Check Timing" }, "last_check_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Check Result" }, "last_fix_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Fix Message" }, "last_fix_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Fix Data" }, "last_fix_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Fix Timing" }, "last_fix_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Fix Result" }, "save_on_fix_failure": { "default": true, "title": "Save On Fix Failure", "type": "boolean" }, "context_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Context Name" } }, "$defs": { "DataFlow": { "additionalProperties": false, "properties": { "name": { "title": "Name", "type": "string" }, "channel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "Default", "title": "Channel" } }, "required": [ "name" ], "title": "DataFlow", "type": "object" } }, "additionalProperties": false }
- Config:
extra: str = forbid
validate_assignment: bool = True
arbitrary_types_allowed: bool = True
- Fields:
context_name (str | None)save_on_fix_failure (bool)
- Validators:
_fire_global_progress_value_callback»global_progress_value_fire_last_check_result_callback»last_check_result_fire_last_fix_result_callback»last_fix_result_fire_progress_callback»progresssanitize_uuid»uuid
- field context_name: str | None = None#
- field save_on_fix_failure: bool = True#
- model_post_init(context: Any, /) None#
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Parameters:
self – The BaseModel instance.
context – The context.
- async check(
- schema_data: Data,
- context_plugin_data: Any,
- selector_plugin_data: Any,
Function that will be executed to check if asset paths on the selected prims in the attributes listed in schema data’s conversion_args are dds encoded
Note: This is intended to be run on Shader prims.
- Parameters:
schema_data – the data from the schema.
context_plugin_data – the data from the context plugin
selector_plugin_data – the data from the selector plugin
Returns: True if the check passed, False if not
- async fix(
- schema_data: Data,
- context_plugin_data: SetupDataTypeVar,
- selector_plugin_data: Any,
Function that will be called to fix the data if the fix function return False
- Parameters:
schema_data – the data from the schema.
context_plugin_data – the data from the context plugin
selector_plugin_data – the data from the selector plugin
- Returns:
True if the fix passed, False if not. str: the message you want to show, like “Succeeded to fix this” any: data that you want to pass. For now this is used no where. So you can pass whatever you want (None)
- Return type:
bool
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- class omni.flux.validator.plugin.check.usd.example.print_prims.PrintPrims#
- pydantic model Data#
Show JSON schema
{ "title": "Data", "type": "object", "properties": { "on_progress_callback": { "default": null, "title": "On Progress Callback" }, "on_global_progress_callback": { "default": null, "title": "On Global Progress Callback" }, "data_flows": { "anyOf": [ { "items": { "$ref": "#/$defs/DataFlow" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Data Flows" }, "channel": { "default": "Default", "title": "Channel", "type": "string" }, "expose_mass_ui": { "default": false, "title": "Expose Mass Ui", "type": "boolean" }, "expose_mass_queue_action_ui": { "default": false, "title": "Expose Mass Queue Action Ui", "type": "boolean" }, "cook_mass_template": { "default": false, "description": "Set this to true if you want the mass validator to use the plugin to cook the template", "title": "Cook Mass Template", "type": "boolean" }, "display_name_mass_template": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Name to show when we process a cooked template from mass processing", "title": "Display Name Mass Template" }, "display_name_mass_template_tooltip": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Tooltip to show when we process a cooked template from mass processing", "title": "Display Name Mass Template Tooltip" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "UUID of the plugin", "title": "Uuid" }, "progress": { "anyOf": [ { "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "number" }, { "type": "string" }, { "type": "boolean" } ], "type": "array" }, { "type": "null" } ], "default": [ 0.0, "Initializing", true ], "description": "Progress of the plugin", "title": "Progress" }, "global_progress_value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": 0.0, "description": "Global progress value of the plugin", "title": "Global Progress Value" }, "on_check_callback": { "default": null, "title": "On Check Callback" }, "on_fix_callback": { "default": null, "title": "On Fix Callback" }, "last_check_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Check Message" }, "last_check_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Check Data" }, "last_check_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Check Timing" }, "last_check_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Check Result" }, "last_fix_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Fix Message" }, "last_fix_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Fix Data" }, "last_fix_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Fix Timing" }, "last_fix_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Fix Result" }, "save_on_fix_failure": { "default": true, "title": "Save On Fix Failure", "type": "boolean" }, "context_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Context Name" }, "slow_down": { "default": false, "title": "Slow Down", "type": "boolean" }, "slow_down_value": { "default": 0.03, "title": "Slow Down Value", "type": "number" } }, "$defs": { "DataFlow": { "additionalProperties": false, "properties": { "name": { "title": "Name", "type": "string" }, "channel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "Default", "title": "Channel" } }, "required": [ "name" ], "title": "DataFlow", "type": "object" } }, "additionalProperties": false }
- Config:
extra: str = forbid
validate_assignment: bool = True
arbitrary_types_allowed: bool = True
- Fields:
slow_down (bool)slow_down_value (float)
- Validators:
_fire_global_progress_value_callback»global_progress_value_fire_last_check_result_callback»last_check_result_fire_last_fix_result_callback»last_fix_result_fire_progress_callback»progresssanitize_uuid»uuid
- field slow_down: bool = False#
- field slow_down_value: float = 0.03#
- model_post_init(context: Any, /) None#
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Parameters:
self – The BaseModel instance.
context – The context.
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- pydantic model omni.flux.validator.plugin.check.usd.generic.value_mapping.AttributeMapping#
Show JSON schema
{ "title": "AttributeMapping", "type": "object", "properties": { "operator": { "$ref": "#/$defs/Operator" }, "input_value": { "anyOf": [ {}, { "type": "null" } ], "default": null, "title": "Input Value" }, "output_value": { "anyOf": [ {}, { "type": "null" } ], "default": null, "title": "Output Value" }, "mapping_fn": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Mapping function will be used in priority over the output_value if set", "title": "Mapping Fn" } }, "$defs": { "Operator": { "enum": [ "<", "<=", "=", "!=", ">=", ">", "All", "None" ], "title": "Operator", "type": "string" } }, "additionalProperties": false, "required": [ "operator" ] }
- Config:
extra: str = forbid
validate_assignment: bool = True
- Fields:
- field input_value: Any | None = None#
- field mapping_fn: str | None = None#
Mapping function will be used in priority over the output_value if set
- field output_value: Any | None = None#
- class omni.flux.validator.plugin.check.usd.generic.value_mapping.Operator(value)#
An enumeration.
- class omni.flux.validator.plugin.check.usd.generic.value_mapping.ValueMapping#
- pydantic model Data#
Show JSON schema
{ "title": "Data", "type": "object", "properties": { "on_progress_callback": { "default": null, "title": "On Progress Callback" }, "on_global_progress_callback": { "default": null, "title": "On Global Progress Callback" }, "data_flows": { "anyOf": [ { "items": { "$ref": "#/$defs/DataFlow" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Data Flows" }, "channel": { "default": "Default", "title": "Channel", "type": "string" }, "expose_mass_ui": { "default": false, "title": "Expose Mass Ui", "type": "boolean" }, "expose_mass_queue_action_ui": { "default": false, "title": "Expose Mass Queue Action Ui", "type": "boolean" }, "cook_mass_template": { "default": false, "description": "Set this to true if you want the mass validator to use the plugin to cook the template", "title": "Cook Mass Template", "type": "boolean" }, "display_name_mass_template": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Name to show when we process a cooked template from mass processing", "title": "Display Name Mass Template" }, "display_name_mass_template_tooltip": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Tooltip to show when we process a cooked template from mass processing", "title": "Display Name Mass Template Tooltip" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "UUID of the plugin", "title": "Uuid" }, "progress": { "anyOf": [ { "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "number" }, { "type": "string" }, { "type": "boolean" } ], "type": "array" }, { "type": "null" } ], "default": [ 0.0, "Initializing", true ], "description": "Progress of the plugin", "title": "Progress" }, "global_progress_value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": 0.0, "description": "Global progress value of the plugin", "title": "Global Progress Value" }, "on_check_callback": { "default": null, "title": "On Check Callback" }, "on_fix_callback": { "default": null, "title": "On Fix Callback" }, "last_check_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Check Message" }, "last_check_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Check Data" }, "last_check_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Check Timing" }, "last_check_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Check Result" }, "last_fix_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Fix Message" }, "last_fix_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Fix Data" }, "last_fix_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Fix Timing" }, "last_fix_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Fix Result" }, "save_on_fix_failure": { "default": true, "title": "Save On Fix Failure", "type": "boolean" }, "context_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Context Name" }, "attributes": { "additionalProperties": { "items": { "$ref": "#/$defs/AttributeMapping" }, "type": "array" }, "title": "Attributes", "type": "object" } }, "$defs": { "AttributeMapping": { "additionalProperties": false, "properties": { "operator": { "$ref": "#/$defs/Operator" }, "input_value": { "anyOf": [ {}, { "type": "null" } ], "default": null, "title": "Input Value" }, "output_value": { "anyOf": [ {}, { "type": "null" } ], "default": null, "title": "Output Value" }, "mapping_fn": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Mapping function will be used in priority over the output_value if set", "title": "Mapping Fn" } }, "required": [ "operator" ], "title": "AttributeMapping", "type": "object" }, "DataFlow": { "additionalProperties": false, "properties": { "name": { "title": "Name", "type": "string" }, "channel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "Default", "title": "Channel" } }, "required": [ "name" ], "title": "DataFlow", "type": "object" }, "Operator": { "enum": [ "<", "<=", "=", "!=", ">=", ">", "All", "None" ], "title": "Operator", "type": "string" } }, "additionalProperties": false, "required": [ "attributes" ] }
- Config:
extra: str = forbid
validate_assignment: bool = True
arbitrary_types_allowed: bool = True
- Fields:
attributes (dict[str, list[omni.flux.validator.plugin.check.usd.generic.value_mapping.AttributeMapping]])
- Validators:
_fire_global_progress_value_callback»global_progress_value_fire_last_check_result_callback»last_check_result_fire_last_fix_result_callback»last_fix_result_fire_progress_callback»progressinput_output_same_type»attributesiterable_input_output_same_length»attributesnot_empty_attribute_name»attributessanitize_uuid»uuidvalid_inputs»attributes
- field attributes: dict[str, list[AttributeMapping]] [Required]#
- validator input_output_same_type » attributes#
- validator iterable_input_output_same_length » attributes#
- model_post_init(context: Any, /) None#
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Parameters:
self – The BaseModel instance.
context – The context.
- validator not_empty_attribute_name » attributes#
- validator valid_inputs » attributes#
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- class omni.flux.validator.plugin.check.usd.material.clear_unassigned_materials.ClearUnassignedMaterial#
- pydantic model Data#
Show JSON schema
{ "title": "Data", "type": "object", "properties": { "on_progress_callback": { "default": null, "title": "On Progress Callback" }, "on_global_progress_callback": { "default": null, "title": "On Global Progress Callback" }, "data_flows": { "anyOf": [ { "items": { "$ref": "#/$defs/DataFlow" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Data Flows" }, "channel": { "default": "Default", "title": "Channel", "type": "string" }, "expose_mass_ui": { "default": false, "title": "Expose Mass Ui", "type": "boolean" }, "expose_mass_queue_action_ui": { "default": false, "title": "Expose Mass Queue Action Ui", "type": "boolean" }, "cook_mass_template": { "default": false, "description": "Set this to true if you want the mass validator to use the plugin to cook the template", "title": "Cook Mass Template", "type": "boolean" }, "display_name_mass_template": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Name to show when we process a cooked template from mass processing", "title": "Display Name Mass Template" }, "display_name_mass_template_tooltip": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Tooltip to show when we process a cooked template from mass processing", "title": "Display Name Mass Template Tooltip" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "UUID of the plugin", "title": "Uuid" }, "progress": { "anyOf": [ { "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "number" }, { "type": "string" }, { "type": "boolean" } ], "type": "array" }, { "type": "null" } ], "default": [ 0.0, "Initializing", true ], "description": "Progress of the plugin", "title": "Progress" }, "global_progress_value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": 0.0, "description": "Global progress value of the plugin", "title": "Global Progress Value" }, "on_check_callback": { "default": null, "title": "On Check Callback" }, "on_fix_callback": { "default": null, "title": "On Fix Callback" }, "last_check_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Check Message" }, "last_check_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Check Data" }, "last_check_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Check Timing" }, "last_check_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Check Result" }, "last_fix_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Fix Message" }, "last_fix_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Fix Data" }, "last_fix_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Fix Timing" }, "last_fix_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Fix Result" }, "save_on_fix_failure": { "default": true, "title": "Save On Fix Failure", "type": "boolean" }, "context_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Context Name" } }, "$defs": { "DataFlow": { "additionalProperties": false, "properties": { "name": { "title": "Name", "type": "string" }, "channel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "Default", "title": "Channel" } }, "required": [ "name" ], "title": "DataFlow", "type": "object" } }, "additionalProperties": false }
- Config:
extra: str = forbid
validate_assignment: bool = True
arbitrary_types_allowed: bool = True
- Fields:
- Validators:
_fire_global_progress_value_callback»global_progress_value_fire_last_check_result_callback»last_check_result_fire_last_fix_result_callback»last_fix_result_fire_progress_callback»progresssanitize_uuid»uuid
- model_post_init(context: Any, /) None#
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Parameters:
self – The BaseModel instance.
context – The context.
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- class omni.flux.validator.plugin.check.usd.material.default_material.DefaultMaterial#
- pydantic model Data#
Show JSON schema
{ "title": "Data", "type": "object", "properties": { "on_progress_callback": { "default": null, "title": "On Progress Callback" }, "on_global_progress_callback": { "default": null, "title": "On Global Progress Callback" }, "data_flows": { "anyOf": [ { "items": { "$ref": "#/$defs/DataFlow" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Data Flows" }, "channel": { "default": "Default", "title": "Channel", "type": "string" }, "expose_mass_ui": { "default": false, "title": "Expose Mass Ui", "type": "boolean" }, "expose_mass_queue_action_ui": { "default": false, "title": "Expose Mass Queue Action Ui", "type": "boolean" }, "cook_mass_template": { "default": false, "description": "Set this to true if you want the mass validator to use the plugin to cook the template", "title": "Cook Mass Template", "type": "boolean" }, "display_name_mass_template": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Name to show when we process a cooked template from mass processing", "title": "Display Name Mass Template" }, "display_name_mass_template_tooltip": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Tooltip to show when we process a cooked template from mass processing", "title": "Display Name Mass Template Tooltip" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "UUID of the plugin", "title": "Uuid" }, "progress": { "anyOf": [ { "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "number" }, { "type": "string" }, { "type": "boolean" } ], "type": "array" }, { "type": "null" } ], "default": [ 0.0, "Initializing", true ], "description": "Progress of the plugin", "title": "Progress" }, "global_progress_value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": 0.0, "description": "Global progress value of the plugin", "title": "Global Progress Value" }, "on_check_callback": { "default": null, "title": "On Check Callback" }, "on_fix_callback": { "default": null, "title": "On Fix Callback" }, "last_check_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Check Message" }, "last_check_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Check Data" }, "last_check_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Check Timing" }, "last_check_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Check Result" }, "last_fix_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Fix Message" }, "last_fix_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Fix Data" }, "last_fix_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Fix Timing" }, "last_fix_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Fix Result" }, "save_on_fix_failure": { "default": true, "title": "Save On Fix Failure", "type": "boolean" }, "context_name": { "default": "", "title": "Context Name", "type": "string" }, "default_material_mdl_url": { "default": "OmniPBR.mdl", "title": "Default Material Mdl Url", "type": "string" }, "default_material_mdl_name": { "default": "OmniPBR", "title": "Default Material Mdl Name", "type": "string" } }, "$defs": { "DataFlow": { "additionalProperties": false, "properties": { "name": { "title": "Name", "type": "string" }, "channel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "Default", "title": "Channel" } }, "required": [ "name" ], "title": "DataFlow", "type": "object" } }, "additionalProperties": false }
- Config:
extra: str = forbid
validate_assignment: bool = True
arbitrary_types_allowed: bool = True
- Fields:
context_name (str)default_material_mdl_name (str)default_material_mdl_url (str)
- Validators:
_fire_global_progress_value_callback»global_progress_value_fire_last_check_result_callback»last_check_result_fire_last_fix_result_callback»last_fix_result_fire_progress_callback»progresssanitize_uuid»uuid
- field context_name: str = ''#
- field default_material_mdl_name: str = 'OmniPBR'#
- field default_material_mdl_url: str = 'OmniPBR.mdl'#
- model_post_init(context: Any, /) None#
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Parameters:
self – The BaseModel instance.
context – The context.
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- class omni.flux.validator.plugin.check.usd.material.material_shaders.MaterialShaders#
- pydantic model Data#
Show JSON schema
{ "title": "Data", "type": "object", "properties": { "on_progress_callback": { "default": null, "title": "On Progress Callback" }, "on_global_progress_callback": { "default": null, "title": "On Global Progress Callback" }, "data_flows": { "anyOf": [ { "items": { "$ref": "#/$defs/DataFlow" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Data Flows" }, "channel": { "default": "Default", "title": "Channel", "type": "string" }, "expose_mass_ui": { "default": false, "title": "Expose Mass Ui", "type": "boolean" }, "expose_mass_queue_action_ui": { "default": false, "title": "Expose Mass Queue Action Ui", "type": "boolean" }, "cook_mass_template": { "default": false, "description": "Set this to true if you want the mass validator to use the plugin to cook the template", "title": "Cook Mass Template", "type": "boolean" }, "display_name_mass_template": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Name to show when we process a cooked template from mass processing", "title": "Display Name Mass Template" }, "display_name_mass_template_tooltip": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Tooltip to show when we process a cooked template from mass processing", "title": "Display Name Mass Template Tooltip" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "UUID of the plugin", "title": "Uuid" }, "progress": { "anyOf": [ { "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "number" }, { "type": "string" }, { "type": "boolean" } ], "type": "array" }, { "type": "null" } ], "default": [ 0.0, "Initializing", true ], "description": "Progress of the plugin", "title": "Progress" }, "global_progress_value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": 0.0, "description": "Global progress value of the plugin", "title": "Global Progress Value" }, "on_check_callback": { "default": null, "title": "On Check Callback" }, "on_fix_callback": { "default": null, "title": "On Fix Callback" }, "last_check_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Check Message" }, "last_check_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Check Data" }, "last_check_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Check Timing" }, "last_check_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Check Result" }, "last_fix_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Fix Message" }, "last_fix_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Fix Data" }, "last_fix_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Fix Timing" }, "last_fix_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Fix Result" }, "save_on_fix_failure": { "default": true, "title": "Save On Fix Failure", "type": "boolean" }, "context_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Context Name" }, "shader_subidentifiers": { "additionalProperties": { "type": "string" }, "title": "Shader Subidentifiers", "type": "object" }, "ignore_not_convertable_shaders": { "default": false, "title": "Ignore Not Convertable Shaders", "type": "boolean" } }, "$defs": { "DataFlow": { "additionalProperties": false, "properties": { "name": { "title": "Name", "type": "string" }, "channel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "Default", "title": "Channel" } }, "required": [ "name" ], "title": "DataFlow", "type": "object" } }, "additionalProperties": false, "required": [ "shader_subidentifiers" ] }
- Config:
extra: str = forbid
validate_assignment: bool = True
arbitrary_types_allowed: bool = True
- Fields:
context_name (str | None)ignore_not_convertable_shaders (bool)shader_subidentifiers (collections.OrderedDict[str, str])
- Validators:
_fire_global_progress_value_callback»global_progress_value_fire_last_check_result_callback»last_check_result_fire_last_fix_result_callback»last_fix_result_fire_progress_callback»progressat_least_one»shader_subidentifierssanitize_uuid»uuidsupported_shader_output»shader_subidentifiersvalid_subidentifier»shader_subidentifiers
- field context_name: str | None = None#
- field ignore_not_convertable_shaders: bool = False#
- field shader_subidentifiers: OrderedDict[str, str] [Required]#
- Validated by:
- validator at_least_one » shader_subidentifiers#
- model_post_init(context: Any, /) None#
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Parameters:
self – The BaseModel instance.
context – The context.
- validator supported_shader_output » shader_subidentifiers#
- validator valid_subidentifier » shader_subidentifiers#
- omni.flux.validator.plugin.check.usd.material.material_shaders.disable_orphan_parameter_cleanup()#
Disable orphan parameter cleanup temporarily
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- class omni.flux.validator.plugin.check.usd.mesh.add_vertex_indices_to_geom_subsets.AddVertexIndicesToGeomSubsets#
- pydantic model Data#
Show JSON schema
{ "title": "Data", "type": "object", "properties": { "on_progress_callback": { "default": null, "title": "On Progress Callback" }, "on_global_progress_callback": { "default": null, "title": "On Global Progress Callback" }, "data_flows": { "anyOf": [ { "items": { "$ref": "#/$defs/DataFlow" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Data Flows" }, "channel": { "default": "Default", "title": "Channel", "type": "string" }, "expose_mass_ui": { "default": false, "title": "Expose Mass Ui", "type": "boolean" }, "expose_mass_queue_action_ui": { "default": false, "title": "Expose Mass Queue Action Ui", "type": "boolean" }, "cook_mass_template": { "default": false, "description": "Set this to true if you want the mass validator to use the plugin to cook the template", "title": "Cook Mass Template", "type": "boolean" }, "display_name_mass_template": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Name to show when we process a cooked template from mass processing", "title": "Display Name Mass Template" }, "display_name_mass_template_tooltip": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Tooltip to show when we process a cooked template from mass processing", "title": "Display Name Mass Template Tooltip" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "UUID of the plugin", "title": "Uuid" }, "progress": { "anyOf": [ { "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "number" }, { "type": "string" }, { "type": "boolean" } ], "type": "array" }, { "type": "null" } ], "default": [ 0.0, "Initializing", true ], "description": "Progress of the plugin", "title": "Progress" }, "global_progress_value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": 0.0, "description": "Global progress value of the plugin", "title": "Global Progress Value" }, "on_check_callback": { "default": null, "title": "On Check Callback" }, "on_fix_callback": { "default": null, "title": "On Fix Callback" }, "last_check_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Check Message" }, "last_check_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Check Data" }, "last_check_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Check Timing" }, "last_check_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Check Result" }, "last_fix_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Fix Message" }, "last_fix_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Fix Data" }, "last_fix_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Fix Timing" }, "last_fix_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Fix Result" }, "save_on_fix_failure": { "default": true, "title": "Save On Fix Failure", "type": "boolean" }, "context_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Context Name" } }, "$defs": { "DataFlow": { "additionalProperties": false, "properties": { "name": { "title": "Name", "type": "string" }, "channel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "Default", "title": "Channel" } }, "required": [ "name" ], "title": "DataFlow", "type": "object" } }, "additionalProperties": false }
- Config:
extra: str = forbid
validate_assignment: bool = True
arbitrary_types_allowed: bool = True
- Fields:
- Validators:
_fire_global_progress_value_callback»global_progress_value_fire_last_check_result_callback»last_check_result_fire_last_fix_result_callback»last_fix_result_fire_progress_callback»progresssanitize_uuid»uuid
- model_post_init(
- context: Any,
- /,
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Parameters:
self – The BaseModel instance.
context – The context.
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- class omni.flux.validator.plugin.check.usd.mesh.force_primvar_to_vertex_interpolation.ForcePrimvarToVertexInterpolation#
- pydantic model Data#
Show JSON schema
{ "title": "Data", "type": "object", "properties": { "on_progress_callback": { "default": null, "title": "On Progress Callback" }, "on_global_progress_callback": { "default": null, "title": "On Global Progress Callback" }, "data_flows": { "anyOf": [ { "items": { "$ref": "#/$defs/DataFlow" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Data Flows" }, "channel": { "default": "Default", "title": "Channel", "type": "string" }, "expose_mass_ui": { "default": false, "title": "Expose Mass Ui", "type": "boolean" }, "expose_mass_queue_action_ui": { "default": false, "title": "Expose Mass Queue Action Ui", "type": "boolean" }, "cook_mass_template": { "default": false, "description": "Set this to true if you want the mass validator to use the plugin to cook the template", "title": "Cook Mass Template", "type": "boolean" }, "display_name_mass_template": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Name to show when we process a cooked template from mass processing", "title": "Display Name Mass Template" }, "display_name_mass_template_tooltip": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Tooltip to show when we process a cooked template from mass processing", "title": "Display Name Mass Template Tooltip" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "UUID of the plugin", "title": "Uuid" }, "progress": { "anyOf": [ { "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "number" }, { "type": "string" }, { "type": "boolean" } ], "type": "array" }, { "type": "null" } ], "default": [ 0.0, "Initializing", true ], "description": "Progress of the plugin", "title": "Progress" }, "global_progress_value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": 0.0, "description": "Global progress value of the plugin", "title": "Global Progress Value" }, "on_check_callback": { "default": null, "title": "On Check Callback" }, "on_fix_callback": { "default": null, "title": "On Fix Callback" }, "last_check_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Check Message" }, "last_check_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Check Data" }, "last_check_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Check Timing" }, "last_check_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Check Result" }, "last_fix_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Fix Message" }, "last_fix_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Fix Data" }, "last_fix_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Fix Timing" }, "last_fix_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Fix Result" }, "save_on_fix_failure": { "default": true, "title": "Save On Fix Failure", "type": "boolean" }, "context_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Context Name" } }, "$defs": { "DataFlow": { "additionalProperties": false, "properties": { "name": { "title": "Name", "type": "string" }, "channel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "Default", "title": "Channel" } }, "required": [ "name" ], "title": "DataFlow", "type": "object" } }, "additionalProperties": false }
- Config:
extra: str = forbid
validate_assignment: bool = True
arbitrary_types_allowed: bool = True
- Fields:
- Validators:
_fire_global_progress_value_callback»global_progress_value_fire_last_check_result_callback»last_check_result_fire_last_fix_result_callback»last_fix_result_fire_progress_callback»progresssanitize_uuid»uuid
- model_post_init(
- context: Any,
- /,
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Parameters:
self – The BaseModel instance.
context – The context.
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- class omni.flux.validator.plugin.check.usd.mesh.triangulate.Triangulate#
- pydantic model Data#
Show JSON schema
{ "title": "Data", "type": "object", "properties": { "on_progress_callback": { "default": null, "title": "On Progress Callback" }, "on_global_progress_callback": { "default": null, "title": "On Global Progress Callback" }, "data_flows": { "anyOf": [ { "items": { "$ref": "#/$defs/DataFlow" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Data Flows" }, "channel": { "default": "Default", "title": "Channel", "type": "string" }, "expose_mass_ui": { "default": false, "title": "Expose Mass Ui", "type": "boolean" }, "expose_mass_queue_action_ui": { "default": false, "title": "Expose Mass Queue Action Ui", "type": "boolean" }, "cook_mass_template": { "default": false, "description": "Set this to true if you want the mass validator to use the plugin to cook the template", "title": "Cook Mass Template", "type": "boolean" }, "display_name_mass_template": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Name to show when we process a cooked template from mass processing", "title": "Display Name Mass Template" }, "display_name_mass_template_tooltip": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Tooltip to show when we process a cooked template from mass processing", "title": "Display Name Mass Template Tooltip" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "UUID of the plugin", "title": "Uuid" }, "progress": { "anyOf": [ { "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "number" }, { "type": "string" }, { "type": "boolean" } ], "type": "array" }, { "type": "null" } ], "default": [ 0.0, "Initializing", true ], "description": "Progress of the plugin", "title": "Progress" }, "global_progress_value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": 0.0, "description": "Global progress value of the plugin", "title": "Global Progress Value" }, "on_check_callback": { "default": null, "title": "On Check Callback" }, "on_fix_callback": { "default": null, "title": "On Fix Callback" }, "last_check_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Check Message" }, "last_check_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Check Data" }, "last_check_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Check Timing" }, "last_check_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Check Result" }, "last_fix_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Fix Message" }, "last_fix_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Fix Data" }, "last_fix_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Fix Timing" }, "last_fix_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Fix Result" }, "save_on_fix_failure": { "default": true, "title": "Save On Fix Failure", "type": "boolean" }, "context_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Context Name" } }, "$defs": { "DataFlow": { "additionalProperties": false, "properties": { "name": { "title": "Name", "type": "string" }, "channel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "Default", "title": "Channel" } }, "required": [ "name" ], "title": "DataFlow", "type": "object" } }, "additionalProperties": false }
- Config:
extra: str = forbid
validate_assignment: bool = True
arbitrary_types_allowed: bool = True
- Fields:
- Validators:
_fire_global_progress_value_callback»global_progress_value_fire_last_check_result_callback»last_check_result_fire_last_fix_result_callback»last_fix_result_fire_progress_callback»progresssanitize_uuid»uuid
- model_post_init(context: Any, /) None#
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Parameters:
self – The BaseModel instance.
context – The context.
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- class omni.flux.validator.plugin.check.usd.meta.default_prim.DefaultPrim#
- pydantic model Data#
Show JSON schema
{ "title": "Data", "type": "object", "properties": { "on_progress_callback": { "default": null, "title": "On Progress Callback" }, "on_global_progress_callback": { "default": null, "title": "On Global Progress Callback" }, "data_flows": { "anyOf": [ { "items": { "$ref": "#/$defs/DataFlow" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Data Flows" }, "channel": { "default": "Default", "title": "Channel", "type": "string" }, "expose_mass_ui": { "default": false, "title": "Expose Mass Ui", "type": "boolean" }, "expose_mass_queue_action_ui": { "default": false, "title": "Expose Mass Queue Action Ui", "type": "boolean" }, "cook_mass_template": { "default": false, "description": "Set this to true if you want the mass validator to use the plugin to cook the template", "title": "Cook Mass Template", "type": "boolean" }, "display_name_mass_template": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Name to show when we process a cooked template from mass processing", "title": "Display Name Mass Template" }, "display_name_mass_template_tooltip": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Tooltip to show when we process a cooked template from mass processing", "title": "Display Name Mass Template Tooltip" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "UUID of the plugin", "title": "Uuid" }, "progress": { "anyOf": [ { "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "number" }, { "type": "string" }, { "type": "boolean" } ], "type": "array" }, { "type": "null" } ], "default": [ 0.0, "Initializing", true ], "description": "Progress of the plugin", "title": "Progress" }, "global_progress_value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": 0.0, "description": "Global progress value of the plugin", "title": "Global Progress Value" }, "on_check_callback": { "default": null, "title": "On Check Callback" }, "on_fix_callback": { "default": null, "title": "On Fix Callback" }, "last_check_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Check Message" }, "last_check_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Check Data" }, "last_check_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Check Timing" }, "last_check_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Check Result" }, "last_fix_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Fix Message" }, "last_fix_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Fix Data" }, "last_fix_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Fix Timing" }, "last_fix_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Fix Result" }, "save_on_fix_failure": { "default": true, "title": "Save On Fix Failure", "type": "boolean" }, "context_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Context Name" }, "manual_selection": { "default": false, "title": "Manual Selection", "type": "boolean" } }, "$defs": { "DataFlow": { "additionalProperties": false, "properties": { "name": { "title": "Name", "type": "string" }, "channel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "Default", "title": "Channel" } }, "required": [ "name" ], "title": "DataFlow", "type": "object" } }, "additionalProperties": false }
- Config:
extra: str = forbid
validate_assignment: bool = True
arbitrary_types_allowed: bool = True
- Fields:
manual_selection (bool)
- Validators:
_fire_global_progress_value_callback»global_progress_value_fire_last_check_result_callback»last_check_result_fire_last_fix_result_callback»last_fix_result_fire_progress_callback»progresssanitize_uuid»uuid
- field manual_selection: bool = False#
- model_post_init(context: Any, /) None#
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Parameters:
self – The BaseModel instance.
context – The context.
- destroy()#
Destroy.
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- class omni.flux.validator.plugin.check.usd.meta.wrap_root_prims.WrapRootPrims#
- pydantic model Data#
Show JSON schema
{ "title": "Data", "type": "object", "properties": { "on_progress_callback": { "default": null, "title": "On Progress Callback" }, "on_global_progress_callback": { "default": null, "title": "On Global Progress Callback" }, "data_flows": { "anyOf": [ { "items": { "$ref": "#/$defs/DataFlow" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Data Flows" }, "channel": { "default": "Default", "title": "Channel", "type": "string" }, "expose_mass_ui": { "default": false, "title": "Expose Mass Ui", "type": "boolean" }, "expose_mass_queue_action_ui": { "default": false, "title": "Expose Mass Queue Action Ui", "type": "boolean" }, "cook_mass_template": { "default": false, "description": "Set this to true if you want the mass validator to use the plugin to cook the template", "title": "Cook Mass Template", "type": "boolean" }, "display_name_mass_template": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Name to show when we process a cooked template from mass processing", "title": "Display Name Mass Template" }, "display_name_mass_template_tooltip": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Tooltip to show when we process a cooked template from mass processing", "title": "Display Name Mass Template Tooltip" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "UUID of the plugin", "title": "Uuid" }, "progress": { "anyOf": [ { "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "number" }, { "type": "string" }, { "type": "boolean" } ], "type": "array" }, { "type": "null" } ], "default": [ 0.0, "Initializing", true ], "description": "Progress of the plugin", "title": "Progress" }, "global_progress_value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": 0.0, "description": "Global progress value of the plugin", "title": "Global Progress Value" }, "on_check_callback": { "default": null, "title": "On Check Callback" }, "on_fix_callback": { "default": null, "title": "On Fix Callback" }, "last_check_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Check Message" }, "last_check_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Check Data" }, "last_check_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Check Timing" }, "last_check_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Check Result" }, "last_fix_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Fix Message" }, "last_fix_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Fix Data" }, "last_fix_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Fix Timing" }, "last_fix_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Fix Result" }, "save_on_fix_failure": { "default": true, "title": "Save On Fix Failure", "type": "boolean" }, "context_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Context Name" }, "set_default_prim": { "default": true, "title": "Set Default Prim", "type": "boolean" }, "wrap_prim_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Wrap Prim Name" } }, "$defs": { "DataFlow": { "additionalProperties": false, "properties": { "name": { "title": "Name", "type": "string" }, "channel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "Default", "title": "Channel" } }, "required": [ "name" ], "title": "DataFlow", "type": "object" } }, "additionalProperties": false }
- Config:
extra: str = forbid
validate_assignment: bool = True
arbitrary_types_allowed: bool = True
- Fields:
set_default_prim (bool)wrap_prim_name (str | None)
- Validators:
_fire_global_progress_value_callback»global_progress_value_fire_last_check_result_callback»last_check_result_fire_last_fix_result_callback»last_fix_result_fire_progress_callback»progressis_not_empty»wrap_prim_nameis_valid_prim_path»wrap_prim_namesanitize_uuid»uuid
- field set_default_prim: bool = True#
- field wrap_prim_name: str | None = None#
- Validated by:
- validator is_not_empty » wrap_prim_name#
- validator is_valid_prim_path » wrap_prim_name#
- model_post_init(context: Any, /) None#
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Parameters:
self – The BaseModel instance.
context – The context.
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- class omni.flux.validator.plugin.check.usd.paths.relative_asset_paths.RelativeAssetPaths#
- pydantic model Data#
Show JSON schema
{ "title": "Data", "type": "object", "properties": { "on_progress_callback": { "default": null, "title": "On Progress Callback" }, "on_global_progress_callback": { "default": null, "title": "On Global Progress Callback" }, "data_flows": { "anyOf": [ { "items": { "$ref": "#/$defs/DataFlow" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Data Flows" }, "channel": { "default": "Default", "title": "Channel", "type": "string" }, "expose_mass_ui": { "default": false, "title": "Expose Mass Ui", "type": "boolean" }, "expose_mass_queue_action_ui": { "default": false, "title": "Expose Mass Queue Action Ui", "type": "boolean" }, "cook_mass_template": { "default": false, "description": "Set this to true if you want the mass validator to use the plugin to cook the template", "title": "Cook Mass Template", "type": "boolean" }, "display_name_mass_template": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Name to show when we process a cooked template from mass processing", "title": "Display Name Mass Template" }, "display_name_mass_template_tooltip": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Tooltip to show when we process a cooked template from mass processing", "title": "Display Name Mass Template Tooltip" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "UUID of the plugin", "title": "Uuid" }, "progress": { "anyOf": [ { "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "number" }, { "type": "string" }, { "type": "boolean" } ], "type": "array" }, { "type": "null" } ], "default": [ 0.0, "Initializing", true ], "description": "Progress of the plugin", "title": "Progress" }, "global_progress_value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": 0.0, "description": "Global progress value of the plugin", "title": "Global Progress Value" }, "on_check_callback": { "default": null, "title": "On Check Callback" }, "on_fix_callback": { "default": null, "title": "On Fix Callback" }, "last_check_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Check Message" }, "last_check_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Check Data" }, "last_check_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Check Timing" }, "last_check_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Check Result" }, "last_fix_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Fix Message" }, "last_fix_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Fix Data" }, "last_fix_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Fix Timing" }, "last_fix_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Fix Result" }, "save_on_fix_failure": { "default": true, "title": "Save On Fix Failure", "type": "boolean" }, "context_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Context Name" } }, "$defs": { "DataFlow": { "additionalProperties": false, "properties": { "name": { "title": "Name", "type": "string" }, "channel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "Default", "title": "Channel" } }, "required": [ "name" ], "title": "DataFlow", "type": "object" } }, "additionalProperties": false }
- Config:
extra: str = forbid
validate_assignment: bool = True
arbitrary_types_allowed: bool = True
- Fields:
- Validators:
_fire_global_progress_value_callback»global_progress_value_fire_last_check_result_callback»last_check_result_fire_last_fix_result_callback»last_fix_result_fire_progress_callback»progresssanitize_uuid»uuid
- model_post_init(context: Any, /) None#
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Parameters:
self – The BaseModel instance.
context – The context.
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- class omni.flux.validator.plugin.check.usd.paths.relative_references.RelativeReferences#
- pydantic model Data#
Show JSON schema
{ "title": "Data", "type": "object", "properties": { "on_progress_callback": { "default": null, "title": "On Progress Callback" }, "on_global_progress_callback": { "default": null, "title": "On Global Progress Callback" }, "data_flows": { "anyOf": [ { "items": { "$ref": "#/$defs/DataFlow" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Data Flows" }, "channel": { "default": "Default", "title": "Channel", "type": "string" }, "expose_mass_ui": { "default": false, "title": "Expose Mass Ui", "type": "boolean" }, "expose_mass_queue_action_ui": { "default": false, "title": "Expose Mass Queue Action Ui", "type": "boolean" }, "cook_mass_template": { "default": false, "description": "Set this to true if you want the mass validator to use the plugin to cook the template", "title": "Cook Mass Template", "type": "boolean" }, "display_name_mass_template": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Name to show when we process a cooked template from mass processing", "title": "Display Name Mass Template" }, "display_name_mass_template_tooltip": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Tooltip to show when we process a cooked template from mass processing", "title": "Display Name Mass Template Tooltip" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "UUID of the plugin", "title": "Uuid" }, "progress": { "anyOf": [ { "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "number" }, { "type": "string" }, { "type": "boolean" } ], "type": "array" }, { "type": "null" } ], "default": [ 0.0, "Initializing", true ], "description": "Progress of the plugin", "title": "Progress" }, "global_progress_value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": 0.0, "description": "Global progress value of the plugin", "title": "Global Progress Value" }, "on_check_callback": { "default": null, "title": "On Check Callback" }, "on_fix_callback": { "default": null, "title": "On Fix Callback" }, "last_check_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Check Message" }, "last_check_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Check Data" }, "last_check_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Check Timing" }, "last_check_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Check Result" }, "last_fix_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Fix Message" }, "last_fix_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Fix Data" }, "last_fix_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Fix Timing" }, "last_fix_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Fix Result" }, "save_on_fix_failure": { "default": true, "title": "Save On Fix Failure", "type": "boolean" }, "context_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Context Name" } }, "$defs": { "DataFlow": { "additionalProperties": false, "properties": { "name": { "title": "Name", "type": "string" }, "channel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "Default", "title": "Channel" } }, "required": [ "name" ], "title": "DataFlow", "type": "object" } }, "additionalProperties": false }
- Config:
extra: str = forbid
validate_assignment: bool = True
arbitrary_types_allowed: bool = True
- Fields:
- Validators:
_fire_global_progress_value_callback»global_progress_value_fire_last_check_result_callback»last_check_result_fire_last_fix_result_callback»last_fix_result_fire_progress_callback»progresssanitize_uuid»uuid
- model_post_init(context: Any, /) None#
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Parameters:
self – The BaseModel instance.
context – The context.
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- class omni.flux.validator.plugin.check.usd.render.generate_thumbnail.GenerateThumbnail#
- pydantic model Data#
Show JSON schema
{ "title": "Data", "type": "object", "properties": { "on_progress_callback": { "default": null, "title": "On Progress Callback" }, "on_global_progress_callback": { "default": null, "title": "On Global Progress Callback" }, "data_flows": { "anyOf": [ { "items": { "$ref": "#/$defs/DataFlow" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Data Flows" }, "channel": { "default": "Default", "title": "Channel", "type": "string" }, "expose_mass_ui": { "default": false, "title": "Expose Mass Ui", "type": "boolean" }, "expose_mass_queue_action_ui": { "default": false, "title": "Expose Mass Queue Action Ui", "type": "boolean" }, "cook_mass_template": { "default": false, "description": "Set this to true if you want the mass validator to use the plugin to cook the template", "title": "Cook Mass Template", "type": "boolean" }, "display_name_mass_template": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Name to show when we process a cooked template from mass processing", "title": "Display Name Mass Template" }, "display_name_mass_template_tooltip": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Tooltip to show when we process a cooked template from mass processing", "title": "Display Name Mass Template Tooltip" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "UUID of the plugin", "title": "Uuid" }, "progress": { "anyOf": [ { "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "number" }, { "type": "string" }, { "type": "boolean" } ], "type": "array" }, { "type": "null" } ], "default": [ 0.0, "Initializing", true ], "description": "Progress of the plugin", "title": "Progress" }, "global_progress_value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": 0.0, "description": "Global progress value of the plugin", "title": "Global Progress Value" }, "on_check_callback": { "default": null, "title": "On Check Callback" }, "on_fix_callback": { "default": null, "title": "On Fix Callback" }, "last_check_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Check Message" }, "last_check_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Check Data" }, "last_check_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Check Timing" }, "last_check_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Check Result" }, "last_fix_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Fix Message" }, "last_fix_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Fix Data" }, "last_fix_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Fix Timing" }, "last_fix_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Fix Result" }, "save_on_fix_failure": { "default": true, "title": "Save On Fix Failure", "type": "boolean" }, "context_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Context Name" }, "light_rig_path": { "default": "${omni.flux.validator.plugin.check.usd}/data/rigs/default_light_template.usda", "title": "Light Rig Path", "type": "string" }, "light_rotation": { "anyOf": [ { "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "number" }, { "type": "number" }, { "type": "number" } ], "type": "array" }, { "type": "null" } ], "default": null, "title": "Light Rotation" }, "thumbnail_size": { "default": [ 256, 256 ], "maxItems": 2, "minItems": 2, "prefixItems": [ { "type": "integer" }, { "type": "integer" } ], "title": "Thumbnail Size", "type": "array" }, "render_mode": { "default": "RayTracing", "title": "Render Mode", "type": "string" }, "light_intensity_multipler": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": 1, "title": "Light Intensity Multipler" }, "viewport_api": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Viewport Api" } }, "$defs": { "DataFlow": { "additionalProperties": false, "properties": { "name": { "title": "Name", "type": "string" }, "channel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "Default", "title": "Channel" } }, "required": [ "name" ], "title": "DataFlow", "type": "object" } }, "additionalProperties": false }
- Config:
extra: str = forbid
validate_assignment: bool = True
arbitrary_types_allowed: bool = True
- Fields:
light_intensity_multipler (int | None)light_rig_path (str)light_rotation (Tuple[float, float, float] | None)render_mode (str)thumbnail_size (Tuple[int, int])viewport_api (str | None)
- Validators:
_fire_global_progress_value_callback»global_progress_value_fire_last_check_result_callback»last_check_result_fire_last_fix_result_callback»last_fix_result_fire_progress_callback»progresssanitize_uuid»uuid
- field light_intensity_multipler: int | None = 1#
- field light_rig_path: str = '${omni.flux.validator.plugin.check.usd}/data/rigs/default_light_template.usda'#
- field light_rotation: Tuple[float, float, float] | None = None#
- field render_mode: str = 'RayTracing'#
- field thumbnail_size: Tuple[int, int] = (256, 256)#
- field viewport_api: str | None = None#
- model_post_init(context: Any, /) None#
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Parameters:
self – The BaseModel instance.
context – The context.
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- pydantic model omni.flux.validator.plugin.check.usd.texture.convert_to_dds.ConversionArgs#
Show JSON schema
{ "title": "ConversionArgs", "type": "object", "properties": { "args": { "items": { "type": "string" }, "title": "Args", "type": "array" } }, "additionalProperties": false, "required": [ "args" ] }
- Config:
extra: str = forbid
- Fields:
- field args: list[str] [Required]#
- class omni.flux.validator.plugin.check.usd.texture.convert_to_dds.ConvertToDDS#
- pydantic model Data#
Show JSON schema
{ "title": "Data", "type": "object", "properties": { "on_progress_callback": { "default": null, "title": "On Progress Callback" }, "on_global_progress_callback": { "default": null, "title": "On Global Progress Callback" }, "data_flows": { "anyOf": [ { "items": { "$ref": "#/$defs/InOutDataFlow" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Data Flows" }, "channel": { "default": "Default", "title": "Channel", "type": "string" }, "expose_mass_ui": { "default": false, "title": "Expose Mass Ui", "type": "boolean" }, "expose_mass_queue_action_ui": { "default": false, "title": "Expose Mass Queue Action Ui", "type": "boolean" }, "cook_mass_template": { "default": false, "description": "Set this to true if you want the mass validator to use the plugin to cook the template", "title": "Cook Mass Template", "type": "boolean" }, "display_name_mass_template": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Name to show when we process a cooked template from mass processing", "title": "Display Name Mass Template" }, "display_name_mass_template_tooltip": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Tooltip to show when we process a cooked template from mass processing", "title": "Display Name Mass Template Tooltip" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "UUID of the plugin", "title": "Uuid" }, "progress": { "anyOf": [ { "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "number" }, { "type": "string" }, { "type": "boolean" } ], "type": "array" }, { "type": "null" } ], "default": [ 0.0, "Initializing", true ], "description": "Progress of the plugin", "title": "Progress" }, "global_progress_value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": 0.0, "description": "Global progress value of the plugin", "title": "Global Progress Value" }, "on_check_callback": { "default": null, "title": "On Check Callback" }, "on_fix_callback": { "default": null, "title": "On Fix Callback" }, "last_check_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Check Message" }, "last_check_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Check Data" }, "last_check_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Check Timing" }, "last_check_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Check Result" }, "last_fix_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Fix Message" }, "last_fix_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Fix Data" }, "last_fix_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Fix Timing" }, "last_fix_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Fix Result" }, "save_on_fix_failure": { "default": true, "title": "Save On Fix Failure", "type": "boolean" }, "context_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Context Name" }, "conversion_args": { "additionalProperties": { "$ref": "#/$defs/ConversionArgs" }, "default": { "inputs:diffuse_texture": { "args": [ "--format", "bc7", "--mip-gamma-correct" ] }, "inputs:normalmap_texture": { "args": [ "--format", "bc5", "--no-mip-gamma-correct" ] }, "inputs:reflectionroughness_texture": { "args": [ "--format", "bc4", "--no-mip-gamma-correct" ] }, "inputs:emissive_mask_texture": { "args": [ "--format", "bc7", "--mip-gamma-correct" ] }, "inputs:metallic_texture": { "args": [ "--format", "bc4", "--no-mip-gamma-correct" ] }, "inputs:height_texture": { "args": [ "--format", "bc4", "--no-mip-gamma-correct", "--mip-filter", "max" ] }, "inputs:transmittance_texture": { "args": [ "--format", "bc7", "--mip-gamma-correct" ] } }, "title": "Conversion Args", "type": "object" }, "replace_udim_textures_by_empty": { "default": false, "title": "Replace Udim Textures By Empty", "type": "boolean" }, "suffix": { "default": ".rtex.dds", "title": "Suffix", "type": "string" } }, "$defs": { "ConversionArgs": { "additionalProperties": false, "properties": { "args": { "items": { "type": "string" }, "title": "Args", "type": "array" } }, "required": [ "args" ], "title": "ConversionArgs", "type": "object" }, "InOutDataFlow": { "additionalProperties": false, "properties": { "name": { "default": "InOutData", "title": "Name", "type": "string" }, "channel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "Default", "title": "Channel" }, "input_data": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Input Data" }, "push_input_data": { "default": false, "title": "Push Input Data", "type": "boolean" }, "output_data": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Output Data" }, "push_output_data": { "default": false, "title": "Push Output Data", "type": "boolean" } }, "title": "InOutDataFlow", "type": "object" } }, "additionalProperties": false }
- Config:
extra: str = forbid
validate_assignment: bool = True
arbitrary_types_allowed: bool = True
- Fields:
conversion_args (dict[str, omni.flux.validator.plugin.check.usd.texture.convert_to_dds.ConversionArgs])data_flows (list[omni.flux.validator.factory.data_flow.in_out_data.InOutDataFlow] | None)replace_udim_textures_by_empty (bool)suffix (str)
- Validators:
_fire_global_progress_value_callback»global_progress_value_fire_last_check_result_callback»last_check_result_fire_last_fix_result_callback»last_fix_result_fire_progress_callback»progressdot_in_suffix»suffixsanitize_uuid»uuid
- field conversion_args: dict[str, ConversionArgs] = {'inputs:diffuse_texture': ConversionArgs(args=['--format', 'bc7', '--mip-gamma-correct']), 'inputs:emissive_mask_texture': ConversionArgs(args=['--format', 'bc7', '--mip-gamma-correct']), 'inputs:height_texture': ConversionArgs(args=['--format', 'bc4', '--no-mip-gamma-correct', '--mip-filter', 'max']), 'inputs:metallic_texture': ConversionArgs(args=['--format', 'bc4', '--no-mip-gamma-correct']), 'inputs:normalmap_texture': ConversionArgs(args=['--format', 'bc5', '--no-mip-gamma-correct']), 'inputs:reflectionroughness_texture': ConversionArgs(args=['--format', 'bc4', '--no-mip-gamma-correct']), 'inputs:transmittance_texture': ConversionArgs(args=['--format', 'bc7', '--mip-gamma-correct'])}#
- field data_flows: list[InOutDataFlow] | None = None#
- field replace_udim_textures_by_empty: bool = False#
- field suffix: str = '.rtex.dds'#
- Validated by:
- validator dot_in_suffix » suffix#
- model_post_init(context: Any, /) None#
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Parameters:
self – The BaseModel instance.
context – The context.
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- pydantic model omni.flux.validator.plugin.check.usd.texture.convert_to_octahedral.ConversionArgs#
Show JSON schema
{ "title": "ConversionArgs", "type": "object", "properties": { "encoding_attr": { "title": "Encoding Attr", "type": "string" }, "suffix": { "title": "Suffix", "type": "string" }, "replace_suffix": { "title": "Replace Suffix", "type": "string" } }, "additionalProperties": false, "required": [ "encoding_attr", "suffix", "replace_suffix" ] }
- Config:
extra: str = forbid
- Fields:
- Validators:
- field encoding_attr: str [Required]#
- field replace_suffix: str [Required]#
- Validated by:
- field suffix: str [Required]#
- Validated by:
- validator dot_not_in_replace_suffix » replace_suffix#
- class omni.flux.validator.plugin.check.usd.texture.convert_to_octahedral.ConvertToOctahedral#
- pydantic model Data#
Show JSON schema
{ "title": "Data", "type": "object", "properties": { "on_progress_callback": { "default": null, "title": "On Progress Callback" }, "on_global_progress_callback": { "default": null, "title": "On Global Progress Callback" }, "data_flows": { "anyOf": [ { "items": { "$ref": "#/$defs/InOutDataFlow" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Data Flows" }, "channel": { "default": "Default", "title": "Channel", "type": "string" }, "expose_mass_ui": { "default": false, "title": "Expose Mass Ui", "type": "boolean" }, "expose_mass_queue_action_ui": { "default": false, "title": "Expose Mass Queue Action Ui", "type": "boolean" }, "cook_mass_template": { "default": false, "description": "Set this to true if you want the mass validator to use the plugin to cook the template", "title": "Cook Mass Template", "type": "boolean" }, "display_name_mass_template": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Name to show when we process a cooked template from mass processing", "title": "Display Name Mass Template" }, "display_name_mass_template_tooltip": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Tooltip to show when we process a cooked template from mass processing", "title": "Display Name Mass Template Tooltip" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "UUID of the plugin", "title": "Uuid" }, "progress": { "anyOf": [ { "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "number" }, { "type": "string" }, { "type": "boolean" } ], "type": "array" }, { "type": "null" } ], "default": [ 0.0, "Initializing", true ], "description": "Progress of the plugin", "title": "Progress" }, "global_progress_value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": 0.0, "description": "Global progress value of the plugin", "title": "Global Progress Value" }, "on_check_callback": { "default": null, "title": "On Check Callback" }, "on_fix_callback": { "default": null, "title": "On Fix Callback" }, "last_check_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Check Message" }, "last_check_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Check Data" }, "last_check_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Check Timing" }, "last_check_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Check Result" }, "last_fix_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Fix Message" }, "last_fix_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Fix Data" }, "last_fix_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Fix Timing" }, "last_fix_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Fix Result" }, "save_on_fix_failure": { "default": true, "title": "Save On Fix Failure", "type": "boolean" }, "context_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Context Name" }, "conversion_args": { "additionalProperties": { "$ref": "#/$defs/ConversionArgs" }, "default": { "inputs:normalmap_texture": { "encoding_attr": "inputs:encoding", "replace_suffix": "_Normal", "suffix": "_OTH_Normal" } }, "title": "Conversion Args", "type": "object" }, "replace_udim_textures_by_empty": { "default": false, "title": "Replace Udim Textures By Empty", "type": "boolean" } }, "$defs": { "ConversionArgs": { "additionalProperties": false, "properties": { "encoding_attr": { "title": "Encoding Attr", "type": "string" }, "suffix": { "title": "Suffix", "type": "string" }, "replace_suffix": { "title": "Replace Suffix", "type": "string" } }, "required": [ "encoding_attr", "suffix", "replace_suffix" ], "title": "ConversionArgs", "type": "object" }, "InOutDataFlow": { "additionalProperties": false, "properties": { "name": { "default": "InOutData", "title": "Name", "type": "string" }, "channel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "Default", "title": "Channel" }, "input_data": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Input Data" }, "push_input_data": { "default": false, "title": "Push Input Data", "type": "boolean" }, "output_data": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Output Data" }, "push_output_data": { "default": false, "title": "Push Output Data", "type": "boolean" } }, "title": "InOutDataFlow", "type": "object" } }, "additionalProperties": false }
- Config:
extra: str = forbid
validate_assignment: bool = True
arbitrary_types_allowed: bool = True
- Fields:
conversion_args (dict[str, omni.flux.validator.plugin.check.usd.texture.convert_to_octahedral.ConversionArgs])data_flows (list[omni.flux.validator.factory.data_flow.in_out_data.InOutDataFlow] | None)replace_udim_textures_by_empty (bool)
- Validators:
_fire_global_progress_value_callback»global_progress_value_fire_last_check_result_callback»last_check_result_fire_last_fix_result_callback»last_fix_result_fire_progress_callback»progresssanitize_uuid»uuid
- field conversion_args: dict[str, ConversionArgs] = {'inputs:normalmap_texture': ConversionArgs(encoding_attr='inputs:encoding', suffix='_OTH_Normal', replace_suffix='_Normal')}#
- field data_flows: list[InOutDataFlow] | None = None#
- field replace_udim_textures_by_empty: bool = False#
- model_post_init(context: Any, /) None#
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Parameters:
self – The BaseModel instance.
context – The context.
- class omni.flux.validator.plugin.check.usd.texture.convert_to_octahedral.NormalMapEncodings(value)#
An enumeration.
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- class omni.flux.validator.plugin.check.usd.texture.mass_texture_preview.MassTexturePreview#
- pydantic model Data#
Show JSON schema
{ "title": "Data", "type": "object", "properties": { "on_progress_callback": { "default": null, "title": "On Progress Callback" }, "on_global_progress_callback": { "default": null, "title": "On Global Progress Callback" }, "data_flows": { "anyOf": [ { "items": { "$ref": "#/$defs/DataFlow" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Data Flows" }, "channel": { "default": "Default", "title": "Channel", "type": "string" }, "expose_mass_ui": { "default": false, "title": "Expose Mass Ui", "type": "boolean" }, "expose_mass_queue_action_ui": { "default": false, "title": "Expose Mass Queue Action Ui", "type": "boolean" }, "cook_mass_template": { "default": false, "description": "Set this to true if you want the mass validator to use the plugin to cook the template", "title": "Cook Mass Template", "type": "boolean" }, "display_name_mass_template": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Name to show when we process a cooked template from mass processing", "title": "Display Name Mass Template" }, "display_name_mass_template_tooltip": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Tooltip to show when we process a cooked template from mass processing", "title": "Display Name Mass Template Tooltip" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "UUID of the plugin", "title": "Uuid" }, "progress": { "anyOf": [ { "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "number" }, { "type": "string" }, { "type": "boolean" } ], "type": "array" }, { "type": "null" } ], "default": [ 0.0, "Initializing", true ], "description": "Progress of the plugin", "title": "Progress" }, "global_progress_value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": 0.0, "description": "Global progress value of the plugin", "title": "Global Progress Value" }, "on_check_callback": { "default": null, "title": "On Check Callback" }, "on_fix_callback": { "default": null, "title": "On Fix Callback" }, "last_check_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Check Message" }, "last_check_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Check Data" }, "last_check_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Check Timing" }, "last_check_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Check Result" }, "last_fix_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Fix Message" }, "last_fix_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Fix Data" }, "last_fix_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Fix Timing" }, "last_fix_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Fix Result" }, "save_on_fix_failure": { "default": true, "title": "Save On Fix Failure", "type": "boolean" }, "context_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Context Name" }, "temp_usd": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Temp Usd" } }, "$defs": { "DataFlow": { "additionalProperties": false, "properties": { "name": { "title": "Name", "type": "string" }, "channel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "Default", "title": "Channel" } }, "required": [ "name" ], "title": "DataFlow", "type": "object" } }, "additionalProperties": false }
- Config:
extra: str = forbid
validate_assignment: bool = True
arbitrary_types_allowed: bool = True
- Fields:
temp_usd (str | None)
- Validators:
_fire_global_progress_value_callback»global_progress_value_fire_last_check_result_callback»last_check_result_fire_last_fix_result_callback»last_fix_result_fire_progress_callback»progresssanitize_uuid»uuid
- field temp_usd: str | None = None#
- model_post_init(context: Any, /) None#
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Parameters:
self – The BaseModel instance.
context – The context.
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- class omni.flux.validator.plugin.check.usd.xform.apply_unit_scale.ApplyUnitScale#
- pydantic model Data#
Show JSON schema
{ "title": "Data", "type": "object", "properties": { "on_progress_callback": { "default": null, "title": "On Progress Callback" }, "on_global_progress_callback": { "default": null, "title": "On Global Progress Callback" }, "data_flows": { "anyOf": [ { "items": { "$ref": "#/$defs/DataFlow" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Data Flows" }, "channel": { "default": "Default", "title": "Channel", "type": "string" }, "expose_mass_ui": { "default": false, "title": "Expose Mass Ui", "type": "boolean" }, "expose_mass_queue_action_ui": { "default": false, "title": "Expose Mass Queue Action Ui", "type": "boolean" }, "cook_mass_template": { "default": false, "description": "Set this to true if you want the mass validator to use the plugin to cook the template", "title": "Cook Mass Template", "type": "boolean" }, "display_name_mass_template": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Name to show when we process a cooked template from mass processing", "title": "Display Name Mass Template" }, "display_name_mass_template_tooltip": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Tooltip to show when we process a cooked template from mass processing", "title": "Display Name Mass Template Tooltip" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "UUID of the plugin", "title": "Uuid" }, "progress": { "anyOf": [ { "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "number" }, { "type": "string" }, { "type": "boolean" } ], "type": "array" }, { "type": "null" } ], "default": [ 0.0, "Initializing", true ], "description": "Progress of the plugin", "title": "Progress" }, "global_progress_value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": 0.0, "description": "Global progress value of the plugin", "title": "Global Progress Value" }, "on_check_callback": { "default": null, "title": "On Check Callback" }, "on_fix_callback": { "default": null, "title": "On Fix Callback" }, "last_check_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Check Message" }, "last_check_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Check Data" }, "last_check_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Check Timing" }, "last_check_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Check Result" }, "last_fix_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Fix Message" }, "last_fix_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Fix Data" }, "last_fix_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Fix Timing" }, "last_fix_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Fix Result" }, "save_on_fix_failure": { "default": true, "title": "Save On Fix Failure", "type": "boolean" }, "context_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Context Name" }, "scale_target": { "default": 1.0, "title": "Scale Target", "type": "number" } }, "$defs": { "DataFlow": { "additionalProperties": false, "properties": { "name": { "title": "Name", "type": "string" }, "channel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "Default", "title": "Channel" } }, "required": [ "name" ], "title": "DataFlow", "type": "object" } }, "additionalProperties": false }
- Config:
extra: str = forbid
validate_assignment: bool = True
arbitrary_types_allowed: bool = True
- Fields:
scale_target (float)
- Validators:
_fire_global_progress_value_callback»global_progress_value_fire_last_check_result_callback»last_check_result_fire_last_fix_result_callback»last_fix_result_fire_progress_callback»progressnon_zero_positive_number»scale_targetsanitize_uuid»uuid
- field scale_target: float = 1.0#
- Validated by:
- model_post_init(context: Any, /) None#
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Parameters:
self – The BaseModel instance.
context – The context.
- validator non_zero_positive_number » scale_target#
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- class omni.flux.validator.plugin.check.usd.xform.reset_pivot.ResetPivot#
- pydantic model Data#
Show JSON schema
{ "title": "Data", "type": "object", "properties": { "on_progress_callback": { "default": null, "title": "On Progress Callback" }, "on_global_progress_callback": { "default": null, "title": "On Global Progress Callback" }, "data_flows": { "anyOf": [ { "items": { "$ref": "#/$defs/DataFlow" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Data Flows" }, "channel": { "default": "Default", "title": "Channel", "type": "string" }, "expose_mass_ui": { "default": false, "title": "Expose Mass Ui", "type": "boolean" }, "expose_mass_queue_action_ui": { "default": false, "title": "Expose Mass Queue Action Ui", "type": "boolean" }, "cook_mass_template": { "default": false, "description": "Set this to true if you want the mass validator to use the plugin to cook the template", "title": "Cook Mass Template", "type": "boolean" }, "display_name_mass_template": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Name to show when we process a cooked template from mass processing", "title": "Display Name Mass Template" }, "display_name_mass_template_tooltip": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Tooltip to show when we process a cooked template from mass processing", "title": "Display Name Mass Template Tooltip" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "UUID of the plugin", "title": "Uuid" }, "progress": { "anyOf": [ { "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "number" }, { "type": "string" }, { "type": "boolean" } ], "type": "array" }, { "type": "null" } ], "default": [ 0.0, "Initializing", true ], "description": "Progress of the plugin", "title": "Progress" }, "global_progress_value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": 0.0, "description": "Global progress value of the plugin", "title": "Global Progress Value" }, "on_check_callback": { "default": null, "title": "On Check Callback" }, "on_fix_callback": { "default": null, "title": "On Fix Callback" }, "last_check_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Check Message" }, "last_check_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Check Data" }, "last_check_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Check Timing" }, "last_check_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Check Result" }, "last_fix_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Last Fix Message" }, "last_fix_data": { "anyOf": [ {}, { "type": "null" } ], "default": null, "description": "This is tmp we don't keep it in the schema", "title": "Last Fix Data" }, "last_fix_timing": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Last Fix Timing" }, "last_fix_result": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Last Fix Result" }, "save_on_fix_failure": { "default": true, "title": "Save On Fix Failure", "type": "boolean" }, "context_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Context Name" }, "pivot_position": { "default": [ 0.0, 0.0, 0.0 ], "maxItems": 3, "minItems": 3, "prefixItems": [ { "type": "number" }, { "type": "number" }, { "type": "number" } ], "title": "Pivot Position", "type": "array" } }, "$defs": { "DataFlow": { "additionalProperties": false, "properties": { "name": { "title": "Name", "type": "string" }, "channel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "Default", "title": "Channel" } }, "required": [ "name" ], "title": "DataFlow", "type": "object" } }, "additionalProperties": false }
- Config:
extra: str = forbid
validate_assignment: bool = True
arbitrary_types_allowed: bool = True
- Fields:
pivot_position (tuple[float, float, float])
- Validators:
_fire_global_progress_value_callback»global_progress_value_fire_last_check_result_callback»last_check_result_fire_last_fix_result_callback»last_fix_result_fire_progress_callback»progresssanitize_uuid»uuidtranslate_format_valid»pivot_position
- field pivot_position: tuple[float, float, float] = (0.0, 0.0, 0.0)#
- Validated by:
- model_post_init(context: Any, /) None#
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Parameters:
self – The BaseModel instance.
context – The context.
- validator translate_format_valid » pivot_position#