https://github.com/fogleman/slicer
Fast 3D mesh slicer written in Go.
https://github.com/fogleman/slicer
3d 3d-printing go slicer
Last synced: about 2 months ago
JSON representation
Fast 3D mesh slicer written in Go.
- Host: GitHub
- URL: https://github.com/fogleman/slicer
- Owner: fogleman
- License: mit
- Created: 2017-06-27T01:44:15.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-05-03T14:43:45.000Z (about 1 year ago)
- Last Synced: 2025-04-01T20:12:11.200Z (3 months ago)
- Topics: 3d, 3d-printing, go, slicer
- Language: Go
- Size: 18.6 KB
- Stars: 63
- Watchers: 4
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# slicer
Fast 3D mesh slicer written in Go. Writes slices to grayscale PNG files.
### Install Go
First, install Go, set your `GOPATH`, and make sure `$GOPATH/bin` is on your `PATH`.
```bash
brew install go
export GOPATH="$HOME/go"
export PATH="$PATH:$GOPATH/bin"
```### Install Slicer
```bash
$ go get -u github.com/fogleman/slicer/cmd/slicer
```### Example Usage
```bash
$ slicer --help# slice model.stl with slices that are 0.1 units thick, rendering PNGs that
# cover 100x100 units in size with resolution of 10 pixels per unit
$ slicer -s 0.1 -w 100 -h 100 -x 10 model.stl
```### Example Slice
