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_direction=None, 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 – 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_direction (SignedDirection3D | None) – Remove the faces at the given direction 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.

  • file_like (str | Path | BinaryIO)

Return type:

None