stl2ngc
stl2ngc copied to clipboard
Convert STL files to G-code for CNC milling.
trafficstars
stl2ngc
The stl2ngc program converts an STL file to LinuxCNC compatible G-code.
Clone, build, install and run
First, install OpenCAMLib, see: https://github.com/aewallin/opencamlib
git clone https://github.com/aewallin/opencamlib && cd opencamlib
mkdir build && cd build && cmake ../src && make -j4
sudo make install
sudo cp libocl.so.* /usr/lib
Next, checkout stl2ngc from git and run make and sudo make install:
git clone https://github.com/koppi/stl2ngc && cd stl2ngc
make
sudo make install
To convert example.stl to example.ngc run:
cat example.stl | stl2ngc > example.ngc
Demo
See Wiki.
FAQ
-
This is an early release, expect errors and missing features.
Please fork the repo.
-
No Gui? - Yes, only command-line for now.
Author
- Jakob Flierl - koppi