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
BlockGraphfrom it.- Parameters:
filepath (str | Path) – The input dae file path.
graph_name (str) – The name of the block graph. Default is an empty string.
fix_shadowed_faces – Whether to fix the shadowed faces in the block graph. See
BlockGraph.fix_shadowed_faces()for more details. Default is True.
- Returns:
The constructed
BlockGraphobject.- Raises:
TQECError – If the COLLADA model cannot be parsed and converted to a block graph.
- Return type:
BlockGraph