<div dir="ltr">Well, after a few researchs, i discover this: <div>with STL's at the binary forms, works well, the problem is when the STL file is in format ASCII.</div><div><div>Well, I could not go much further than that. I looked all class vtkSTLReader provided on github (<a href="https://github.com/Kitware/VTK/blob/master/IO/Geometry/vtkSTLReader.cxx" target="_blank">https://github.com/Kitware/VTK/blob/master/IO/Geometry/vtkSTLReader.cxx</a>) and analyzed with my file of Tardis. The error happens when the first point was readed. I think(?)</div><div><div>0 ->solid Object01 (Ignore)</div><div>1-> facet normal 0.000000e+000 -0.000000e+000 -1.000000e+000 (LineCount=1) at line 350/ (LineCount=2) at line 353</div><div>2-> outer loop</div><div><b>3-> vertex -6.820349e-001 -6.797730e-001 3.191896e+001</b></div><div>4-> vertex -6.820349e-001 6.797730e-001 3.191896e+001</div><div>5-> vertex 6.820349e-001 6.797730e-001 3.191896e+001</div><div>6-> endloop</div><div>7-> endfacet</div></div><div>What I find funny is that, when I compile the file provided by VTK Wiki (<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadSTL" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadSTL</a>) everything works normally. The problem is when I generate this code inside my App. At my previous e-mail is my function, i just change 3 lines to work at my project.</div></div><div>I'm really confused. </div><div>Please, help me to discover whats going on.</div><div>Thanks</div><div><br></div><div><div>LineCount 1 at line 350</div><div>Read Line at line 351: facet normal 0.000000e+000 -0.000000e+000 -1.000000e+000</div><div>LineCount 2 at line 353</div><div>Test Failed, Jump to line 367</div><div>Read Line -> outer loop at line 367</div><div>LineCount 3 at line 371</div><div>Read one String and 3 Floats -> vertex -6.820349e-001 -6.797730e-001 3.191896e+001 at line 373</div><div>throw error ate line 375</div></div><div><br></div><div>Could be problem of my SO(Fedora 22)? Because my friend in ArchLinux open the App and works fine.</div><div>Thanks</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-07 21:33 GMT-02:00 Lays Rodrigues <span dir="ltr"><<a href="mailto:laysrodriguessilva@gmail.com" target="_blank">laysrodriguessilva@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi guys, good night!<div>I have made a function to render Stl files on my qtApp. However, dont work with a STL that worked before. At the first time that I open a Doctor Who Tardis worked fine(a few days ago), but when i try to open again(today) this error happens:</div><div>------------------</div><div><div><b>^CERROR: In /home/lays/Downloads/VTK-6.3.0/IO/Geometry/vtkSTLReader.cxx, line 461</b></div><div><b>vtkSTLReader (0x463f570): STLReader: error while reading file /home/lays/Downloads/Doctor_Who_Tardis/Doctor_Who_Tardis.STL at line 3: unable to read point.</b></div><div><b><br></b></div><div><b>ERROR: In /home/lays/Downloads/VTK-6.3.0/Common/ExecutionModel/vtkExecutive.cxx, line 784</b></div><div><b>vtkCompositeDataPipeline (0x36c2040): Algorithm vtkSTLReader(0x463f570) returned failure for request: vtkInformation (0x359d700)</b></div><div><b> Debug: Off</b></div><div><b> Modified Time: 148542</b></div><div><b> Reference Count: 1</b></div><div><b> Registered Events: (none)</b></div><div><b> Request: REQUEST_DATA</b></div><div><b> FROM_OUTPUT_PORT: 0</b></div><div><b> ALGORITHM_AFTER_FORWARD: 1</b></div><div><b> FORWARD_DIRECTION: 0</b></div><div>------------------</div>It happens with other STL files to.<br><br>The function is this:</div><div><br><a href="http://pastebin.com/qPzTsidp" target="_blank">http://pastebin.com/qPzTsidp</a><br><br>Any tips for what happening?<br>Thanks!<br>--<div><div dir="ltr"><div><div dir="ltr">__<span class="HOEnZb"><font color="#888888"><div><b>Lays Rodrigues</b></div><div><b>Developer Front-End at Br-Print3D Project</b></div><div><b>Student of Computer Science at UFF/PURO</b></div><div>Organizadora da Semana da Computação UFF-PURO</div><div><a href="http://www.facebook.com/semanacomputacaopuro" target="_blank">www.facebook.com/semanacomputacaopuro</a></div><div><a href="http://www.facebook.com/brprint3d" target="_blank">www.facebook.com/brprint3d</a><br></div><div><br></div><div><br></div><div><br></div></font></span></div></div></div></div>
</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">__<div><b>Lays Rodrigues</b></div><div><b>Developer Front-End at Br-Print3D Project</b></div><div><b>Student of Computer Science at UFF/PURO</b></div><div>Organizadora da Semana da Computação UFF-PURO</div><div><a href="http://www.facebook.com/semanacomputacaopuro" target="_blank">www.facebook.com/semanacomputacaopuro</a></div><div><a href="http://www.facebook.com/brprint3d" target="_blank">www.facebook.com/brprint3d</a><br></div><div><br></div><div><br></div><div><br></div></div></div></div></div>
</div>