fellesverkstedet/Bark-beetle-parametric-toolpaths

3D milling: flip direction of curve so they start at highest point

Closed this issue · 2 comments

I've had it a few times that I'm putting an angled edge on a wooden piece and then with the roughing or finishing it starts milling in the bottom so it cuts through the material. This causes more vibration on the working piece or when all sides are angled, makes the piece come loose.
image

I have a quick fix for this but I'm wondering now if this will mess up the toolpath direction for pockets or cutouts due to tolerance issues. I guess I'll need to test this first before committing.
image
image

I've been testing this and it seems to work. I added a tolerance option, to make sure there's no issues happening with the directions of pockets being flipped because of floating-point numbers (might be overkill though).