Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: dbt3000files on April 30, 2018, 03:11:02 PM

Title: editing feed and speed wizard?
Post by: dbt3000files on April 30, 2018, 03:11:02 PM
I would like to get into the lua code for the speed and feed wizard so I can see how the tabs and tables are laid out, but when I open it in the Lua editor, all I see is one bit of code:

EscLuaR.

Does anyone know how to see the code for this file?
Thanks,
David
Title: Re: editing feed and speed wizard?
Post by: joeaverage on April 30, 2018, 07:47:17 PM
Hi,
I rather suspect that code is not publicly available.

Try asking NFS.

Craig
Title: Re: editing feed and speed wizard?
Post by: joeaverage on May 02, 2018, 08:06:46 AM
Hi,
I've just been fiddling round with some code and I attempted to open a compiled script (extension .mcc) with the new Zero Brane editor and it comes back EscLuaR.

The Feed and Speed script/module/chunk that you tried to open is already compiled so no editor will open it. If there is a decompiler fo Lua I've never seen it and you lose
so much readability that its dubious that you'd get anything useful from it anyway.

Its a classic way to stop people from stealing your source code, once its compiled it can still be used, or rather it is in prime condition for use and can be copied but no-one, except
a few computer geeks, can decompile and see all your trickery.

Craig
Title: Re: editing feed and speed wizard?
Post by: dbt3000files on May 04, 2018, 05:14:05 PM
Ok, cool, that makes sense. Thanks for your help with that!

I found a good example of using tabs with LUA using the wxnotebook widget here: https://github.com/LuaDist/wxlua/blob/master/samples/choices.wx.lua (https://github.com/LuaDist/wxlua/blob/master/samples/choices.wx.lua)

That's basically what I was looking for and hopefully it will be of help to someone.

Title: Re: editing feed and speed wizard?
Post by: joeaverage on May 04, 2018, 05:36:01 PM
Hi,
I use HSM Advisor for speeds and feeds, its standalone but I liked it that much I bought it.

Craig