The Hell Ya Beller Fun with hot, pointy, sharp, and caustic stuff.

20Nov/131

A nifty work-around for HeeksCNC Kurve offset error

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!
Comments (1) Trackbacks (0)
  1. Had same/similar error.
    I had a rectangular solid with two pockets (that didn’t go all the way through). When trying to “profile” the outside of the rectangle, at first, I got this error. The face I was using to do the profile contained the two pockets. I switched the face I was using to the “back” which was the same “outside,” but didn’t show the pockets. When I told it to create a profile from a sketch of THAT face, the error went away.


Leave a comment

No trackbacks yet.