read_block_graph_from_dae_file#
- tqec.interop.read_block_graph_from_dae_file(filepath, graph_name='')[source]#
Read a Collada DAE file and construct a
BlockGraph
from it.- Parameters:
filepath (str | Path) – The input dae file path.
graph_name (str) – The name of the block graph. Default is an empty string.
- Returns:
The constructed
BlockGraph
object.- Raises:
TQECException – If the COLLADA model cannot be parsed and converted to a block graph.
- Return type: