Friday, January 16, 2009

picture

The picture wasn't added with my last post.

object oriented Python

I have simplified the C++ in HeeksCNC, so that the Python script in the "program" window, is exactly what is copied to post.py, when the user presses the "post process" button.
Hirutso has written a base class for machines and a simple ISO machine in Python script. The next thing needed is a backplot script, so the tool path will appear in the graphics window. I have found out about the PyCam project and hope to be able to use the tool path functions.

Tuesday, January 6, 2009

HeekCNC on linux - toolpath


I've been working on a bug for three and half days, building HeeksCNC on Linux. It has been good experience with using KDbg to debug it.

Monday, January 5, 2009

freesteel


The guys at #cam on FreeNode have been able to get the hidden source code from CVS.
I have built it and got it to make the roughing toolpath on the sample stl file.

Sunday, January 4, 2009

HeekCNC on linux


I have got my HeeksCNC building on Linux.
Almost. Click on the picture to make it bigger.
The Python stuff refused to run the "post.py" file I had automatically generated.
I was trying to run it with PyImport_ImportModule.
To get it to find it with Windows, I had done ::wxSetWorkingDirectory, but this wasn't enough for Linux. So, then I also added PyRun_SimpleString with a string something like "sys.path.append" with the folder in. Then I had another problem and I had to add a work around, dlopen("libpython2.5.so", RTLD_LAZY | RTLD_GLOBAL).
I have spent all of today ( and possibly all of yeseterday, but it's a bit of a blur ) trying to debug a problem in Geoff's geometry library, which is OK for Windows but causes a segment violation built with GCC in Linux.
I have promised to have a go at getting Wildcat to build for Linux after I have done this.
I am pleased with KDbg as a useful tool for debugging.

Wednesday, December 10, 2008

HeeksCAD on Linux



I built HeeksCAD on Linux. I am so pleased. It's got various problems; toolbar icons, graphics refresh. Thanks so much to "archivist" on the #cam IRC chat group, for his help with the basics of using gcc. Now I need to check that all my changes still build in Visual Studio.

Saturday, December 6, 2008

VoxelCut


I have had a go with Ken Silverman's voxlap. I have made "VoxelCut" a simply viewer made with wxWidgets, which shows an empty world. When you choose Run from the menu, it calls a Python script file. I have implemented some Python functions in VoxelCut, like setcylinder, setrect, repaint. My Python file creates a solid block, asks the user to open an NC file, then it read through it, calling setcylinder, to remove the material in the appropriate places. It would be good to integrate this into HeeksCNC to make a solid simulation.