<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div><font style="background-color: rgb(255, 255, 255);">hi,</font></div><div><font style="background-color: rgb(255, 255, 255);"><br></font></div><div><font style="background-color: rgb(255, 255, 255);">Usually I use vtkPolyDataWriter to store my vtkPolyData, but now failed by trying vtkSTLWriter. Below is my code:</font></div><div><font style="background-color: rgb(255, 255, 255);"><br></font></div><div><font style="background-color: rgb(255, 255, 255);">vtkPolyData   *pvtkData= = vtkPolyData::New(); </font></div><div><font style="background-color: rgb(255, 255, 255);">...</font></div><div><font style="background-color: rgb(255, 255, 255);">vtkSTLWriter *pstlWriter =vtkSTLWriter::New();</font></div><div><font style="background-color: rgb(255, 255, 255);">pstlWriter->SetInput(pvtkData); <br>pstlWriter->SetFileName("out.stl"); <br>pstlWriter->Write();</font></div><div><font style="background-color: rgb(255, 255, 255);"><br></font></div><div><font style="background-color: rgb(255, 255, 255);">How to make it work?</font></div><div><font style="background-color: rgb(255, 255, 255);"><br></font></div><div><font style="background-color: rgb(255, 255, 255);">Best Regards,</font></div><div><font style="background-color: rgb(255, 255, 255);">Kailu</font></div><div><font style="background-color: rgb(255, 255, 255);"><br></font></div></div><br><br><span title="neteasefooter"><p> </p></span>