On 18.06.2022 01:47, andy pugh wrote: > On Fri, 17 Jun 2022 at 17:07, Jose Luis <j.l.toledan...@gmail.com> wrote: > >> Still need to figure the parts from linuxcnc like where i can get or put >> the data. > > Dewey added an interface. I'll be honest and say that it isn't how I > would have done it. But I didn't do it so.... > > https://linuxcnc.org/docs/devel/html/tooldatabase/tooldatabase.html >
I was looking at these tables, and beside that table names are written in plural form, the tools table with entries toolID TEXT PRIMARY KEY, T_number INTEGER, As this is described, it seems to me that toolID really is a description, and T_number could be used as the primary key, like so toolID INTEGER PRIMARY KEY, -- alias T_number description TEXT Does this suggestion has any unintended side effect? Not completely sure the reasoning behind the original table layout. Håvard _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers