This library is part of zencad project.
Servoce wraps opencascade core for integrate with zencad.
Status:
- master
- dev
ZenCad
Install from PyPi.
python3 -m pip install pyservoce
Install from Source Code.
- Get Dependies. (OCCT, PyBind11, Licant)
sudo add-apt-repository ppa:freecad-maintainers/occt-releases -y
sudo add-apt-repository ppa:freecad-maintainers/freecad-stable -y
sudo apt-get update
sudo apt install -y libocct-foundation-7.3 libocct-ocaf-7.3 libocct-data-exchange-7.3 libocct-foundation-dev libocct-ocaf-dev libocct-data-exchange-dev
sudo apt install -y python3-pybind11
python3 -m pip install licant --user
- Get source code
git clone https://github.com/mirmik/servoce --recursive
cd servoce
- Install as python package from sources.
python3 ./setup.py install --user
- Install as dynamic library with CMake.
source ./tools/set_occt_paths.sh
cmake .
cmake --build
cmake --build . --target install
- Install as dynamic library with Licant.
./make.py
sudo ./make.py install
Depend repositories:
https://github.com/mirmik/igris
https://github.com/mirmik/nos
https://github.com/mirmik/licant