write_size_field#
- FileIO.write_size_field(file_name, params)#
Write a PyPrimeMesh size field (PSF) file to a file on disk.
- Parameters:
- file_name
str
Path to the size field file on disk.
- params
WriteSizeFieldParams
Parameters for writing the size field file.
- file_name
- Returns:
FileWriteResults
Results from writing the size field file.
- Return type:
Notes
This method does not support Unicode paths.
Examples
>>> file_io = prime.FileIO(model=model) >>> params = prime.WriteSizeFieldParams(model=model) >>> results = file_io.write_size_field("/tmp/my_prime_sizefield.psf", params)