Skip to content

hroncok/snapz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snapz - Snaps STL files to zero Z coordinate

STL files sliced with Skeinforge are not snapped to zero Z coordinate automatically. This could lead to various errors while printing and you have to be sure to snap the STL object to Z = 0. While there are GUI tools that can do that, snapz aims for command line utility.

It's very simple. Snapz would be a script if it wouldn't depend on a C library. It does exactly one thing and has only one feature. It snaps the given STL file to zero Z coordinate.

Compile

To compile snapz, you'll need the admesh library, gcc and make. Then just type make to compile it.

Install

You don't need to install snapz, you can invoke it from where it is with ./snapz. However, to make things easier, it is recommended to put it somewhere in your $PATH (e.g. /usr/local/bin).

Run

To snap an STL file to Z = 0, run:

snapz file.stl

If you want to keep the input and save the snapped STL to a different file, you can do it this way:

snapz input.stl output.stl

If output.stl exists, it will be overwritten without questions, cause you know, what are you doing, right?

License

This app and it's docs are released under the terms of WTFPL. That means you just do what the fuck you want to.

About

Snaps STL files to zero Z coordinate

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages