openscenegraph/osg — pull request #4 by piotrdomagalski (2012-07-10 16:27:07+00:00)
Title: Stl improvements

These are a few improvements to STL plugin.

- STL ASCII files with more than one solid are properly read along with using their names as OSG node name. Each solid is represented by a distinct Geode.
- The hierarchy is properly written back to an STL file.
- "dontSaveNormals" option allows to ignore normals while writting an STL file (normals are set to [0 0 0] value).
- "separateFiles" now causes the plugin to produce fooN.stl files instead of foo.stlN where N is the identifier of a solid.
- The code was reformatted to use a consistent style. The particular style was chosen as the most common one already used.