View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015411VTK(No Category)public2015-04-06 07:282016-07-21 14:21
ReporterEdson Tadeu M. Manoel 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version6.0.0 
Target VersionFixed in Version 
Summary0015411: vtkSTLReader is not able to read STL file with multiple patches
DescriptionNOTE: I've already opened a merge request here: https://gitlab.kitware.com/vtk/vtk/merge_requests/89 [^]


If we have an ASCII STL file with multiple patches, in the format:

<code>
solid wing_1
    facet normal -0.988028 0.000000 -0.154276
        outer loop
           vertex 5.111373 2.636347 1.956025
           vertex 5.111609 3.636347 1.948793
           vertex 5.111373 3.636347 1.956025
        endloop
    endfacet
    facet normal -0.988028 -0.000000 -0.154276
        outer loop
           vertex 5.111609 3.636347 1.948793
           vertex 5.111373 2.636347 1.956025
           vertex 5.111609 2.636347 1.948793
        endloop
    endfacet
   ...
    facet normal -0.000004 1.000000 -0.000004
        outer loop
           vertex 5.322488 2.636348 1.971589
           vertex 5.111609 2.636347 1.948793
           vertex 5.118849 2.636347 1.940065
        endloop
    endfacet
endsolid wing_1
solid wing_2
    facet normal -0.988028 0.000000 -0.154275
        outer loop
           vertex 5.516308 2.636347 2.030015
           vertex 5.514788 3.636347 2.022941
           vertex 5.516308 3.636347 2.030015
        endloop
    endfacet
    facet normal -0.988028 -0.000000 -0.154275
        outer loop
           vertex 5.514788 3.636347 2.022941
           vertex 5.516308 2.636347 2.030015
           vertex 5.514788 2.636347 2.022941
        endloop
    endfacet
    ...
    facet normal -0.000004 1.000000 -0.000004
        outer loop
           vertex 5.724917 2.636348 1.994043
           vertex 5.514788 2.636347 2.022941
           vertex 5.519701 2.636347 2.012721
        endloop
    endfacet
endsolid wing_2
</code>

The vtkSTLReader is not able to read it, giving the following error:

<code>
vtkSTLReader (...): STLReader: error while reading file ... at line ...: unable to read reading point.
</code>
TagsNo tags attached.
ProjectTBD
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0036541)
Haocheng Liu (developer)
2016-07-21 14:21

Fixed in MR!592.

 Issue History
Date Modified Username Field Change
2015-04-06 07:28 Edson Tadeu M. Manoel New Issue
2016-07-06 16:47 Berk Geveci Status backlog => expired
2016-07-21 14:21 Haocheng Liu Note Added: 0036541
2016-07-21 14:21 Haocheng Liu Status expired => closed
2016-07-21 14:21 Haocheng Liu Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team