prdatur / heekscnc

Automatically exported from code.google.com/p/heekscnc
Other
0 stars 0 forks source link

Pocket op - Inch mode fails #89

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
make a simple sketch and make a pocket operation.
It works OK when program->units = mm, but when program->units = inch it
fails with
python: kbool/src/graph.cpp:236: void Graph::AddLink(Node*, Node*, int):
Assertion `begin && end' failed.

Original issue reported on code.google.com by danhe...@gmail.com on 12 May 2009 at 7:53

GoogleCodeExporter commented 8 years ago
I added this test to the "recur" function

def recur(arealist, a1, stepover, from_center):
    if area.num_curves(a1) == 0:
        return

It was being passed an area with no curves, which was giving the error.

Original comment by danhe...@gmail.com on 12 May 2009 at 3:05