Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: Westy619 on April 23, 2022, 06:58:47 AM
-
Hi guys, new user here with next to no Lua coding experience.
My machines spoilboard has a bench dog grid similar to an mft table top. This means that assuming my stock is square, I can position it against the dogs and the corner will be in a specific x and y point depending in where on the grid the stock is.
I've slready setup an auto z button for myself but I would also like to be able to go into a drop down menu and choose from a list of these known locationd on the spoilboard. When a selection is made, the x and y zero points should update.
Any advice on how I could achieve this?
Thanks
-
If you want to do some Lua just make a button on your screen not a drop down.
Here is something to help you start in the Lua.
https://www.machsupport.com/forum/index.php?topic=45397.msg289143#msg289143