File size: 1,713 Bytes
5c04333
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
license: mit
language:
- en
library_name: fastprint
pipeline_tag: image-segmentation
tags:
- art
- 3D
- 3D-Printing
- Manufacturing
- Firmware
- Cuda
- Cude-Acceleration
- GPU
---
# FastPrint

FastPrint is a modular, GPU-accelerated 3D slicer for 3D printing, featuring B-spline and Mitchell–Netravali filtering, CUDA/OpenCL acceleration, and Marlin firmware connectivity.

## Features

- **STL Model Loading**: Supports ASCII STL files.
- **B-spline & Mitchell–Netravali Filtering**: For smooth surface interpolation.
- **GPU Acceleration**: Uses ILGPU for CUDA/OpenCL slicing.
- **Marlin Firmware Communication**: Connects to standard 3D printers.
- **WPF GUI**: Simple interface for slicing and printer control.

## Folder Structure

- `Geometry/`: B-spline and Mitchell–Netravali filter logic.
- `Slicing/`: GPU-accelerated slicing kernel.
- `Printer/`: Marlin firmware connector.
- `Model/`: STL model loader.
- `UI/`: WPF GUI.

## Setup

1. **Dependencies**:
   - ILGPU (`NuGet`)
   - System.IO.Ports
   - .NET Desktop Runtime

2. **CUDA/OpenCL**:
   - Install CUDA Toolkit for NVIDIA GPU support.
   - ILGPU will auto-select available accelerators.

3. **Build & Run**:
   - Open in Visual Studio 2022.
   - Build solution.
   - Run `FastPrint.UI.MainWindow`.

## Usage

1. Open an STL file.
2. Click "Slice" to process the model.
3. Select a COM port and connect to your printer.
4. Send G-code commands as needed.

## Notes

- Only ASCII STL is supported in this version.
- Slicing logic is a placeholder; expand as needed for production use.
- Visualization and G-code export are not included in this minimal example.

---

For questions or contributions, please open an issue or pull request.