OK, I may now understand inlay a bit better. If you still want to
improve on the description then some 3D images of male/female
inlay-parts would probably help a lot.
You could maybe threshold the medial-axis clearance-disk to find out
areas that are too "deep" for the V-cutter and have to be cleared with
a flat-cutter. I haven't looked at that or thought about it much yet.
>>> OpenVoronoi's python-lists output works quite nicely. For the
>>> medial-axis output you use a list of chains, which in turn are lists
>>> of point-distance pairs, and for the offset output you use a list of
>>> loops, which in turn are lists of line- or arc-segments, but to use
>>> the output from C++, refactorings like the following are needed:
>>> https://github.com/kaben/openvoronoi/commit/c76957fcd8203b0fc22bbf5f20820d51e3f71cec
>>> https://github.com/kaben/openvoronoi/commit/81d8e2813bcfd006e23da9754c97af4ccbd798a3
Did you get this to build on Ubuntu 10.04LTS ? LinuxCNC (the program
formerly known as EMC2) will use 10.04 (with outdated gcc/boost) until
maybe june/july this year.
It would be nice to support 10.04LTS, but if it's too much work then
time will take care of this 'problem'.
>> As for the output-format, I think it would be best to find an already
>> existing standard and try to model that. There is something (OLD)
>> called APT. Or perhaps STEP. In any case something that makes writing
>> post-processors easy. Basically modeling G0 (rapid), G1 (feed), G2/3
>> (arc), and perhaps conic/cubic (LinuxCNC, formerly known as EMC2 has
>> these). One format for 3-axis or even 5-axis milling would be best
>> (not separate for 2D and 3D).
Googling has turned up this:
www.mfgaa.com/ISO-4343%201978.pdf
I'm not sure if people use the terms CLDATA and APT interchangeably?
I'm not saying we must output an APT text file, just that it should be
reasonably easy to output APT or G-code from whatever internal format
we use for toolpaths.
>>> Libarea's pocketing works just about perfectly in HeeksCNC. If the
>>> universe were feeling charitable there would be no need to replace
>>> libarea.
I guess there are two ways to build libarea, either with kbool or with
Clipper. I would be interested in comparing OpenVoronoi against these,
both for correctness of the toolpaths, and speed of calculation. If
anyone can provide a minimal python-example of how to calculate an
offset with libarea that would be great.
Anders