Save spatial binning data

Quote from Felipe Perez on August 28, 2019, 11:43 pmIn Ovito 2.9.0 it was possible to save the spatial binning to a text file and that was a nice feature. In Ovito 3.0.0, though, it is not possible. I am wondering if that feature can be included again. Thanks!
In Ovito 2.9.0 it was possible to save the spatial binning to a text file and that was a nice feature. In Ovito 3.0.0, though, it is not possible. I am wondering if that feature can be included again. Thanks!

Quote from Constanze Kalcher on August 29, 2019, 11:06 amHello Felipe,
you're right, at the moment it is only possible to export 1d spatial binning data through the file-export function in the GUI, but being able to export the 2d and 3d Voxel grids that can be produced by the Spatial Binning Modifier is definitely on the list of things to be included in future releases.
For the moment, let me refer you to the following post where I explained how to use a python script modifier to export 2d and 3d grids.
https://www.ovito.org/forum/topic/bin-and-reduce-attributes/
Hope that helps,Constanze
Hello Felipe,
you're right, at the moment it is only possible to export 1d spatial binning data through the file-export function in the GUI, but being able to export the 2d and 3d Voxel grids that can be produced by the Spatial Binning Modifier is definitely on the list of things to be included in future releases.
For the moment, let me refer you to the following post where I explained how to use a python script modifier to export 2d and 3d grids.
https://www.ovito.org/forum/topic/bin-and-reduce-attributes/
Hope that helps,
Constanze

Quote from Alexander Stukowski on September 3, 2019, 9:55 amHi Felipe,
I have added support for a new output format to the latest build, Ovito 3.0.0-dev478, which permits exporting 2d and 3d grid data computed by the Spatial Binning modifier to a VTK output file. Simply use the normal File->Export File function from the main menu and select "VTK Voxel Grid File" as output format. The generated VTK files are text-based, easy to interpret and can be opened with the ParaView software if needed.
Let me know if you have any questions.
-Alex
Hi Felipe,
I have added support for a new output format to the latest build, Ovito 3.0.0-dev478, which permits exporting 2d and 3d grid data computed by the Spatial Binning modifier to a VTK output file. Simply use the normal File->Export File function from the main menu and select "VTK Voxel Grid File" as output format. The generated VTK files are text-based, easy to interpret and can be opened with the ParaView software if needed.
Let me know if you have any questions.
-Alex

Quote from Felipe Perez on September 3, 2019, 3:22 pmHi Alex,
Thank you so very much. It works great!
Hi Alex,
Thank you so very much. It works great!
新的OVITO微信频道!
New for our users in China: OVITO on WeChat
Official OVITO WeChat channel operated by Foshan Diesi Technology Co., Ltd.
