[vtkusers] vtk to stl -> code is working, but with error mesage. why?

-Daniel- ich_daniel at habmalnefrage.de
Thu Jan 22 04:06:05 EST 2015


Hi Andy,

Maybe you try this (Java-Code):
/
vtkCleanPolyData clean = new vtkCleanPolyData();
clean.SetInputConnection(vtkreader.GetOutputPort());	

vtkTriangleFilter triangles = new vtkTriangleFilter();
triangles.SetInputConnection(clean.GetOutputPort()); 

vtkSTLWriter writer = new vtkSTLWriter();
writer.SetInputConnection(triangles.GetOutputPort());
writer.SetFileName(file);
writer.SetFileTypeToASCII();
writer.Write();
writer.Update();
/
Of course you must convert this code to C++. ;)





--
View this message in context: http://vtk.1045678.n5.nabble.com/Re-vtk-to-stl-code-is-working-but-with-error-mesage-why-tp5730175p5730208.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list