fellesverkstedet / Bark-beetle-parametric-toolpaths

A grasshopper plugin for digital fabrication. Enables direct fabrication of geometry with 3D printers, CNC milling, Laser cutters, Robot arms and more. Also featuring 1:1 augmented reality toolpath projections.
97 stars 18 forks source link

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

Closed Siemenc closed 6 years ago

Siemenc commented 6 years ago

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

Siemenc commented 6 years ago

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

Siemenc commented 6 years ago

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).