repositorypackage
0.0.0-20240522141303-3fad25b06263
Repository: https://github.com/fogleman/choppy.git
Documentation: pkg.go.dev
# README
Choppy!
Chop 3D models in half with a user-defined slice plane.
Prerequisites
First, install Go, set your GOPATH
, and make sure $GOPATH/bin
is on your PATH
.
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 for the glfw
library.
Installation
go install github.com/fogleman/choppy/cmd/choppy@latest
Usage
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.