tbfleming / jscut

In-browser CAM package
http://jscut.org
GNU General Public License v3.0
302 stars 141 forks source link

V Bits #4

Closed g19fanatic closed 10 years ago

g19fanatic commented 10 years ago

Would it be possible to add V bits?

In the current version, it is not easy to do variable depth cuts using V bits since we're unable to change the tool for the operations.

tbfleming commented 10 years ago

I need help with this one finding an appropriate algorithm. This ticket is a good spot to collect links to published code, research papers, etc.

g19fanatic commented 10 years ago

Here are a few links that might help out some. I'll be looking into this myself as well.

http://www.scorchworks.com/Fengrave/fengrave.html http://www.scorchworks.com/Fengrave/f-engrave_calculations.htm

http://www.anderswallin.net/cam/ https://github.com/aewallin/openvoronoi

http://www.payne.org/index.php/CNC_Projects#V-Carving http://www.payne.org/index.php/Calculating_Voronoi_Nodes

g19fanatic commented 10 years ago

The Scorchworks f-engrave calculations page seems to be a great way to do this. At that page, he goes over all of the algebraic logic as well as steps through reducing the equations to the usable state.

Specific VCarve code starts at line 5686 of f-engrave-139.py which can be located at http://www.scorchworks.com/Fengrave/fengrave.html and more specifically at http://www.scorchworks.com/Fengrave/F-Engrave-1.39_src.zip.

At the first link, it looks like the code is released with GPLv3. Besides this download section, I am unable to find an online source repository which leads me to believe he's not using a public one like github/bitbucket.

tbfleming commented 10 years ago

I'm using Boost.Polygon's Voronoi operations. Screen shots of what I have so far are at https://groups.google.com/forum/#!topic/jscut/VqTTq5AgmuA

tbfleming commented 10 years ago

New operation: V Pocket

I released what I have so far. Current limitations: