1. #1
    Just for record, steps of how I installed. These are instructions for newbie -machinists, such as me :D
    - it was not plain sailing for me, in particular with Heekscnc and Heekscad.
    - There are probably other ways of doing it, but these worked for me, with Linuxcnc Ubuntu, 10.04.

    - Initially I tried using steps from here
    UbuntuInstallation - heekscad - How to build and install HeeksCAD and related projects for Ubuntu - Free CAD based on Open CASCADE - Google Project Hosting
    ...however got all sorts of errors, in a number of places, for example,
    # ----------------------- begin list of errors ---------------------------
    E: Package git has no installation candidate
    make: *** No rule to make target `package'. Stop.
    Could not find module FindOCE.cmake or a configuration file for package

    Adjust CMAKE_MODULE_PATH to find FindOCE.cmake or set OCE_DIR to the
    directory containing a CMake configuration file for OCE. The file will
    have one of the following names:

    CMake Error: The following variables are used in this project, but they are set to NOTFOUND
    Package python-wxgtk2.8 is not installed
    heekscad: error while loading shared libraries: libTKVRML.so.5: cannot open shared object file: No such file or directory

    # ----------------------- begin list of end ---------------------------

    However, here are steps that one did today 2013-01-06, got them working nice:

    1. Install a clean Ubuntu 10.04. "LinuxCNC" -version
    - had done this step before here:

    2. Install Heekscad and Heekscnc - with their pre-requisities
    - so we have an un-touched Ubuntu 10.04 -installation before these steps.
    - all commands below are executed on command -prompt as linux "root" -user

    apt-get install emacs # install my favourite editor
    # install some pre-requisities:
    apt-get install git-core subversion libwxbase2.8-dev cmake build-essential libopencascade-dev libwxgtk2.8-dev libgtkglext1-dev python-dev cmake libboost-python-dev

    # Install some more pre-requisities:
    apt-get install python-wxgtk2.8 python-wxversion

    # Retrieve source -files
    mkdir /mycnc
    cd /mycnc
    git clone --recursive git://github.com/Heeks/heekscad.git
    cd /mycnc/heekscad
    git clone --recursive git://github.com/Heeks/heekscnc.git
    git clone --recursive git://github.com/Heeks/libarea.git
    git clone --recursive git://github.com/Heeks/libactp.git
    git clone --recursive https://github.com/sliptonic/opencamlib.git
    git clone --recursive git://github.com/tpaviot/oce.git

    # Continue still in directory
    # /mycnc/heekscad
    sudo apt-get -y install libftgl-dev

    # OCE -installation:
    cd /mycnc/heekscad/oce/
    # Read instructions if you feel like it
    # more INSTALL.Unix
    mkdir build
    cd build
    cmake ..
    # Give one (1) only of two commands below
    # Or, alternatively
    # make -j2
    # to enable multiprocessed compilation and speedup the whole compilation
    # process.

    make install/strip

    # That is OCE -installation done.

    # HeeksCNC uses a number of libraries to perform various operations. Install all of them or
    # only the ones you plan to use.
    # Install libarea
    # area.so is required for pocket operations.

    cd /mycnc/heekscad/libarea/
    make clean # OPTIONAL: only needed if you have previous make -attempts, otherwise, not needed
    make install

    # Install libactp
    # actp.so is required for adaptive roughing operations.
    # This may be removed from git soon thus you may want to skip it

    cd /mycnc/heekscad/libactp/PythonLib
    make clean # OPTIONAL: only needed if you have previous make -attempts, otherwise, not needed
    make install

    # Install opencamlib
    # opencamlib is the replacement for pycam. It's required for zigzag operations.

    cd /mycnc/heekscad/opencamlib/src
    make clean # OPTIONAL: only needed if you have previous make -attempts, otherwise, not needed
    cmake .
    make install

    # Install heekscnc:
    cd /mycnc/heekscad/heekscnc/
    cmake .
    make package
    sudo dpkg -i heekscnc_*.deb # only one .deb to install, but the filename may change

    # Install heekscad:
    cd /mycnc/heekscad
    cmake .
    make package
    sudo dpkg -i heekscad*.deb #only one .deb to install, but the filename may change

    # Give command:

    # Let's start our newly installed heekscad / heekscnc:


    By default, it seems G0 -button (Postprocess) is missing (due to a bug) from Heekscad.
    Click image for larger version. 

Name:	G0-missing.Screenshot.png 
Views:	699 
Size:	111.4 KB 
ID:	7877
    # To find that missing G0 -button, change from options ---> tool icon size to smaller (eg. 16) and then larger again
    Click image for larger version. 

Name:	G0_button_missing2.png 
Views:	674 
Size:	130.1 KB 
ID:	7878

    # ...and the button appears on top right hand corner of toolbar:
    Click image for larger version. 

Name:	G0buttonback.png 
Views:	315 
Size:	113.6 KB 
ID:	7879

    Thanks for reading and have fun

  2. The Following 2 Users Say Thank You to diy-john For This Useful Post:

  3. Thanks for sharing John !

  4. #3
    John S's Avatar
    Lives in Nottingham, England, United Kingdom. Last Activity: 6 Hours Ago Has been a member for 9-10 years. Has a total post count of 1,943. Received thanks 126 times, giving thanks to others 44 times. Referred 1 members to the community.
    Thank Christ it's that easy, somebody told me Linux was hard but you didn't have to understand it.
    John S -

  5. #4
    Commercial software is never hard, thats why you pay for it. You don't get silk purses for free just lots of enthusiasm

    "Life is like a box of chocolates, you just never know what your going to get"
    If the nagging gets really bad......Get a bigger shed:naughty:

  6. #5
    Added couple of extra -install steps

    # OPTIONAL steps ::: install inscape, blender 3D, qcad
    apt-get install inkscape
    apt-get install blender
    apt-get install qcad

    # OPTIONAL ::: install dxf2gcode
    # Installation - dxf2gcode - How to install on Windows, Linux or Mac OS X - A program to convert a dxf drawing into G-Code - Google Project Hosting
    mkdir /mycnc/dxf2gcode
    cd /mycnc/dxf2gcode/
    wget http://dxf2gcode.googlecode.com/file...urce_linux.zip
    unzip 2010-05-04-dxf2gcode_b02_source_linux.zip
    chmod a+x dxf2gcode_b02.py
    # Try it out (now or later)
    cd /mycnc/dxf2gcode/
    python ./dxf2gcode_b02.py

    # Overall feelings at the moment, about Ubuntu, Linuxcnc, heekscad:
    - happy with the way LinuxCNC works
    - happy with linux (goes without saying)
    - overall, the end-to-end pipe (from an idea in head, to a 3D drawing, DXF -file, G-code generation, milling) is not working smoothly at all yet.
    -- Blender 3D is very capable, however is perhaps not best suited for measurements -oriented drawings as one perhaps would like to have.
    -- DXF, or STL -file import to heekscad is not working very well. STL import yes works fine, but would want to import a sketch, not an object that one can not modify.

    # Feeling is, might have a brief peek at the other side, is grass greener there. (Windoze, Solidworks, etc.)

    Last edited by diy-john; 27-01-2013 at 04:49 PM.

  7. #6
    Hy there.

    I managed to install HeeksCAD and HeeksCNC on K/Ubuntu 12.04 and K/Ubuntu 13.04.

    I did build a little script, that checks the dependencies and your system before building HeeksCAD and HeeksCNC.

    Take a look at it https://www.elrippoisland.net/public/CAD_CAM/heeks.html

    Kind regards,

Similar Threads

  1. Mach3 vs LinuxCNC/EMC What do you use and why?
    By Lee Roberts in forum Machine Control Software
    Replies: 46
    Last Post: 26-11-2013, 12:02 AM
  2. How many LinuxCNC/EMC users do we have?
    By birchy in forum LinuxCNC/EMC
    Replies: 16
    Last Post: 30-12-2012, 07:08 PM
  3. Aspire tutorials supplied with the installation dvd
    By habibuzziwa in forum CAD & CAM Software
    Replies: 4
    Last Post: 17-11-2012, 02:38 PM
  4. Setting up LinuxCNC (Linux newbe)
    By Mad Professor in forum LinuxCNC/EMC
    Replies: 1
    Last Post: 04-03-2012, 08:22 PM
  5. FOR SALE: For sale Boxford 125 part converted pc mack / ubuntu EMC
    By Steve Beale in forum Items For Sale
    Replies: 0
    Last Post: 19-03-2011, 08:35 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts