Re: [rp-ml] STL files

From: steve <sjbaker1_at_airmail.net>
Date: Tue Nov 07 2006 - 08:49:46 EET

Wesley Brooks wrote:
> Just to clarify what I ment by the listing of points and IDs to make
> triangles;
>
> Here is a simple file format using trangles to make a box:
>
> List of Points:
> 0.0, 0.0, 0.0
> 10.0, 0.0, 0.0
...snip...
> List of Triangles: (ID 0 = first point in point list)
> 0 1 3
> 1 2 3
> 1 5 2
...snip...

What you are describing is exactly what PLY does - except
that you can squish the file still further by using quads
and higher order polygons as well as triangles - and you
can specify which vertex attributes there are and at what
precision they are represented. (So you can have colours
and/or texture coordinates, etc)

PLY can also store 'List of Edges' so you can get a better
handle on the topology of the model when cracks and gaps
are a problem.

But at the basics, what you laid out there was almost
exactly what a minimal PLY file looks like.
Received on Thu Dec 07 07:30:44 2006

This archive was generated by hypermail 2.1.8 : Tue Jul 21 2009 - 10:27:52 EEST