<div dir="ltr">Hello<br>I am a newbie in vtk and have a stl file and want to slice it.<br>I use vtkSTLReader and vtkCutter to cutte it (plane z=1) but I can&#39;t write it to image file (png format). How can I do that? and How can I set the density of out put image (DPI)?<br>

if vtkSTLReader convert my stl file to a 3 dimension matrix, I think it&#39;s faster and simpler to work with matrix to get my layer isn&#39;t it?<br><br>Regards<br>Aminzadeh<br><br></div>