HI,
as I said you chose the hardest thing to start with....why? Can you not avoid having to use a wxWidget?
Can you not find an existing wxWidget that does what you want that you can copy?
Presumably if you include an m6() macro call in your Gcode file you want to change tools? Why then do you need to stop and ask the operator?
Is it not redundant?
As it turns out wxWidgets, at least the simple ones that we Mach hobbyists are likely to use, are actually fairly simple....but, and this is the big but......
they still have to be learned. With a concerted effort and some coaching you could be up and running crafting your own widgets in 6 to 10 hours or
so. Most people get really pissed off and walk away long before they learn what needs be learnt and seem to imagine that developing CNC software
should be a s easy as falling off a log. Spoiler....ITS NOT!! Ask yourself the question 'am I the sort of person who gets 'stuck in' and masters challenges or am I the sort
of person who whinges because it does not fall into place automatically?'
As I have said before and I will repeat it, 'the simplest way to include a widget in your code is to find an existing widget which is close and then modify it.'
That is exactly what I did and started from there. I have used wxFormBuilder a few times since then, but still have only a sketchy understanding of it....but I can
with care and patience use it to craft some bloody nifty widgets, even if I do say so myself. Total investment of my time ......guessing 20 hours.
May I suggest you think about an m6() macro that does not require a widget. That is not to say that operator input cannot be used. For instance you might wish to
manually jog to a tool change location, Mach can do that, and all it requires is a <Cycle Start> button press to resume its automatic operation once you have jogged to the required location.
They could have created at least one team to which to make paid script requests.... too bad!!!.
They do, NFS do write code for people and get paid for it including Mach4Hobby and Mach4Industrial.
If you have paid for Mach4Industrial you'll find that NFS roll out the red carpet for you, the extra support is the most substantial extra cost of Industrial.
Unless I'm much mistaken you don't really need that sort of help...you just need to start writing your own code, but do yourself a favor and leave out wxWidgets to start with!
Craig