Menu

Installation

Windows

Kubos requires the following components to work:
Python 2.6.6 (Download: http://www.python.org/ftp/python/2.6.6/python-2.6.6.msi)
PyQt 4.9.5 (Download: http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.9.5/PyQt-Py2.6-x86-gpl-4.9.5-1.exe)
pythonOCC 0.5 (Download: http://pythonocc.googlecode.com/files/pythonOCC-0.5-win32-all-in-one-py26.exe)

Download and install them from the given links.

Kubos itself can be downloaded from https://sourceforge.net/projects/kubos/files/ . In order to install it extract the contents of the zip archive into a folder on your hard drive. Kubos can be started by double-clicking on the file "run_kubos_windows.bat" in the "bin" folder.

Debian 7

Install the package "python-qt4" from your package manager.

Download and install the following packages:

64 bit: liboce, python-occ
32 bit: liboce, python-occ

Download Kubos from https://sourceforge.net/projects/kubos/files/ and extract the contents of the zip archive into a folder on your hard drive. Kubos can be started by executing the file "run_kubos_linux.sh" in the "bin" folder.

Compile on Debian Testing

March 4, 2014: This is not working at the moment because of conflicting versions (Debian has OCE 0.15 while pythonOCC requires OCE 0.12)

Kubos can be installed on Debian testing if pythonOCC is compiled manually. The advantage of this is that the installation will not conflict with existing CAD programs (like FreeCAD).

Install the following Debian packages:

  • any packages starting with liboce-
  • swig, cmake, mesa-common-dev, python-dev, libx11-dev, cmake-qt-gui

Download the latest version of pythonOCC: https://github.com/tpaviot/pythonocc/archive/master.zip

Extract the downloaded zip folder to your disk.
Then, start the application "cmake-qt-gui" (simply called "cmake" in the application menu). For the source code directory, select the directory where you extracted the downloaded zip folder. For the build directory, create a new subdirectory in the source code directory and call it "cmake-build".

Click on "Configure"

A list of options will be generated. Change the following options to the given values:

CMAKE_INSTALL_PREFIX: /usr/bin

OCE_INCLUDE_PATH: /usr/include/oce

Click on "Configure" again

Click on "Generate"

Open a terminal, go to the cmake-build directory and enter the command:

make

This will build pythonOCC in the cmake-build directory. When done, execute the command:

su
make install

Download Kubos from https://sourceforge.net/projects/kubos/files/ and extract the contents of the zip archive into a folder on your hard drive. Kubos can be started by executing the file "run_kubos_linux.sh" in the "bin" folder.

Other operating systems

The required components should work on most other operating systems as well. If you can provide installation instructions for other operating systems, please share them in the discussion forums.


Related

Wiki: Home
Wiki: Programming Tutorial: 1 - cuboid