ries_ is now known as ries
I have been working on an octree-based cutting simulation
There is a video and a screenshot here: http://www.anderswallin.net/2010/04/cutting-down-the-octree/
How easy is it to hook into the EMC2 interpreter and have it call a function (C++ or python) of my choice for each canon-move (linear or arc I assume?) ??
awallin: rather hard
if it was easy it would be done already
but wait for others for their opinions, they know it better
ok. I will leave IRC on the whole day I think, at the computer on and off.
might have time to work on tool-swept volumes in the evening, those will look like actual cutting simulations
awallin: this subject is in my interest too but I have to leave now
maybe tomorrow afternoon we can talk about it
awallin: I don't think it's that hard
the only problem is that the emc2 build system is pretty big
ok, it will be useful only after I have tool-swept-volumes impemented
which may take a few days or a few weeks, who knows...
I think you can connect it to the gcode module AXIS uses
AXIS uses another instance of the interpreter to generate the toolpath for the preview
so your simulator probably wants to do the same
that sounds good. for the preview, arcs are probably split up into line-segments also
* awallin will be back later...
calling a C++ function for each move is *exactly* what the interpreter does. AXIS converts them to python calls. you could trivially use either. you just have to write a canon interface (there's a list of functions you implement.)
see sai or AXIS for the simplest examples
cradek: thanks, I think I'll work on the cylindircal cutter volumes now, and when they work try to integrate with AXIS
EMC: 03cmorley 07v2.4_branch * r47b13f912192 10/src/emc/usr_intf/pncconf/pncconf.py: Fix description of 7i43 firmware in pncconf