Skip to content

DaltonBritton/STLParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STLParser for C#

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.

Features

  • 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.

Usage

Parsing STL Files:

// 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);

Reading and Writing Binary STL Files:

// 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

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.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages