Le lun. 20 juin 2022 à 10:26, andy pugh <bodge...@gmail.com> a écrit :
> On Sun, 19 Jun 2022 at 08:35, Håvard F. Aasen via Emc-developers > <emc-developers@lists.sourceforge.net> wrote: > > > You have to bear in mind how the tools are called up from the G-code. > > M6 T6 > > There is only a single integer passed to whatever selects the tool. > Anyone who has had the chance to work on a controller that allows to manage tools by name can't forget that! 😭😅 Which makes me wonder it that could be done with remapping and a bit of Python 🤔 And if T6 is a 6mm square ended milling cutter (for example) it is > quite likely that you don't care _which_ 6mm square ended cutter you > get. > That can be in most cases, but i can also manage different variants of same type and want, at times, to specify the exact type to the op for that funky part at hand. > So, the tool _number_ as associated with the G-code T-command is very > deliberately _not_ a key but a "property." > I think that number is really a pocket_id in a tool_magazine to which is associated a tool_id, which in turn has a tool_number... Properly indeed! Which makes me think that this tool_number may better be an alphanumerical tool_code. TY J _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers