![]() Home Overview FAQ Documentation Download Mailing List Geomview For Windows? Support Users Development Bug Reporting Contributing Contact Us Sponsors 
 
 
  | 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Closed REQ 5916]: Geomview
 
> I am interested in using your program, Geomview, for displaying Stereo
> Lithography (STL) data files.  This file format, basically, defines 3-D
> objects in terms of triangular meshes.  The file format includes
> specification of each triangle's vertex list and its associated surface
> normal.
We don't know anything about the STL file format, though it probably wouldn't
be hard to convert from it to one of geomview's formats, specifically the
OFF format.  That takes a table of vertex positions, and a table of 
faces, listing vertex indices used for each face.
For example, here's a tetrahedron:
OFF			# or "NOFF" if vertex-normal follows each vertex
4 4 6			# Vertices, faces, edges (edge count ignored)
0.0 0.0 2.0			# vertex 0
1.632993 -0.942809 -0.666667	# ...
0.000000 1.885618 -0.666667
-1.632993 -0.942809 -0.666667	# vertex 3
3 1 0 3			# 3 vertices (triangle) on verts 1, 0, 3
3 2 0 1			# etc.
3 3 0 2
3 3 2 1
Geomview might well be a suitable package for viewing your files.  It's not
shareware, but freely redistributable.  It does only run on UNIX systems,
though.  See:
    http://www.geom.umn.edu/software/geomview
  | 
  ||
| 
      Home | Overview | FAQ | Documentation | Support | Download | Mailing List Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors  | 
  |||
| 
      site hosted by | 
  |||