write_block_graph_to_dae_file#
- tqec.interop.write_block_graph_to_dae_file(block_graph, file_like, pipe_length=2.0, pop_faces_at_directions=(), show_correlation_surface=None)[source]#
Write a
BlockGraph
to a Collada DAE file.- Parameters:
block_graph (BlockGraph) – The block graph to write to the DAE file.
file_like (str | Path | BinaryIO) – The output file path or file-like object that supports binary write.
pipe_length (float) – The length of the pipes in the COLLADA model. Default is 2.0.
pop_faces_at_directions (Iterable[SignedDirection3D | str]) – Remove the faces at the given directions for all the blocks. This is useful for visualizing the internal structure of the blocks. Default is None.
show_correlation_surface (CorrelationSurface | None) – The
CorrelationSurface
to show in the block graph. Default is None.
- Return type:
None