This was the Test Harness scriptclearpload ALLvertex v1 0 0 0vertex v2 10 0 0vertex v3 7 10 0vertex v4 10 20 0vertex v5 0 20 0vertex v6 3 10 0edge e1 v1 v2edge e2 v2 v3edge e3 v3 v4edge e4 v4 v5edge e5 v5 v6edge e6 v6 v1vertex v7 2 2 0vertex v8 8 2 0vertex v9 7 3 0vertex v10 3 3 0edge e7 v7 v8edge e8 v8 v9edge e9 v9 v10edge e10 v10 v7wire w1 e1 e2 e3 e4 e5 e6mkplane f w1wire w2 e7 e8 e9 e10mkplane f2 w2cut f3 f f2topmkoffset offset f3 50 0.12fit
Hi Dan,I wrote some drop-cutter code in matlab and then C# a while ago. This is for surface-finishing of STL surfaces. I also have some ideas on waterline paths.Would you be interested in making them work in HeeksCAD/CNC if I converted them to C++ (with BOOST-libraries) and released under GPL licence?Anders
Anders,Yes. Maybe you could put it in a Google Code project.I will probably make a python module of it, for using in HeeksCNC, or maybe an executable that reads a STL file and writes a text file.I converted your DropCutter.cs to DropCutter.cpp, myself, in May 2009.http://code.google.com/p/heekscnc/source/browse/trunk/src/DropCutter.cppHowever, apparently, "edge-test for the toroidal cutter is wrong, or at least only an approximation to the exact geometry".This file is still in HeeksCNC, because I was hoping to use it again, but it would be better if it was in a separate project belonging to you.Dan.
Dan, are these results better than the original results with OCC? I know that you had previously been unimpressed by the OCC offset tools. Also, I don't think that these particular tools (by themselves) are useful for profiling operations. There is another set of offsetting tools for curves, but I think that you have to offset one curve at a time and check and correct for intersections.
geo,It is not good for profile operations, which need to be able to cut open shapes, but these results look great for pocket operation. It will not be necessary to check for intersections for pocketing. The shapes will always be closed shapes. I should make an Open CASCADE version of libarea ( http://code.google.com/p/libarea/ ), if I get the time, to test it with HeeksCNC. Maybe I could just use PythonOCC.
geo, I am not sure what my original results were. It may be that when I offset a face too far, it crashed, because my error handling was incorrect.
Post a Comment