Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: barkbomes9 on May 05, 2020, 12:33:40 AM
-
There were various open source screens and other forms of useful and innovative content for Mach 3, does anything like that exist for Mach 4? I remember, for example, a probing code snippet/routine for edge finding in Mach 3 by a user named Squirrel on another forum. Thanks for your help!
-
Hi,
download Mach4 and find that there are a large number of macros and complete modules that are source files
and intended that they be used, either as excerpts or complete, by users for their own purposes.
Craig
-
I don't know of many screen sets floating about, but there are lots of scripting examples and information installed by Mach4 in the folder:
/Mach4Hobby/LuaExamples
-
Also have a look at the wizards. I did the bolt hole wizard in a way to show how you can make a wizard with limited programming knowledge. It looks a bit nasty at first but you will see that it will automatically make the dialog layout for you. If you follow that example it can be pasted into a Lua panel in the screen designer as well. It could be used to make a nice probe wizard or other control. If you want to be overwhelmed with code have a look at all the font engraving code. This is all on the modules addons directory. It is really cool but it gets deep fast.
-
A short video using wxFormBuilder to create a form/listbox/... and then showing how to insert that into a panel would go a long way to help us understand how to use lua in panels. I sent Bryanna an email about a year ago suggesting this.
RT
-
I will have the guys make one :)