HeeksCNC can be finicky about profiles. Often I’ve found that a sketch which should be easily profiled won’t generate any gcode at all. When I look in the console, I find an error like this
File “/usr/lib/heekscnc/kurve_funcs.py”, line 247, in profile
raise Exception, “couldn’t offset kurve ” + str(offset_curve)
Exception: couldn’t offset kurve <area.Curve object at 0xb6f4bf2c>
It most often happens when profiling inside a closed sketch where the radii is close to the diameter of the cutter. Sometimes I can get around it by changing from climb to conventional milling or vice versa.
Recently I was profiling several cutouts that were exact copies of one another just rotated around a central point. Some of the cutouts would profile fine and others wouldn’t I emailed Dan Heeks the author of the software and he clued me in to a work-around.
It seems that the error is coming from the entry point. By simply setting a new start point for the profile close to the middle of the longest span, the error magically disappears.
This won’t work in every case, especially if the pocket is very close to the size of the cutter or made up of tight curves but for the most common cases it should work fine. Thanks Dan!