Currently the toolpath generation crashes in pycam/Geometry/Triangle.py (function "calc_circumcircle"), if the currently processed triangle is irregular (three points in a line or two or three identical points) due to a division by zero (variable "denom").
These irregular triangles can be caused by a high-resolution STL model. E.g my model is around 1mm wide and contains 5000 triangles. This high resolutions leads to unintentionally identical points due to the tolerance defined in pycam/Geometry/PointKdtree.py (function "Point").
The attached patch skips any irregular triangle during import. Then toolpath generation works again.
Log in to post a comment.