OpenCAMLib
|
OpenCAMLib is a C++ library with Python bindings under LGPL license for creating toolpaths for cnc machines.
- hosted at: http://code.google.com/p/opencamlib/ - mailing-list at: http://groups.google.com/group/opencamlib - svn-commits at: http://groups.google.com/group/opencamlib-svn
This section describes how to obtain, build, and install OpenCAMLib.
The OpenCAMLib user manual section describes how to install and use OpenCAMLib.
The OpenCAMLib developer manual section describes the CAM-algorithms in more detail.
As of 2010 March there is no release yet. You have to build from source.
The project is hosted at google-code: http://code.google.com/p/opencamlib/
To checkout the newest OpenCAMLib, run:
svn checkout http://opencamlib.googlecode.com/svn/trunk/ opencamlib-read-only
Building requires the Boost libraries and a compiler that supports OpenMP. Visualizations require VTK. It should be as simple as:
cmake .
make
make install
all done!
As of SVN r95, OCL builds easily on Ubuntu Hardy through Karmic. OCL will build on Lucid with some tweaks, which are not covered in these brief instructions; proper support for Lucid is planned for the near future.
Use apt-get to install some software that helps build Debian packages:
shell> apt-get install devscripts build-essential
Use apt-get to install the packages used by OCL. The build dependencies are listed in the debian/control file, on the "Build-Depends" line. The following command is appropriate for SVN r95, check the source file for current dependencies for your version:
shell> apt-get install debhelper libboost-python-dev python-dev python-support
Next build the OCL source tree into a debian package:
shell> debuild -us -uc
This will produce a Debian package (a ".deb" file) of OCL in the parent directory "../", which can be installed with dpkg:
shell> dpkg -i ../python-opencamlib_*.deb
Text here on how to build on windows.
How to get opencamlib installed and working with HeeksCNC.
How to use OCL with Blender, FreeCAD, etc.