An open API service indexing awesome lists of open source software.

https://github.com/parallel-7/slicermeta

C# API for extracting metadata from g-code/3mf files
https://github.com/parallel-7/slicermeta

3d-printing adventurer5m flashforge flashforge-5m

Last synced: 21 days ago
JSON representation

C# API for extracting metadata from g-code/3mf files

Awesome Lists containing this project

README

          

# SlicerMeta

C# API for extracting metadata from G-Code/3MF Files, designed for use with FlashForge (3D printer) software development

![.NET](https://img.shields.io/badge/.NET-512BD4?style=flat-square&logo=dotnet&logoColor=white)
![C#](https://img.shields.io/badge/C%23-239120?style=flat-square&logo=csharp&logoColor=white)

---

### Maintenance Mode Notice


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

---

## Features

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)

---

## Supported Slicers

Slicer
Support Status

Orca-FlashForge
Fully Supported

OrcaSlicer
Supported (not fully tested)

FlashPrint
Fully Supported (FlashForge's legacy slicer)

---

## Example Usage

```csharp
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 type
```

---

Made for the FlashForge community