https://github.com/fogleman/choppy
Chop 3D models in half with a user-defined slice plane.
https://github.com/fogleman/choppy
Last synced: 8 months ago
JSON representation
Chop 3D models in half with a user-defined slice plane.
- Host: GitHub
- URL: https://github.com/fogleman/choppy
- Owner: fogleman
- Created: 2017-08-11T15:58:57.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-05-22T14:13:03.000Z (almost 2 years ago)
- Last Synced: 2025-04-01T20:07:32.228Z (12 months ago)
- Language: Go
- Size: 20.5 KB
- Stars: 35
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Choppy!
Chop 3D models in half with a user-defined slice plane.

### Prerequisites
First, [install Go](https://golang.org/dl/), set your `GOPATH`, and make sure `$GOPATH/bin` is on your `PATH`.
```bash
brew install go # if using homebrew
# put these in .bash_profile or .zshrc
export GOPATH="$HOME/go"
export PATH="$PATH:$GOPATH/bin"
```
You may need to [install prerequisites](https://github.com/go-gl/glfw#installation) for the `glfw` library.
### Installation
```
go install github.com/fogleman/choppy/cmd/choppy@latest
```
### Usage
```bash
choppy model.stl
```
### Controls
- Mouse: Arcball controls for the entire scene.
- Cmd + Mouse: Orient the model.
- Alt + Mouse: Orient the plane.
- Cmd + Shift + Mouse: Pan the model.
- Alt + Shift + Mouse: Pan the plane.
- Space: Chop! Writes two STL files to disk.