This C# library provides functionality for parsing STL (stereolithography) files, supporting binary formats. It includes methods for reading and writing STL files, enabling seamless integration into your C# projects.
- Binary STL Read/Write: Allows reading and writing of STL files in binary format.
- Easy Integration: Simple-to-use methods for integrating STL parsing capabilities into your C# applications.
// Import the STLParser namespace
using STLParser;
// Parse a binary STL file
using FileStream fileStream = File.OpenRead("path/to/file.stl");
StlFile model = new StlFile(fileStream);
// Import the STLParser namespace
using STLParser;
// Read a binary STL file
using FileStream inputStream = File.OpenRead("path/to/file.stl");
StlFile model = new StlFile(inputStream);
// Modify the model as needed
// Write the modified model to a binary STL file
using FileStream fileOutputStream = File.OpenRead("path/to/save/file.stl");
model.SaveFile(fileOutputStream);
Contributions to this project are welcome. If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.