Clarisse¶
Analyse assets, save the result as a local json file. Before analysis, verify initial configuration info.
A interface for clarisse.
-
class
rayvision_clarisse.analyse_clarisse.
AnalyzeClarisse
(cg_file, software_version, project_name=None, plugin_config=None, render_software='Clarisse', local_os=None, workspace=None, custom_exe_path=None, platform='2', logger=None, log_folder=None, log_name=None, log_level='DEBUG')¶ Bases:
object
-
add_tip
(code, info)¶ Add error message.
Parameters:
-
analyse
(no_upload=False)¶ Analytical master method for clarrise.
-
analyse_cg_file
()¶ Start analyse cg file.
- Examples cmd command:
“D:/myproject/internal_news/rayvision_clarisse/rayvision_clarisse /tool/Analyze.exe” -cf “E:/copy/DHGB_sc05_zhuta_610-1570_v0102.project” -tj
“c:/workspace/work/10398483/task.json”
-
static
check_local_os
(local_os)¶ Check the system name.
Parameters: local_os (str) – System name. Returns: str
-
static
check_path
(tmp_path)¶ Check if the path exists.
-
check_result
()¶ Check that the analysis results file exists.
-
check_workspace
(workspace)¶ Check the working environment.
Parameters: workspace (str) – Workspace path. Returns: Workspace path. Return type: str
-
gather_upload_dict
()¶ Gather upload info.
Examples
- {
- “asset”: [
- {
- “local”: “E:/copy/muti_layer_test.ma”, “server”: “/E/copy/muti_layer_test.ma”
}
]
}
-
get_file_md5
(file_path)¶ Generate the md5 values for the scenario.
-
save_tips
()¶ Write the error message to tips.json.
-
write_task_json
()¶ The initialization task.json.
-
write_tips_info
()¶ Write tips info.
-