Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 737
    • Issues 737
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 209
    • Merge requests 209
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTKVTK
  • Issues
  • #17884

Closed
Open
Created May 07, 2020 by Philipp Weissenbacher@philipp.weissenbacher

vtkTubeFilter with binary vtkSTLWriter

VTK version 8.90 - commit 538fba52

Today if experienced an issue (or a bug) while creating vtkPolyData with vtkTubeFilter and writing the information into a binary STL file with vtkSTLWriter.

When writing the STL file in ASCII format, there is no problem.

I found, that the binary STL file does not contain a valid number of polygons (first uint32 value after 80-bytes header) which is necessary to open the binary STL. The ASCII file does not need such an information, which is why I think there are no problems when writing in ASCII format.

When using vtkPolyData::PrintSelf() on the output of vtkTubeFilter, there is no information about the number of polygons. Solely the number of triangles strips is given.

I've attached the corrupt STL file of a tube generated from a spline.

corruptSTL.stl

Edited May 07, 2020 by Philipp Weissenbacher
Assignee
Assign to
Time tracking