[vtkusers] vtkPolyData write STL file
alihadim
ali.hadimogullari at netcad.com.tr
Fri Jan 9 08:31:41 EST 2015
I run my code but I coundn't write STL file. ltempFile have been writing
uses vtkPolyDataWriter class.
Can you help me?
vtkPolyDataReader rd = new vtkPolyDataReader();
rd.SetFileName(ltempFile);
rd.Update();
vtk.vtkSTLWriter stl = new vtkSTLWriter();
stl.SetFileName("d:\\Example.stl");
stl.SetInputConnection(rd.GetOutputPort());
int cnt = stl.Write();
--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkPolyData-write-STL-file-tp5730049.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list