FreeCAD is an open-source CAD software project: www.freecadweb.org Presently (December 2013), FreeCAD-0.14 is the current version.
FreeCAD is based an open-source CAD library, called OpenCASCADE www.opencascade.org, which is at version 6.6.0 (December 2013). OpenCASCADE is also referred to as OCC and OCCT (OpenCasCade Technology). Note: the OCCT software is licensed with a special license, which may or may not be interpreted as "free" software. Some linux distributions do not accept the OCCT license.
There is a spin-off project from OpenCASCADE, called OCE: OpenCASCADE Community Edition. You need OCE together with OpenCASCADE to compile FreeCAD. OCE can be found at https://github.com/tpaviot/oce Current version is OCE-0.13 but you need to install OCE-0.12.
Finally, there is pythonocc, which is a Python wrapper around the OCCT libraries (which are mostly C++): https://github.com/tpaviot/pythonocc Present version in December 2013 is v0.6, which requires OCE-0.12
Installation steps:
1. Install OpenCASCADE from the gentoo ebuild
Code: Select all
emerge -auvDN opencascade 2. Install FreeCAD from the gentoo ebuild
Code: Select all
emerge -auvDN freecad 3. Install OCE-0.12. First, download the archive from https://github.com/tpaviot/oce/releases/tag/OCE-0.12 Extract the archive to a directory of your choice, for instance /home/user/oce-0.12
4.
Code: Select all
user@pc > cd oce-0.12
user@pc > mkdir cmake-build
user@pc > cd cmake-build
user@pc > cmake ..Code: Select all
user@pc > make
user@pc > sudo make install/stripCode: Select all
user@pc > mkdir freecad
user@pc > cd freecad
user@pc > tar xvzf ....
user@pc > mkdir cmake-build
user@pc > cd cmake-build
user@pc > cmake -D COIN3D_INCLUDE_DIR=/usr/include/coin/ ..
user@pc > make
user@pc > sudo make install6a. If you want to have support for the GEOM package in pythonocc:
Code: Select all
user@pc > cd pythonocc/src/contrib/geom-6.3.1.8
user@pc > mkdir cmake-build
user@pc > cd cmake-build
user@pc > cmake ..
user@pc > make
user@pc > sudo make installCode: Select all
user@pc > cd pythonocc/src/contrib/smesh-5.1.2.2
user@pc > mkdir cmake-build
user@pc > cd cmake-build
user@pc > cmake ..
user@pc > make
user@pc > sudo make installCode: Select all
user@pc > cd pythonocc
user@pc > mkdir cmake-build
user@pc > cd cmake-build
user@pc > cmake ..
user@pc > make
user@pc > sudo make install