Monday, August 2, 2021

Heeks2

I have been working on Heeks2 CAD/CAM software to replace HeeksCNC.

It is still a work in progress. I am trying to make it more hackable by having all the user interface written in wxPython for python3.

The functionality shouldn't be any different than HeeksCNC, but its architecture is different.

 

I have made a .zip file which can be downloaded and extracted on an Ubuntu 64-bit PC. ( I checked it on Ubuntu 20.04 and Ubuntu 18.04 )

I would appreciate someone trying it and help me develop it by finding problems with it.

 

This download includes all the binaries needed; for wxPython and for OpenCASCADE, so will work on a new install of Ubuntu.

15 comments:

Pool said...

Hi Dan
I spend plenty time with play build python. No success. I am happy ty test Heeks2 but i can't install system. I have oracle virtual machine with ubuntu 18.04 machine.

Is it possible to get windows 64 version please?

Reards Pool

Dan Heeks said...

Pool, I will make a Windows version... I would really appreciate any help with the Ubuntu version. What happened when you tried the ubuntu version? Did you unzip the zip file? Did you do "cd Heeks2" and then "bash run.sh"?

Pool said...
This comment has been removed by the author.
Pool said...

Yes unziped.
From folder Heeks2 go to terminal an then bash run.sh
ModuleNotFoundError: No module named 'wx_core'

flon said...

Hello Dan,
I've been working with you're software on linuxcnc
Here is the documentation I've made in french :
https://ressources.labomedia.org/heekscad
https://ressources.labomedia.org/heekscnc

I'm glad to know you're on a second version!

From you're zip file I have the same error after running
sh run.sh

File "CNC/Heeks2/lib/wx/core.py", line 12, in
from ._core import *
ModuleNotFoundError: No module named 'wx._core'

I'm not really into coding but I'm not bad in compilation under linux.

keen101 said...

Testing on PopOS 20.04. Seems to run. Interface colors are a bit weird with my dark theme, but otherwise seem ok. Will be testing more.

09:02:14: Debug: Adding duplicate image handler for 'PNG file'
09:02:14: Debug: Adding duplicate image handler for 'JPEG file'
09:02:14: Debug: Adding duplicate image handler for 'TIFF file'
09:02:14: Debug: Adding duplicate image handler for 'GIF file'
09:02:14: Debug: Adding duplicate image handler for 'PNM file'
09:02:14: Debug: Adding duplicate image handler for 'PCX file'
09:02:14: Debug: Adding duplicate image handler for 'IFF file'
09:02:14: Debug: Adding duplicate image handler for 'Windows icon file'
09:02:14: Debug: Adding duplicate image handler for 'Windows cursor file'
09:02:14: Debug: Adding duplicate image handler for 'Windows animated cursor file'
09:02:14: Debug: Adding duplicate image handler for 'TGA file'
09:02:14: Debug: Adding duplicate image handler for 'XPM file'
libEGL warning: FIXME: egl/x11 doesn't support front buffer rendering.
libEGL warning: FIXME: egl/x11 doesn't support front buffer rendering.
libEGL warning: FIXME: egl/x11 doesn't support front buffer rendering.
libEGL warning: FIXME: egl/x11 doesn't support front buffer rendering.
libEGL warning: FIXME: egl/x11 doesn't support front buffer rendering.
libEGL warning: FIXME: egl/x11 doesn't support front buffer rendering.

keen101 said...

Exception ignored in:
Traceback (most recent call last):
File "/home/andrew/Downloads/Heeks2 0.1 for amd64ubuntu/Heeks2/PyCAD/Frame.py", line 66, in __del__
File "/home/andrew/Downloads/Heeks2 0.1 for amd64ubuntu/Heeks2/PyCAD/HeeksConfig.py", line 16, in Write
RuntimeError: super-class __init__() of type HeeksConfig was never called
./run.sh: line 4: 8997 Segmentation fault (core dumped) python3 test.py
press Enter to finish...

greg maider said...

Hi Dan

I would love to try out your software. I have a couple of small machines i have converted to CNC but im just in the process of rebuilding them after a move. I am a CNC machinist/programmer in my day job and ive programmed with a variety of packages.Ive also started trying to learn a bit of python in past month or so. I use linux at home and would be happy to help you in any small way i can.

Nathan said...

build for arch linux?

Nathan said...

tried it on a ubuntu VM... seems to be missing the mark outline sketch around solid. probably the most useful feature.

Nathan said...

also did a fair bit of crashing.

Dan Heeks said...

Nathan,
make "outline sketch around solid"
I think this is now on the "Solid" ribbon page, called "Shadow"
Dan.

Unknown said...

Hi Dan,
I just got it running on ubuntu 22.04, but there was a little problem. I could not use your binaries, because they were built against libpython3.8, but ubuntu 22.04 comes with libpython3.10.
After build I had the Problem, hat my laptop uses a high-dpi panel, where the scale-factor was 150% and the application failed to start. After fixing OutputWindow.py in line 98 from:
- self.SetScrollbar(wx.VERTICAL, self.viewport.GetCurrentLine() * 100, self.viewport.GetLinesPerPage() * 100, self.viewport.GetNumberOfLines() * 100)
+ self.SetScrollbar(wx.VERTICAL, (int)(self.viewport.GetCurrentLine() * 100), (int)(self.viewport.GetLinesPerPage() * 100), self.viewport.GetNumberOfLines() * 100)

Now It starts. Sometimes the visualisation has some problems and stays grey, until I move the mouse over the area. But it seems that it works now.

Dan Heeks said...

I fixed the problem with SetScrollbar in OutputWindow.py; I found it myself, then saw the comment previous.
I have now now learnt how to use launchpad.net to automatically package my sofware for Ubuntu.
I have only tried it for Ubuntu 22.04.
https://code.launchpad.net/~danheeks/+recipe/cam-daily
You should be able to install it for Ubuntu22 with these lines
sudo add-apt-repository ppa:danheeks/ppa
sudo apt-get install cam
There are still loads of problems and things missing.
Not sure if there should be an options window with properties or not. I have tried doing it with the ribbon, but it's only got a few options and it doesn't seem to be the way to do it.

Johan said...

Hi Dan. I hope your still working on Heeks2.
I've been using HeeksCAD 1.x with great success! Nice work.
I tried installing Heeks2/PyCAM/PyCAD but I'm getting module error: 'geom' has no attribute 'Point3D'. Any idea what thats all about? The package 'geom' is installed.
Best regards, Johan