[vtkusers] best way to save vtkpolydata for ANSYS

Ali Habib ali.mahmoud.habib at gmail.com
Fri Dec 25 11:57:59 EST 2009


Dear All.

how to save vtkpolydata to be suitable for using in ANSYS

I used vtkstlwriter as following:

            vtkSTLWriter writer = vtkSTLWriter::NEW();
            writer->SetInput(triangle2.GetOutput());
            writer->SetFileName("test");

but when load test file using vtk give the following warning :

ENDFACET  is not a recognized  BEGIN command ,abbreviation, or macro this
command will be ignored

Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091225/cf50bb66/attachment.htm>


More information about the vtkusers mailing list