This library is no longer under active development. Only critical bug fixes and essential functionality backports will be provided.
For new projects, please use the modern cross-platform rewrite:
slicer-meta - TypeScript + Node.js implementation
Easy to work with and use on any operating system
| Feature | Description |
|---|---|
| Slicer Metadata Extraction | Retrieve slicer metadata including name, version, date & time, printer name, and more from all gcode files |
| Filament Information | Extract filament info (material type) from all gcode & 3mf files. Additional data available (color, used grams, used meters) depending on slicing software |
| Embedded Thumbnails | Retrieve embedded thumbnails from supported file types (3mf) and supported slicers (gcode) |
| Slicer | Support Status |
|---|---|
| Orca-FlashForge | Fully Supported |
| OrcaSlicer | Supported (not fully tested) |
| FlashPrint | Fully Supported (FlashForge's legacy slicer) |
var parser = new GCodeParser(); // create a new instance
parser.Parse(filePath); // path to gcode file
Console.WriteLine($"Sliced by: {parser.SlicerInfo.SlicerName}"); // get slicer name
Console.WriteLine($"Filament Type: {parser.FileInfo.FilamentType}"); // get filament typeMade for the FlashForge community