(Originally posted to the dev list, but there appear to be no opinions on the matter there)
So, having started to think about how a database-based tool table might work (As background, the currently tool table only supports 56 tools, because that is what will fit in an NML message. Any module that wants tool info gets sent the whole tool table. If we wanted to add separate wear offsets, then we would probably have a 20 tool limit. There has been talk for a while of keeping the tools in a database as one way t circumvent this limit.) Each tool has a number of characteristics: Tool number. Can more than one tool of the same tool-number exist? Redis wants a unique key for each entry. Do we make the key be the tool number, or keep it separate? (ie, find the tool with number 1, then return the diameter of that tool, or simply return the tool:1:diameter?). I can see how you might want a database of named tools, and just change their allocated T-number to suit. I can also see that mandating unique T-numbers would be reasonable. The interface to G-code is likely to always be a numeric tool number. Pocket Number. I think more than 1 tool can share a pocket (gang tooling, or alternative tool-sets). Currently pocket-zero is the spindle. How do we handle tools that are not currently available? (Pocket "none" might work) Each tool can probably have geometry and wear offsets in XYZ/UVW. Do we need geometry offsets in ABC? How about wear offsets? Diameter/Radius Front Angle / Back Angle Comment. Nose radius? Might be useful for clever kins or cutting simulation in the future. SFM? Material? Insert code? Or are those all comments? With something database-y it seems we can add values simply as and when required. Then the tool-editor(s) can simply access what they want and not even notice the rest. So there is a subset of things that need to be available for current code, and then a number of items that might be added for future modules (automated insert ordering based on logged usage....) It is even possible that the tool editor might be allowed to add extra columns. (there is an INI file option to hide irrelevant columns, why not allow people to add ones too?) -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users