Hello Guest it is June 20, 2021, 09:43:59 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Discret68

Pages: 1
1
Hi Craig and thanks for your answer.

I understand easily that it can be a frustration if no list exists. That's what happens to me.

But if everyone is forced to build a list, a lot of energy is lost and the software loses interest. And besides, we can not develop if we do not even know the list of functions. We walk on the head (French expression).

There is nothing worse than software that can develop things but for which there is no documentation that goes with it.

I looked at the LUA documentation, but I do not see the correspondence with the functions of Mach4. Example, I want to test the status of a toggle button and I can not find any information about it. I lose hours and I do not move.

Jean-Pierre

2
Oops! Duplicate message. Sorry, but since this is my first message and my computer crashed, I returned the message a second time.

3
Hello

I modified a milling machine BF30 Optimum by adding a motorization on the 3 axes as well as for the turntable. I use a Pokeys57cnc and 4 drivers PoStep60_256.

I have been running Mach4 for a while and everything works with GCode programs.

Since I do a lot of development in VB.net (I master the programming), I started to modify the screen of Mach4 to add personal features.

I read "Mach4 Screen Editor V1.0" and "Mach4 LUA Scripting Manual". I saw that in the help of the script editor, there is the list and definition of Mach core API functions (mc.*********x).

When I look at some examples of scripts, I see that there are wx functions. (ex: wx.wxPanel, wx.wxMessageBox, ...), functions str.********* (ex: scr.SetProperty, scr.ExecMdi, ...). And maybe others!

Where can I find the list of all these functions (wx, str, ...) with the syntax and parameters to use?

Thank you all for your help.

Jean-Pierre

4
Hello

I modified a milling machine BF30 Optimum by adding a motorization on the 3 axes as well as for the turntable. I use a Pokeys57cnc and 4 drivers PoStep60_256.

I have been running Mach4 for a while and everything works with GCode programs.

Since I do a lot of development in VB.net (I master the programming), I started to modify the screen of Mach4 to add personal features.

I read "Mach4 Screen Editor V1.0" and "Mach4 LUA Scripting Manual". I saw that in the help of the script editor, there is the list and definition of Mach core API functions (mc.).

When I look at some examples of scripts, I see that there are wx functions. (ex: wx.wxPanel, wx.wxMessageBox, ...), functions str (ex: scr.SetProperty, scr.ExecMdi, ...). And maybe others!

Where can I find the list of all these functions (wx, str, ...) with the syntax and parameters to use?

Thank you all for your help.

Jean-Pierre

Pages: 1