Write
- plot3d.write.write_plot3D(filename: str, blocks: List[Block], binary: bool = True, big_endian: bool = False, double_precision: bool = True, fortran: bool = False, batch_size: int = 100)[source]
Writes blocks to a Plot3D file.
- Parameters:
filename (str) – name of the file to create
blocks (List[Block]) – List containing all the blocks to write
binary (bool, optional) – Write in binary format. Defaults to True.
big_endian (bool, optional) – Use big-endian byte order for binary. Defaults to False (little-endian).
double_precision (bool, optional) – Write using double precision (8-byte). Defaults to True.
fortran (bool, optional) – Write Fortran unformatted binary with record markers. Defaults to False.
batch_size (int, optional) – number of items (binary) or lines (ASCII) to buffer before writing. Defaults to 100.