Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,68 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
library_name: fastprint
|
| 6 |
+
pipeline_tag: image-segmentation
|
| 7 |
+
tags:
|
| 8 |
+
- art
|
| 9 |
+
- 3D
|
| 10 |
+
- 3D-Printing
|
| 11 |
+
- Manufacturing
|
| 12 |
+
- Firmware
|
| 13 |
+
- Cuda
|
| 14 |
+
- Cude-Acceleration
|
| 15 |
+
- GPU
|
| 16 |
+
---
|
| 17 |
+
# FastPrint
|
| 18 |
+
|
| 19 |
+
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.
|
| 20 |
+
|
| 21 |
+
## Features
|
| 22 |
+
|
| 23 |
+
- **STL Model Loading**: Supports ASCII STL files.
|
| 24 |
+
- **B-spline & Mitchell–Netravali Filtering**: For smooth surface interpolation.
|
| 25 |
+
- **GPU Acceleration**: Uses ILGPU for CUDA/OpenCL slicing.
|
| 26 |
+
- **Marlin Firmware Communication**: Connects to standard 3D printers.
|
| 27 |
+
- **WPF GUI**: Simple interface for slicing and printer control.
|
| 28 |
+
|
| 29 |
+
## Folder Structure
|
| 30 |
+
|
| 31 |
+
- `Geometry/`: B-spline and Mitchell–Netravali filter logic.
|
| 32 |
+
- `Slicing/`: GPU-accelerated slicing kernel.
|
| 33 |
+
- `Printer/`: Marlin firmware connector.
|
| 34 |
+
- `Model/`: STL model loader.
|
| 35 |
+
- `UI/`: WPF GUI.
|
| 36 |
+
|
| 37 |
+
## Setup
|
| 38 |
+
|
| 39 |
+
1. **Dependencies**:
|
| 40 |
+
- ILGPU (`NuGet`)
|
| 41 |
+
- System.IO.Ports
|
| 42 |
+
- .NET Desktop Runtime
|
| 43 |
+
|
| 44 |
+
2. **CUDA/OpenCL**:
|
| 45 |
+
- Install CUDA Toolkit for NVIDIA GPU support.
|
| 46 |
+
- ILGPU will auto-select available accelerators.
|
| 47 |
+
|
| 48 |
+
3. **Build & Run**:
|
| 49 |
+
- Open in Visual Studio 2022.
|
| 50 |
+
- Build solution.
|
| 51 |
+
- Run `FastPrint.UI.MainWindow`.
|
| 52 |
+
|
| 53 |
+
## Usage
|
| 54 |
+
|
| 55 |
+
1. Open an STL file.
|
| 56 |
+
2. Click "Slice" to process the model.
|
| 57 |
+
3. Select a COM port and connect to your printer.
|
| 58 |
+
4. Send G-code commands as needed.
|
| 59 |
+
|
| 60 |
+
## Notes
|
| 61 |
+
|
| 62 |
+
- Only ASCII STL is supported in this version.
|
| 63 |
+
- Slicing logic is a placeholder; expand as needed for production use.
|
| 64 |
+
- Visualization and G-code export are not included in this minimal example.
|
| 65 |
+
|
| 66 |
+
---
|
| 67 |
+
|
| 68 |
+
For questions or contributions, please open an issue or pull request.
|