snegovick / bcam

CAM system for hobbyists and shapeokers
GNU General Public License v3.0
22 stars 4 forks source link

Fix pocketing with corners #71

Closed snegovick closed 9 years ago

snegovick commented 10 years ago

Resolution

Corner is an intersection of line with two points at exactly same location. There are two cases of corner-line intersection: first the line passes out of object, touching corner. In this case line segment should not be started at corner, second: the line goes from outside of object to inside through the angle, in this case line should start at the corner.