[vtkusers] Export STL files with VTK

thomas bajeux thomasb at ece.ubc.ca
Tue Aug 22 14:23:14 EDT 2000


ok, i am sure my data is triangles.

my  ASCII file is dataset polydata and the strutures are points, triangles
strips and the point data is with vectors and nomals.

how can VTK export STL files?

thomas
---

Thomas BAJEUX
Robotics and Control Laboratory
Department of Electrical and Computer Engineering
University of British Columbia
Email : thomasb at ece.ubc.ca


On Mon, 21 Aug 2000, Will Schroeder wrote:

> vtkSTLWriter writes out triangle vtkPolyData. Look at vtk/graphics/examplesTcl/AllWriters.tcl for an example.
> 
> At 02:53 PM 8/21/00 -0700, thomas bajeux wrote:
> 
> >hi, 
> >
> >how can VTK export STL files ?
> >
> >i indeed want to use these files to mesh in 3D my volumetric model built
> >with VTK and i need STL (or STEP) files for my mesh generator.
> >
> >so how can VTK export STL files ?
> >Is the result perfect?
> 
> Make sure the data is triangles.
> Will
> 
> 
> 
> 
> --------------------------------
> Dr. William J. Schroeder
> Kitware Visualization Solutions / vtk Commercial Support
> 469 Clifton Corporate Parkway
> Clifton Park, NY 12065
> will.schroeder at kitware.com
> 1-518-371-3971 (Phone & Fax)
> 
> 





More information about the vtkusers mailing list