On 23 February 2015 at 18:20, Niemand Sonst <nie...@web.de> wrote: > I do like Andys patch more, because the database could easily be adapted > to modern needs. >
I don't like that patch because it is too untidy, but I think it is a step in the right direction. As you point out, the advantage of a database is that it is possible to add any extra data that a specific application needs and things still work. Your requirements do seem to suggest another possibility that the database scheme makes possible, that a T6 might choose any one of several possible tools of that type depending on current availability, the nearest in the carousel, the least spindle hours etc. However I think that the database structure in that patch is a simpler one, that mirrors the existing tool data. A starting point to see what is in there is probably this Python script: http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=lib/python/toolstore.py;h=f1f1b78e40d5530208ac5747225e473b9013f31e;hb=refs/heads/andypugh/tooltable The idea was to have as much as possible scripted rather than compiled to allow integrators to modify the tool handling configuration. A complication is that there is quite a lot of code that cares about tool date. The Gremlin backplot for example, and both the executing G-code and the interpreter readahead (and at any one time those two might have a different opinion on the current tool offsets). -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers